X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_ResultParameters.h;h=3b8bd1535e94112f2a4935ab32f1a00132988fb9;hb=e3c21b331e4ec138aec5efcb51e19d6afee46193;hp=509e064ea1158da0dc74a74219b0e515e8d34e8e;hpb=2c4f7de06341fa7af89f47ba405fe188f13e3600;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_ResultParameters.h b/src/ModelAPI/ModelAPI_ResultParameters.h index 509e064ea..3b8bd1535 100644 --- a/src/ModelAPI/ModelAPI_ResultParameters.h +++ b/src/ModelAPI/ModelAPI_ResultParameters.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_ResultParameters.h // Created: 07 Jul 2014 // Author: Vitaly SMETANNIKOV @@ -16,17 +18,22 @@ */ class ModelAPI_ResultParameters : 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 = "Parameters"; return MY_GROUP;} + inline static std::string group() + { + static std::string MY_GROUP = "Parameters"; + return MY_GROUP; + } }; //! Pointer on feature object -typedef boost::shared_ptr ResultParametersPtr; +typedef std::shared_ptr ResultParametersPtr; #endif