1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2 // Name : ModelHighAPI_Double.h
6 // 29/03/16 - Sergey POKHODENKO - Creation of the file
8 #ifndef SRC_MODELHIGHAPI_MODELHIGHAPI_DOUBLE_H_
9 #define SRC_MODELHIGHAPI_MODELHIGHAPI_DOUBLE_H_
11 //--------------------------------------------------------------------------------------
12 #include "ModelHighAPI.h"
16 //--------------------------------------------------------------------------------------
17 class ModelAPI_AttributeDouble;
18 //--------------------------------------------------------------------------------------
19 /**\class ModelHighAPI_Double
21 * \brief Class for filling ModelAPI_AttributeDouble
23 class ModelHighAPI_Double
26 /// Constructor for double
28 ModelHighAPI_Double(double theValue = 0.);
29 /// Constructor for std::string
31 ModelHighAPI_Double(const std::string & theValue);
32 /// Constructor for char *
34 ModelHighAPI_Double(const char * theValue);
37 virtual ~ModelHighAPI_Double();
39 /// Fill attribute values
41 virtual void fillAttribute(const std::shared_ptr<ModelAPI_AttributeDouble> & theAttribute) const;
44 enum VariantType { VT_DOUBLE, VT_STRING } myVariantType;
49 //--------------------------------------------------------------------------------------
50 //--------------------------------------------------------------------------------------
51 #endif /* SRC_MODELHIGHAPI_MODELHIGHAPI_DOUBLE_H_ */