X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_AttributeSelectionList.h;h=fec280f37ece835150537c58ec98a6e44d01ffd7;hb=031fb5e7c551e695afa72a9de299f118a40d8d88;hp=aef9046aef1966e13a198fcfc859f248c08d0df2;hpb=5e2e5c8e92f1d022158ef717c711a8ea79e5dd13;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_AttributeSelectionList.h b/src/ModelAPI/ModelAPI_AttributeSelectionList.h index aef9046ae..fec280f37 100644 --- a/src/ModelAPI/ModelAPI_AttributeSelectionList.h +++ b/src/ModelAPI/ModelAPI_AttributeSelectionList.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_AttributeSelectionList.h // Created: 22 Oct 2014 // Author: Mikhail PONIKAROV @@ -18,8 +20,8 @@ class ModelAPI_AttributeSelectionList : public ModelAPI_Attribute { public: /// Adds the new reference to the end of the list - virtual void append( - const ResultPtr& theContext, const boost::shared_ptr& theSubShape) = 0; + virtual void append(const ResultPtr& theContext, + const GeomShapePtr& theSubShape) = 0; /// Returns the number ofselection attributes in the list virtual int size() = 0; @@ -29,7 +31,7 @@ class ModelAPI_AttributeSelectionList : public ModelAPI_Attribute virtual void setSelectionType(int) = 0; /// Returns the attribute selection by the index (zero based) - virtual boost::shared_ptr value(const int theIndex) = 0; + virtual std::shared_ptr value(const int theIndex) = 0; /// Returns all attributes virtual void clear() = 0; @@ -59,6 +61,6 @@ class ModelAPI_AttributeSelectionList : public ModelAPI_Attribute }; //! Pointer on double attribute -typedef boost::shared_ptr AttributeSelectionListPtr; +typedef std::shared_ptr AttributeSelectionListPtr; #endif