CFx SDK Documentation 2024 SP0
|
#include <OdGUID.h>
Classes | |
struct | StringFormat |
Public Types | |
typedef OdUInt8 | DataType[0x10] |
typedef OdUInt8 | Data4Type[0x8] |
Public Member Functions | |
OdGUID () | |
OdGUID (const OdGUID &other) | |
OdGUID (const OdUInt32, const OdUInt16, const OdUInt16, const OdUInt8, const OdUInt8, const OdUInt8, const OdUInt8, const OdUInt8, const OdUInt8, const OdUInt8, const OdUInt8) | |
OdGUID (const OdInt32, const OdInt16, const OdInt16, const Data4Type &) | |
OdGUID (const DataType &data) | |
OdGUID (const OdString &value) | |
OdGUID (const OdAnsiString &value) | |
OdGUID (const char *value) | |
OdGUID & | operator= (const OdGUID &other) |
OdGUID & | operator= (const OdString &other) |
OdGUID & | operator= (const OdAnsiString &other) |
OdGUID & | operator= (const char *other) |
bool | operator< (const OdGUID &) const |
bool | operator> (const OdGUID &) const |
bool | operator== (const OdGUID &) const |
bool | operator!= (const OdGUID &) const |
bool | operator<= (const OdGUID &) const |
bool | operator>= (const OdGUID &) const |
OdString | toString (const StringFormat::Enum format=StringFormat::Hyphenses) const |
const DataType & | data () const |
void | setGUIDdata (const OdUInt32, const OdUInt16, const OdUInt16, const Data4Type &) |
Static Public Attributes | |
static FIRSTDLL_EXPORT_STATIC const OdGUID | kNull |
OdGUID::OdGUID | ( | ) |
OdGUID::OdGUID | ( | const OdGUID & | other | ) |
Creates a new instance of a OdGUID object with copied data from other object.
other | [in] Object to copy from. |
OdGUID::OdGUID | ( | const | OdUInt32, |
const | OdUInt16, | ||
const | OdUInt16, | ||
const | OdUInt8, | ||
const | OdUInt8, | ||
const | OdUInt8, | ||
const | OdUInt8, | ||
const | OdUInt8, | ||
const | OdUInt8, | ||
const | OdUInt8, | ||
const | OdUInt8 | ||
) |
OdGUID::OdGUID | ( | const | OdInt32, |
const | OdInt16, | ||
const | OdInt16, | ||
const Data4Type & | |||
) |
|
explicit |
Creates a new instance of an OdGUID object with the copied data from the other data.
data | [in] GUID data to copy from. |
|
explicit |
Creates a new instance of an OdGUID object with the copied data from the string representation of GUID.
value | [in] GUID string to copy from. |
|
explicit |
Creates a new instance of an OdGUID object with the copied data from the string representation of GUID.
value | [in] GUID string to copy from. |
|
explicit |
Creates a new instance of an OdGUID object with the copied data from the string representation of GUID.
value | [in] GUID string to copy from. |
const DataType & OdGUID::data | ( | ) | const |
bool OdGUID::operator!= | ( | const OdGUID & | ) | const |
bool OdGUID::operator< | ( | const OdGUID & | ) | const |
bool OdGUID::operator<= | ( | const OdGUID & | ) | const |
OdGUID & OdGUID::operator= | ( | const char * | other | ) |
Assignment operator.
other | [in] String representation of the GUID to be assigned. |
OdGUID & OdGUID::operator= | ( | const OdAnsiString & | other | ) |
Assignment operator.
other | [in] String representation of the GUID to be assigned. |
Assignment operator.
other | [in] Other GUID object to be assigned. |
Assignment operator.
other | [in] String representation of the GUID to be assigned. |
bool OdGUID::operator== | ( | const OdGUID & | ) | const |
bool OdGUID::operator> | ( | const OdGUID & | ) | const |
bool OdGUID::operator>= | ( | const OdGUID & | ) | const |
Sets the GUID data.
OdString OdGUID::toString | ( | const StringFormat::Enum | format = StringFormat::Hyphenses | ) | const |
Returns string representation for this OdGUID.
format | [in] A single format specifier that indicates how to format the value of this OdGUID. Default value is OdGUID::StringFormat::Hyphenses. |
OdGUID::StringFormat::Digits: 00000000000000000000000000000000 OdGUID::StringFormat::Hyphenses: 00000000-0000-0000-0000-000000000000 OdGUID::StringFormat::Braces: {00000000-0000-0000-0000-000000000000} OdGUID::StringFormat::Parentheses: (00000000-0000-0000-0000-000000000000) OdGUID::StringFormat::Extended: {0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}
|
static |