]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_root.h
make doc++ able to generate the source documentation for lyx
[features.git] / src / mathed / math_root.h
index ee2d30c311f4836e7614adea02e06bbafb38ad5f..5a8aa95bc48e4d686ba0015f4878085760f08762 100644 (file)
 #include "symbol_def.h"
 #include "LString.h"
 
-
 ///
 class MathRootInset: public MathSqrtInset {
- public:
+public:
     ///
+    explicit
     MathRootInset(short st = LM_ST_TEXT);
     ///
-    //    MathRootInset(MathSqrtInset &);
-    ///
     ~MathRootInset();
     ///
     MathedInset * Clone();
     ///
     void draw(Painter &, int x, int baseline);
     ///
-    void Write(ostream &);
-       
-#ifndef USE_OSTREAM_ONLY
-    ///
-    void Write(string & file);
-#endif
-       
+    void Write(std::ostream &, bool fragile);
     ///
     void Metrics();
     ///
@@ -55,7 +47,7 @@ class MathRootInset: public MathSqrtInset {
     ///
     void SetData(LyxArrayBase *);
     ///
-    void GetXY(int& x, int& y) const;
+    void GetXY(int & x, int & y) const;
     ///
     LyxArrayBase * GetData();
     ///
@@ -67,7 +59,7 @@ class MathRootInset: public MathSqrtInset {
     ///
     void  SetStyle(short);
 
- protected:
+protected:
     ///
     int idx;
     ///