class MathMacroTemplate;
-/// This class contains the data for a macro
+/** This class contains the data for a macro
+ \author Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
+ \version November 1996
+ */
class MathMacro : public MathParInset
{
public:
///
MathedRowSt * getRowSt() const;
///
- void SetData(MathedArray *);
+ void setData(MathedArray *);
///
MathedTextCodes getTCode() const;
///
bool Permit(short) const;
private:
///
- MathMacroTemplate * tmplate;
+ MathMacroTemplate * tmplate_;
///
struct MacroArgumentBase {
/// Position of the macro
///
MathedArray * array;
///
- MacroArgumentBase() { x = y = 0; array = 0; row = 0; }
+ MacroArgumentBase()
+ : x(0), y(0), row(0), array(0)
+ {}
};
std::vector<MacroArgumentBase> args_;
///
- int idx;
- ///
- int nargs;
+ int idx_;
///
- MathedTextCodes tcode;
+ int nargs_;
///
- friend class MathMacroTemplate;
+ MathedTextCodes tcode_;
};
#endif