Salome HOME
Implementation of Point feature (without computation of result yet) plus some debug...
[modules/shaper.git] / src / ModelAPI / ModelAPI_Object.h
index 490e5617ac77205b85adf6c2c4b9b370db57f3fc..7f78a35ce277e7b98bb3ae200087394094398b61 100644 (file)
@@ -10,6 +10,7 @@
 #include <memory>
 
 class ModelAPI_AttributeDocRef;
+class ModelAPI_AttributeDouble;
 
 /**\class ModelAPI_Object
  * \ingroup DataModel
@@ -29,6 +30,8 @@ public:
 
   /// Returns the attribute that references to another document
   virtual std::shared_ptr<ModelAPI_AttributeDocRef> docRef(const std::string theID) = 0;
+  /// Returns the attribute that contains real value with double precision
+  virtual std::shared_ptr<ModelAPI_AttributeDouble> real(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