+ /// Returns all attributes ofthe feature of the given type
+ /// or all attributes if "theType" is empty
+ virtual std::list<boost::shared_ptr<ModelAPI_Attribute> >
+ attributes(const std::string theType) = 0;
+ /// Identifier by the id (not fast, iteration by map)
+ /// \param theAttr attribute already created in this data
+ virtual const std::string& id(const boost::shared_ptr<ModelAPI_Attribute> theAttr) = 0;
+ /// Returns true if data belongs to same features
+ virtual bool isEqual(const boost::shared_ptr<ModelAPI_Data> theData) = 0;
+ /// Returns true if it is correctly connected t othe data model
+ virtual bool isValid() = 0;