Rhino C++ API
8.13
|
#include <opennurbs_xml.h>
Public Types | |
enum | ArrayTypes : unsigned int { ArrayTypes::Array2, ArrayTypes::Array3, ArrayTypes::Array4, ArrayTypes::Array16 } |
enum | Types : unsigned int { Types::Null, Types::Bool, Types::Integer, Types::Float, Types::Double, Types::String, Types::DoubleArray2, Types::DoubleArray3, Types::DoubleArray4, Types::DoubleColor4, Types::Matrix, Types::Uuid, Types::Time, Types::Buffer } |
Public Member Functions | |
ON_XMLVariant () | |
Creates an empty string type. More... | |
ON_XMLVariant (bool value) | |
ON_XMLVariant (const double *point, ArrayTypes at=ArrayTypes::Array3) | |
ON_XMLVariant (const float *point, ArrayTypes at=ArrayTypes::Array3) | |
ON_XMLVariant (const ON_2dPoint &p) | |
ON_XMLVariant (const ON_3dPoint &p) | |
ON_XMLVariant (const ON_4fColor &c) | |
ON_XMLVariant (const ON_Buffer &buffer) | |
ON_XMLVariant (const ON_UUID &uuid) | |
ON_XMLVariant (const ON_wString &value) | |
ON_XMLVariant (const ON_Xform &xform) | |
ON_XMLVariant (const ON_XMLVariant &src) | |
ON_XMLVariant (const void *buffer, size_t size) | |
ON_XMLVariant (const wchar_t *wsz) | |
ON_XMLVariant (double value) | |
ON_XMLVariant (float value) | |
ON_XMLVariant (int value) | |
ON_XMLVariant (time_t time) | |
virtual | ~ON_XMLVariant () |
virtual ON_2dPoint | As2dPoint (void) const |
virtual ON_3dPoint | As3dPoint (void) const |
virtual ON_4dPoint | As4dPoint (void) const |
virtual bool | AsBool (void) const |
virtual void * | AsBuffer (size_t &size_out) const |
virtual ON_Buffer | AsBuffer (void) const |
virtual ON_4fColor | AsColor (void) const |
virtual double | AsDouble (void) const |
virtual float | AsFloat (void) const |
virtual int | AsInteger (void) const |
virtual ON_wString | AsString (void) const |
virtual time_t | AsTime (void) const |
virtual ON_UUID | AsUuid (void) const |
virtual ON_Xform | AsXform (void) const |
virtual void | ClearBuffers (void) |
virtual ON__UINT32 | DataCRC (ON__UINT32 current_remainder) const |
virtual void | Format (ON_wString &s) const |
Format string as type and value. Useful for debugging. More... | |
virtual ON_Buffer & | GetBuffer (void) const |
virtual bool | IsEmpty (void) const |
virtual bool | IsNull (void) const |
virtual bool | NeedsXMLEncode (void) const |
operator bool () const | |
operator double () const | |
operator float () const | |
operator int () const | |
operator ON_2dPoint () const | |
operator ON_3dPoint () const | |
operator ON_4dPoint () const | |
operator ON_4fColor () const | |
operator ON_Buffer () const | |
operator ON_UUID () const | |
operator ON_wString () const | |
operator time_t () const | |
bool | operator!= (const ON_XMLVariant &v) const |
const ON_XMLVariant & | operator= (const ON_XMLVariant &src) |
bool | operator== (const ON_XMLVariant &v) const |
virtual void | SetNull (void) |
virtual void | SetTypePendingFlag (bool bTypePending) const |
virtual void | SetUnits (ON::LengthUnitSystem units) |
virtual void | SetValue (bool b) |
virtual void | SetValue (const double *p, ArrayTypes at) |
virtual void | SetValue (const float *p, ArrayTypes at) |
virtual void | SetValue (const ON_2dPoint &p) |
virtual void | SetValue (const ON_3dPoint &p) |
virtual void | SetValue (const ON_4dPoint &p) |
virtual void | SetValue (const ON_4fColor &c) |
virtual void | SetValue (const ON_Buffer &buffer) |
virtual void | SetValue (const ON_UUID &uuid) |
virtual void | SetValue (const ON_wString &s) |
virtual void | SetValue (const ON_Xform &xform) |
virtual void | SetValue (const void *buffer, size_t size) |
virtual void | SetValue (const wchar_t *s) |
virtual void | SetValue (double v) |
virtual void | SetValue (float v) |
virtual void | SetValue (int v) |
virtual void | SetValue (time_t time) |
virtual void | SetVaries (void) |
virtual Types | Type (void) const |
virtual ON_wString | TypeAsString (void) const |
virtual bool | TypePending (void) const |
virtual ON::LengthUnitSystem | Units (void) const |
virtual bool | Varies (void) const |
Protected Member Functions | |
virtual void | StringToPoint (int iValues) const |
|
strong |
|
strong |
ON_XMLVariant::ON_XMLVariant | ( | ) |
Creates an empty string type.
ON_XMLVariant::ON_XMLVariant | ( | bool | value | ) |
ON_XMLVariant::ON_XMLVariant | ( | int | value | ) |
ON_XMLVariant::ON_XMLVariant | ( | float | value | ) |
ON_XMLVariant::ON_XMLVariant | ( | double | value | ) |
ON_XMLVariant::ON_XMLVariant | ( | time_t | time | ) |
ON_XMLVariant::ON_XMLVariant | ( | const ON_wString & | value | ) |
ON_XMLVariant::ON_XMLVariant | ( | const ON_UUID & | uuid | ) |
ON_XMLVariant::ON_XMLVariant | ( | const ON_2dPoint & | p | ) |
ON_XMLVariant::ON_XMLVariant | ( | const ON_3dPoint & | p | ) |
ON_XMLVariant::ON_XMLVariant | ( | const ON_4fColor & | c | ) |
ON_XMLVariant::ON_XMLVariant | ( | const ON_Xform & | xform | ) |
ON_XMLVariant::ON_XMLVariant | ( | const double * | point, |
ArrayTypes | at = ArrayTypes::Array3 |
||
) |
ON_XMLVariant::ON_XMLVariant | ( | const float * | point, |
ArrayTypes | at = ArrayTypes::Array3 |
||
) |
ON_XMLVariant::ON_XMLVariant | ( | const wchar_t * | wsz | ) |
ON_XMLVariant::ON_XMLVariant | ( | const void * | buffer, |
size_t | size | ||
) |
ON_XMLVariant::ON_XMLVariant | ( | const ON_Buffer & | buffer | ) |
ON_XMLVariant::ON_XMLVariant | ( | const ON_XMLVariant & | src | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Format string as type and value. Useful for debugging.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Optimized version of ON_wString::NeedsXMLEncode(). Always use this if possible because it knows from the type of the variant whether entity ref encoded output is even possible.
ON_XMLVariant::operator bool | ( | ) | const |
ON_XMLVariant::operator double | ( | ) | const |
ON_XMLVariant::operator float | ( | ) | const |
ON_XMLVariant::operator int | ( | ) | const |
ON_XMLVariant::operator ON_2dPoint | ( | ) | const |
ON_XMLVariant::operator ON_3dPoint | ( | ) | const |
ON_XMLVariant::operator ON_4dPoint | ( | ) | const |
ON_XMLVariant::operator ON_4fColor | ( | ) | const |
ON_XMLVariant::operator ON_Buffer | ( | ) | const |
ON_XMLVariant::operator ON_UUID | ( | ) | const |
ON_XMLVariant::operator ON_wString | ( | ) | const |
ON_XMLVariant::operator time_t | ( | ) | const |
bool ON_XMLVariant::operator!= | ( | const ON_XMLVariant & | v | ) | const |
const ON_XMLVariant& ON_XMLVariant::operator= | ( | const ON_XMLVariant & | src | ) |
bool ON_XMLVariant::operator== | ( | const ON_XMLVariant & | v | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |