#include <memory>
#include <string>
-
-#include <boost/variant.hpp>
//--------------------------------------------------------------------------------------
class ModelAPI_AttributeDouble;
//--------------------------------------------------------------------------------------
virtual void fillAttribute(const std::shared_ptr<ModelAPI_AttributeDouble> & theAttribute) const;
private:
- boost::variant<double, std::string> myValue;
+ enum VariantType { VT_DOUBLE, VT_STRING } myVariantType;
+ double myDouble;
+ std::string myString;
};
//--------------------------------------------------------------------------------------