X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_ResultGroup.h;h=365445f4d6d3c30edb6ff214f4104a55345d870a;hb=b900918cef83bb82217e7221c7ff0ad9d8a6dbe9;hp=a8b183c12c62f4b10643f3a92650a7256a1572f3;hpb=0f05d006a106e11da67743ac851ab6c6170eb80c;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_ResultGroup.h b/src/ModelAPI/ModelAPI_ResultGroup.h index a8b183c12..365445f4d 100644 --- a/src/ModelAPI/ModelAPI_ResultGroup.h +++ b/src/ModelAPI/ModelAPI_ResultGroup.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_ResultGroup.hxx // Created: 07 Jul 2014 // Author: Mikhail PONIKAROV @@ -7,7 +9,7 @@ #include "ModelAPI_Result.h" #include -#include +#include #include /**\class ModelAPI_ResultGroup @@ -19,24 +21,20 @@ class ModelAPI_ResultGroup : public ModelAPI_Result { public: + MODELAPI_EXPORT virtual ~ModelAPI_ResultGroup(); /// Returns the group identifier of this result - virtual std::string groupName() - { - return group(); - } + MODELAPI_EXPORT virtual std::string groupName(); /// Returns the group identifier of this result - static std::string group() + inline static std::string group() { static std::string MY_GROUP = "Groups"; return MY_GROUP; } - /// Returns the compound of selected entities - virtual boost::shared_ptr shape() const = 0; }; //! Pointer on feature object -typedef boost::shared_ptr ResultGroupPtr; +typedef std::shared_ptr ResultGroupPtr; #endif