CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Attributes | List of all members
OdGUID Class Reference

#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)
 
OdGUIDoperator= (const OdGUID &other)
 
OdGUIDoperator= (const OdString &other)
 
OdGUIDoperator= (const OdAnsiString &other)
 
OdGUIDoperator= (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 DataTypedata () const
 
void setGUIDdata (const OdUInt32, const OdUInt16, const OdUInt16, const Data4Type &)
 

Static Public Attributes

static FIRSTDLL_EXPORT_STATIC const OdGUID kNull
 

Detailed Description

<group Other_Classes>

Definition at line 33 of file OdGUID.h.

Member Typedef Documentation

◆ Data4Type

typedef OdUInt8 OdGUID::Data4Type[0x8]

Definition at line 36 of file OdGUID.h.

◆ DataType

typedef OdUInt8 OdGUID::DataType[0x10]

Definition at line 35 of file OdGUID.h.

Constructor & Destructor Documentation

◆ OdGUID() [1/8]

OdGUID::OdGUID ( )

◆ OdGUID() [2/8]

OdGUID::OdGUID ( const OdGUID other)

Creates a new instance of a OdGUID object with copied data from other object.

Parameters
other[in] Object to copy from.

◆ OdGUID() [3/8]

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() [4/8]

OdGUID::OdGUID ( const  OdInt32,
const  OdInt16,
const  OdInt16,
const Data4Type  
)

◆ OdGUID() [5/8]

OdGUID::OdGUID ( const DataType data)
explicit

Creates a new instance of an OdGUID object with the copied data from the other data.

Parameters
data[in] GUID data to copy from.

◆ OdGUID() [6/8]

OdGUID::OdGUID ( const OdString value)
explicit

Creates a new instance of an OdGUID object with the copied data from the string representation of GUID.

Parameters
value[in] GUID string to copy from.

◆ OdGUID() [7/8]

OdGUID::OdGUID ( const OdAnsiString &  value)
explicit

Creates a new instance of an OdGUID object with the copied data from the string representation of GUID.

Parameters
value[in] GUID string to copy from.

◆ OdGUID() [8/8]

OdGUID::OdGUID ( const char *  value)
explicit

Creates a new instance of an OdGUID object with the copied data from the string representation of GUID.

Parameters
value[in] GUID string to copy from.

Member Function Documentation

◆ data()

const DataType & OdGUID::data ( ) const

◆ operator!=()

bool OdGUID::operator!= ( const OdGUID ) const

◆ operator<()

bool OdGUID::operator< ( const OdGUID ) const

◆ operator<=()

bool OdGUID::operator<= ( const OdGUID ) const

◆ operator=() [1/4]

OdGUID & OdGUID::operator= ( const char *  other)

Assignment operator.

Parameters
other[in] String representation of the GUID to be assigned.

◆ operator=() [2/4]

OdGUID & OdGUID::operator= ( const OdAnsiString &  other)

Assignment operator.

Parameters
other[in] String representation of the GUID to be assigned.

◆ operator=() [3/4]

OdGUID & OdGUID::operator= ( const OdGUID other)

Assignment operator.

Parameters
other[in] Other GUID object to be assigned.

◆ operator=() [4/4]

OdGUID & OdGUID::operator= ( const OdString other)

Assignment operator.

Parameters
other[in] String representation of the GUID to be assigned.

◆ operator==()

bool OdGUID::operator== ( const OdGUID ) const

◆ operator>()

bool OdGUID::operator> ( const OdGUID ) const

◆ operator>=()

bool OdGUID::operator>= ( const OdGUID ) const

◆ setGUIDdata()

void OdGUID::setGUIDdata ( const  OdUInt32,
const  OdUInt16,
const  OdUInt16,
const Data4Type  
)

Sets the GUID data.

◆ toString()

OdString OdGUID::toString ( const StringFormat::Enum  format = StringFormat::Hyphenses) const

Returns string representation for this OdGUID.

Parameters
format[in] A single format specifier that indicates how to format the value of this OdGUID. Default value is OdGUID::StringFormat::Hyphenses.
Remarks
The following table shows the accepted format specifiers for the format parameter. "0" represents a digit; hyphens ("-"), braces ("{", "}"), and parentheses ("(", ")") appear as shown.

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}}

Member Data Documentation

◆ kNull

FIRSTDLL_EXPORT_STATIC const OdGUID OdGUID::kNull
static

Definition at line 47 of file OdGUID.h.


The documentation for this class was generated from the following file: