class ModelAPI_AttributeDocRef;
class ModelAPI_AttributeDouble;
class ModelAPI_Document;
+class ModelAPI_Attribute;
/**\class ModelAPI_Data
* \ingroup DataModel
/// Returns the attribute that contains real value with double precision
virtual boost::shared_ptr<ModelAPI_AttributeDouble> real(const std::string theID) = 0;
+ /// Returns the generic attribute by identifier
+ /// \param theID identifier of the attribute
+ virtual boost::shared_ptr<ModelAPI_Attribute> attribute(const std::string theID) = 0;
+
/// Initializes object by the attributes: must be called just after the object is created
/// for each attribute of the object
/// \param theID identifier of the attribute that can be referenced by this ID later