Salome HOME
Sources formated according to the codeing standards
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultBody.h
index 09ce4d6b0f6225b78242ae107ce7632b47079e5f..c2eff7efcfa22b68d049d9b235045d75860b7a4f 100644 (file)
@@ -2,12 +2,14 @@
 // Created:     07 Jul 2014
 // Author:      Mikhail PONIKAROV
 
-#ifndef ModelAPI_ResultBody_HeaderFile
-#define ModelAPI_ResultBody_HeaderFile
+#ifndef ModelAPI_ResultBody_H_
+#define ModelAPI_ResultBody_H_
 
 #include "ModelAPI_Result.h"
 #include <GeomAPI_Shape.h>
 
+#include <string>
+
 /**\class ModelAPI_ResultBody
  * \ingroup DataModel
  * \brief The body (shape) result of a feature.
  */
 class ModelAPI_ResultBody : public ModelAPI_Result
 {
-public:
+ public:
   /// Returns the group identifier of this result
   virtual std::string groupName()
-    { return group(); }
+  {
+    return group();
+  }
 
   /// Returns the group identifier of this result
   static std::string group()
-  {static std::string MY_GROUP = "Bodies"; return MY_GROUP;}
+  {
+    static std::string MY_GROUP = "Bodies";
+    return MY_GROUP;
+  }
 
   /// Stores the shape (called by the execution method).
   virtual void store(const boost::shared_ptr<GeomAPI_Shape>& theShape) = 0;
@@ -33,13 +40,16 @@ public:
   virtual boost::shared_ptr<GeomAPI_Shape> shape() = 0;
 
   /// To virtually destroy the fields of successors
-  virtual ~ModelAPI_ResultBody() {}
+  virtual ~ModelAPI_ResultBody()
+  {
+  }
 
-protected:
+ protected:
   /// Use plugin manager for features creation: this method is 
   /// defined here only for SWIG-wrapping
   ModelAPI_ResultBody()
-  {}
+  {
+  }
 };
 
 //! Pointer on feature object