Salome HOME
Working with pre-selection in all operations
[modules/shaper.git] / src / GeomDataAPI / GeomDataAPI_Point2D.h
index f5eb429382bffd9528137114adb9ed7b70938345..6189e87d21ab221a2945c6fe792b37064e1f664e 100644 (file)
@@ -2,8 +2,8 @@
 // Created:     24 Apr 2014
 // Author:      Mikhail PONIKAROV
 
-#ifndef GeomDataAPI_Point2D_HeaderFile
-#define GeomDataAPI_Point2D_HeaderFile
+#ifndef GeomDataAPI_Point2D_H_
+#define GeomDataAPI_Point2D_H_
 
 #include "GeomDataAPI.h"
 #include <ModelAPI_Attribute.h>
@@ -17,7 +17,7 @@ class GeomAPI_Pnt2d;
 
 class GeomDataAPI_Point2D : public ModelAPI_Attribute
 {
-public:
+ public:
   /// Defines the double value
   virtual void setValue(const double theX, const double theY) = 0;
   /// Defines the point
@@ -31,15 +31,22 @@ public:
   virtual boost::shared_ptr<GeomAPI_Pnt2d> pnt() = 0;
 
   /// Returns the type of this class of attributes
-  static inline std::string type() {return std::string("Point2D");}
+  static inline std::string type()
+  {
+    return std::string("Point2D");
+  }
 
   /// Returns the type of this class of attributes, not static method
-  virtual std::string attributeType() {return type();}
+  virtual std::string attributeType()
+  {
+    return type();
+  }
 
-protected:
+ protected:
   /// Objects are created for features automatically
   GeomDataAPI_Point2D()
-  {}
+  {
+  }
 };
 
 #endif