X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomDataAPI%2FGeomDataAPI_Point.h;h=08ee73951847765c0baad42f1d07d06bc54ad379;hb=8dc74f82810d5f597b78633b457efb0ef4f89f9f;hp=5f08bde0264495703c61458ffacf5002b7aff05f;hpb=8a9a3ae0793503abf21a2c1b0a08d47d85449fc4;p=modules%2Fshaper.git diff --git a/src/GeomDataAPI/GeomDataAPI_Point.h b/src/GeomDataAPI/GeomDataAPI_Point.h index 5f08bde02..08ee73951 100644 --- a/src/GeomDataAPI/GeomDataAPI_Point.h +++ b/src/GeomDataAPI/GeomDataAPI_Point.h @@ -2,8 +2,8 @@ // Created: 24 Apr 2014 // Author: Mikhail PONIKAROV -#ifndef GeomDataAPI_Point_HeaderFile -#define GeomDataAPI_Point_HeaderFile +#ifndef GeomDataAPI_Point_H_ +#define GeomDataAPI_Point_H_ #include "GeomDataAPI.h" #include @@ -17,7 +17,7 @@ class GeomAPI_Pnt; class GeomDataAPI_Point : public ModelAPI_Attribute { -public: + public: /// Defines the double value virtual void setValue(const double theX, const double theY, const double theZ) = 0; /// Defines the point @@ -33,15 +33,22 @@ public: virtual boost::shared_ptr pnt() = 0; /// Returns the type of this class of attributes - static inline std::string type() {return std::string("Point");} + static inline std::string type() + { + return std::string("Point"); + } /// 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_Point() - {} + { + } }; #endif