1 // Name : ModelHighAPI_Double.h
5 // 29/03/16 - Sergey POKHODENKO - Creation of the file
7 #ifndef SRC_MODELHIGHAPI_MODELHIGHAPI_DOUBLE_H_
8 #define SRC_MODELHIGHAPI_MODELHIGHAPI_DOUBLE_H_
10 //--------------------------------------------------------------------------------------
11 #include "ModelHighAPI.h"
15 //--------------------------------------------------------------------------------------
16 class ModelAPI_AttributeDouble;
17 //--------------------------------------------------------------------------------------
18 /**\class ModelHighAPI_Double
20 * \brief Class for filling ModelAPI_AttributeDouble
22 class ModelHighAPI_Double
25 /// Constructor for double
27 ModelHighAPI_Double(double theValue = 0.);
28 /// Constructor for std::string
30 ModelHighAPI_Double(const std::string & theValue);
31 /// Constructor for char *
33 ModelHighAPI_Double(const char * theValue);
36 virtual ~ModelHighAPI_Double();
38 /// Fill attribute values
40 virtual void fillAttribute(const std::shared_ptr<ModelAPI_AttributeDouble> & theAttribute) const;
43 enum VariantType { VT_DOUBLE, VT_STRING } myVariantType;
48 //--------------------------------------------------------------------------------------
49 //--------------------------------------------------------------------------------------
50 #endif /* SRC_MODELHIGHAPI_MODELHIGHAPI_DOUBLE_H_ */