28 #ifndef TypedValue_hpp 29 #define TypedValue_hpp 35 #include <SketchUpAPI/model/typed_value.h> 47 SUTypedValueRef m_typed_value;
53 static SUTypedValueRef create_typed_value();
57 TypedValue(SUTypedValueRef typed_val,
bool attached =
false);
67 SUTypedValueRef ref()
const;
68 operator SUTypedValueRef();
69 operator SUTypedValueRef*();
93 operator char()
const;
102 operator int16_t()
const;
111 operator int32_t()
const;
120 operator float()
const;
129 operator double()
const;
138 operator bool()
const;
147 operator Color()
const;
156 operator int64_t()
const;
167 operator std::string()
const;
187 operator std::vector<TypedValue>()
const;
194 friend bool operator== (
const TypedValue &val1,
const TypedValue &val2);
195 friend bool operator!= (
const TypedValue &val1,
const TypedValue &val2);
TypedValue & operator=(const TypedValue &other)
double double_value() const
float float_value() const
int64_t time_value() const
std::vector< TypedValue > typed_value_array() const
Color color_value() const
int32_t int32_value() const
friend bool operator==(const TypedValue &val1, const TypedValue &val2)
SUTypedValueType get_type() const
Vector3D vector_value() const
String string_value() const
int16_t int16_value() const