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 //--------------------------------------------------------------------------------------
14 #include <boost/variant.hpp>
15 //--------------------------------------------------------------------------------------
16 class ModelAPI_AttributeDouble;
17 //--------------------------------------------------------------------------------------
21 class ModelHighAPI_Double
24 ModelHighAPI_Double();
25 ModelHighAPI_Double(double theValue);
26 ModelHighAPI_Double(const std::string & theValue);
27 ModelHighAPI_Double(const char * theValue);
28 virtual ~ModelHighAPI_Double();
30 virtual void fillAttribute(std::shared_ptr<ModelAPI_AttributeDouble> & theAttribute) const;
33 boost::variant<double, std::string> myValue;
36 //--------------------------------------------------------------------------------------
37 //--------------------------------------------------------------------------------------
38 #endif /* SRC_MODELHIGHAPI_MODELHIGHAPI_DOUBLE_H_ */