SUAPI-CppWrapper
C++WrapperforSketchUpCAPI
|
Public Member Functions | |
TypedValue (SUTypedValueRef typed_val, bool attached=false) | |
TypedValue (const TypedValue &other) | |
TypedValue & | operator= (const TypedValue &other) |
SUTypedValueRef | ref () const |
operator SUTypedValueRef () | |
operator SUTypedValueRef * () | |
bool | operator! () const |
bool | empty () const |
SUTypedValueType | get_type () const |
char | byte_value () const |
TypedValue & | byte_value (const char byte_val) |
operator char () const | |
TypedValue (const char byte_val) | |
int16_t | int16_value () const |
TypedValue & | int16_value (const int16_t int16_val) |
operator int16_t () const | |
TypedValue (const int16_t int16_val) | |
int32_t | int32_value () const |
TypedValue & | int32_value (const int32_t int32_val) |
operator int32_t () const | |
TypedValue (const int32_t int32_val) | |
float | float_value () const |
TypedValue & | float_value (const float float_val) |
operator float () const | |
TypedValue (const float float_val) | |
double | double_value () const |
TypedValue & | double_value (const double double_val) |
operator double () const | |
TypedValue (const double double_val) | |
bool | bool_value () const |
TypedValue & | bool_value (bool bool_val) |
operator bool () const | |
TypedValue (const bool bool_val) | |
Color | color_value () const |
TypedValue & | color_value (const Color &color_val) |
operator Color () const | |
TypedValue (const Color &color_val) | |
int64_t | time_value () const |
TypedValue & | time_value (int64_t time_val) |
operator int64_t () const | |
TypedValue (const int64_t time_value) | |
String | string_value () const |
TypedValue & | string_value (const String &string_val) |
TypedValue & | string_value (const std::string &string_val) |
operator String () const | |
operator std::string () const | |
TypedValue (const char chars[]) | |
TypedValue (const std::string &string) | |
TypedValue (const String &string) | |
Vector3D | vector_value () const |
TypedValue & | vector_value (const Vector3D &vector_val) |
operator Vector3D () const | |
TypedValue (const Vector3D &vector) | |
std::vector< TypedValue > | typed_value_array () const |
TypedValue & | typed_value_array (std::vector< TypedValue > &typed_val_array) |
operator std::vector< TypedValue > () const | |
TypedValue (std::vector< TypedValue > &array) | |
Friends | |
bool | operator== (const TypedValue &val1, const TypedValue &val2) |
bool | operator!= (const TypedValue &val1, const TypedValue &val2) |
Definition at line 45 of file TypedValue.hpp.
CW::TypedValue::TypedValue | ( | const TypedValue & | other | ) |
Copy constructor
Definition at line 54 of file TypedValue.cpp.
bool CW::TypedValue::bool_value | ( | ) | const |
Retrieves the boolean value of a typed value object.
Definition at line 352 of file TypedValue.cpp.
char CW::TypedValue::byte_value | ( | ) | const |
Retrieves/ Set the byte value of a typed value object.
Definition at line 171 of file TypedValue.cpp.
Color CW::TypedValue::color_value | ( | ) | const |
Retrieves the color value of a typed value object.
Definition at line 388 of file TypedValue.cpp.
double CW::TypedValue::double_value | ( | ) | const |
Retrieves/Sets the double value of a typed value object.
Definition at line 316 of file TypedValue.cpp.
bool CW::TypedValue::empty | ( | ) | const |
Checks whether TypedValue is empty.
Definition at line 132 of file TypedValue.cpp.
float CW::TypedValue::float_value | ( | ) | const |
Retrieves/Sets the float value of a typed value object.
Definition at line 280 of file TypedValue.cpp.
SUTypedValueType CW::TypedValue::get_type | ( | ) | const |
Retrieves the type information of a typed value object.
Definition at line 160 of file TypedValue.cpp.
int16_t CW::TypedValue::int16_value | ( | ) | const |
Retrieves/Sets the int16 value of a typed value object.
Definition at line 207 of file TypedValue.cpp.
int32_t CW::TypedValue::int32_value | ( | ) | const |
Retrieves/Sets the int32 value of a typed value object.
Definition at line 244 of file TypedValue.cpp.
bool CW::TypedValue::operator! | ( | ) | const |
Checks whether TypedValue has been initialised.
Definition at line 124 of file TypedValue.cpp.
TypedValue & CW::TypedValue::operator= | ( | const TypedValue & | other | ) |
Copy Assignment Operator
Definition at line 62 of file TypedValue.cpp.
String CW::TypedValue::string_value | ( | ) | const |
Retrieves/Sets the string value of a typed value object.
Definition at line 461 of file TypedValue.cpp.
int64_t CW::TypedValue::time_value | ( | ) | const |
Retrieves/Sets the time value of a typed value object. The time value is in seconds since January 1, 1970.
Definition at line 425 of file TypedValue.cpp.
std::vector< TypedValue > CW::TypedValue::typed_value_array | ( | ) | const |
Retrieve/Set the array of typed value objects of a type value object.
Definition at line 557 of file TypedValue.cpp.
Vector3D CW::TypedValue::vector_value | ( | ) | const |
Retrieves/Sets the 3-element vector value of a typed value object
Definition at line 520 of file TypedValue.cpp.
|
friend |
Comparison operator overloads
Definition at line 611 of file TypedValue.cpp.