X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomDataAPI%2FGeomDataAPI_Point2D.h;h=6189e87d21ab221a2945c6fe792b37064e1f664e;hb=c533d1d93579c5841081a310616b1e232baa23c6;hp=f5eb429382bffd9528137114adb9ed7b70938345;hpb=98be939e3a6c58498b6dd763301d3e5fa50bf397;p=modules%2Fshaper.git diff --git a/src/GeomDataAPI/GeomDataAPI_Point2D.h b/src/GeomDataAPI/GeomDataAPI_Point2D.h index f5eb42938..6189e87d2 100644 --- a/src/GeomDataAPI/GeomDataAPI_Point2D.h +++ b/src/GeomDataAPI/GeomDataAPI_Point2D.h @@ -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 @@ -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 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