X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModel%2FModel_ResultGroup.h;h=e6e4a15b827bc76fec763098ae35f3413d9c2ee9;hb=05cb54cb247bda099b1dc9218e3382e79becb40c;hp=7703dd4360c6f90bcdfccb3ce1c6fa9e1eeefdc7;hpb=0fcae5b2e143e67306603d26f0b5e01cbe33d2bb;p=modules%2Fshaper.git diff --git a/src/Model/Model_ResultGroup.h b/src/Model/Model_ResultGroup.h index 7703dd436..e6e4a15b8 100644 --- a/src/Model/Model_ResultGroup.h +++ b/src/Model/Model_ResultGroup.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: Model_ResultGroup.h // Created: 08 Jul 2014 // Author: Mikhail PONIKAROV @@ -8,7 +10,7 @@ #include "Model.h" #include -/**\class ModelAPI_ResultGroup +/**\class Model_ResultGroup * \ingroup DataModel * \brief The groups result. * @@ -16,19 +18,24 @@ */ class Model_ResultGroup : public ModelAPI_ResultGroup { - boost::shared_ptr myOwnerData; ///< data of owner of this result + std::shared_ptr myOwnerData; ///< data of owner of this result public: + + /// Retuns the parameters of color definition in the resources config manager + MODEL_EXPORT virtual void colorConfigInfo(std::string& theSection, std::string& theName, + std::string& theDefault); + /// Returns the compound of selected entities - MODEL_EXPORT virtual boost::shared_ptr shape(); + MODEL_EXPORT virtual std::shared_ptr shape(); /// Removes the stored builders MODEL_EXPORT virtual ~Model_ResultGroup() {} protected: /// Makes a body on the given feature data - Model_ResultGroup(boost::shared_ptr theOwnerData); + Model_ResultGroup(std::shared_ptr theOwnerData); - friend class Model_Document; + friend class Model_Objects; }; #endif