X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomData%2FGeomData_Dir.h;h=0080ffbc6df16c357a0c95ff11475b592b34b861;hb=647f62a71de86575a6c5ac73c61371d336c8da75;hp=1b6dd6c64bf9090060cc596fcd69533c6bc204df;hpb=73c02c2103a34ec5d2ac48a345757dee0e0d42f9;p=modules%2Fshaper.git diff --git a/src/GeomData/GeomData_Dir.h b/src/GeomData/GeomData_Dir.h index 1b6dd6c64..0080ffbc6 100644 --- a/src/GeomData/GeomData_Dir.h +++ b/src/GeomData/GeomData_Dir.h @@ -1,15 +1,17 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomData_Dir.h // Created: 24 Apr 2014 // Author: Mikhail PONIKAROV -#ifndef GeomData_Dir_HeaderFile -#define GeomData_Dir_HeaderFile +#ifndef GeomData_Dir_H_ +#define GeomData_Dir_H_ #include "GeomData.h" #include "GeomDataAPI_Dir.h" #include #include -#include +#include class GeomAPI_Dir; @@ -19,12 +21,12 @@ class GeomAPI_Dir; */ class GeomData_Dir : public GeomDataAPI_Dir { - Handle_TDataStd_RealArray myCoords; ///< X, Y and Z doubles as real array attribute [0; 2] -public: + Handle_TDataStd_RealArray myCoords; ///< X, Y and Z doubles as real array attribute [0; 2] + public: /// Defines the double value GEOMDATA_EXPORT virtual void setValue(const double theX, const double theY, const double theZ); /// Defines the direction - GEOMDATA_EXPORT virtual void setValue(const boost::shared_ptr& theDir); + GEOMDATA_EXPORT virtual void setValue(const std::shared_ptr& theDir); /// Returns the X double value GEOMDATA_EXPORT virtual double x() const; @@ -33,9 +35,9 @@ public: /// Returns the Z double value GEOMDATA_EXPORT virtual double z() const; /// Returns the direction of this attribute - GEOMDATA_EXPORT virtual boost::shared_ptr dir(); + GEOMDATA_EXPORT virtual std::shared_ptr dir(); -protected: + protected: /// Initializes attributes GEOMDATA_EXPORT GeomData_Dir(TDF_Label& theLabel);