CFx SDK Documentation  2020SP3
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 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 &)
 
 OdGUID (const OdString &)
 
OdGUIDoperator= (const OdGUID &)
 
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
 

Static Public Attributes

static FIRSTDLL_EXPORT_STATIC const OdGUID kNull
 

Detailed Description

Definition at line 29 of file OdGUID.h.

Member Typedef Documentation

◆ Data4Type

typedef OdUInt8 OdGUID::Data4Type[0x8]

Definition at line 32 of file OdGUID.h.

◆ DataType

typedef OdUInt8 OdGUID::DataType[0x10]

Definition at line 31 of file OdGUID.h.

Constructor & Destructor Documentation

◆ OdGUID() [1/5]

OdGUID::OdGUID ( )

◆ OdGUID() [2/5]

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() [3/5]

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

◆ OdGUID() [4/5]

OdGUID::OdGUID ( const DataType )
explicit

◆ OdGUID() [5/5]

OdGUID::OdGUID ( const OdString )
explicit

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=()

OdGUID& OdGUID::operator= ( const OdGUID )

◆ operator==()

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

◆ operator>()

bool OdGUID::operator> ( const OdGUID ) const

◆ operator>=()

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

◆ 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 43 of file OdGUID.h.


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