X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelHighAPI%2FModelHighAPI_Interface.h;h=7c9774e3aa540cbde44096bb82aa02013e24f41d;hb=2054879244f3323c305222c79c57d2db6a487538;hp=43d267642b495617a8b0c65c34d9f60d09578aa6;hpb=e151691ef2dae3825508a710331a11c81205f05e;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/ModelHighAPI_Interface.h b/src/ModelHighAPI/ModelHighAPI_Interface.h index 43d267642..7c9774e3a 100644 --- a/src/ModelHighAPI/ModelHighAPI_Interface.h +++ b/src/ModelHighAPI/ModelHighAPI_Interface.h @@ -1,5 +1,6 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D // Name : ModelHighAPI_Interface.h -// Purpose: +// Purpose: // // History: // 17/05/16 - Sergey POKHODENKO - Creation of the file @@ -57,10 +58,13 @@ public: MODELHIGHAPI_EXPORT void setName(const std::string& theName); - // TODO(spo): rename to selectAll() + /// Return firts object of the feature + MODELHIGHAPI_EXPORT + virtual ModelHighAPI_Selection result() const; + /// Return all objects of the feature MODELHIGHAPI_EXPORT - virtual std::list result() const; + virtual std::list results() const; /// Return default result. Default implementation feature()->lastResult() MODELHIGHAPI_EXPORT @@ -79,7 +83,7 @@ public: virtual void dump(ModelHighAPI_Dumper& theDumper) const {} protected: - std::shared_ptr myFeature; + std::shared_ptr myFeature; ///< feature of this interface std::map myAttrGetter; ///< names of attributes and their getters };