]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macro.h
small cleanup, doxygen, formatting changes
[lyx.git] / src / mathed / math_macro.h
index a250e98299ef1e72c988e03d1f398299536763ad..f44ac9de5a132f85e9f7c275eb1eda116d02fdf5 100644 (file)
 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:
@@ -64,14 +67,14 @@ 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
@@ -83,16 +86,16 @@ private:
                ///
                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