Open CASCADE Technology 7.8.2.dev
|
#include <Standard_GUID.hxx>
Public Member Functions | |
Standard_GUID () | |
Standard_GUID (const Standard_CString aGuid) | |
build a GUID from an ascii string with the following format: Length : 36 char "00000000-0000-0000-0000-000000000000" | |
Standard_GUID (const Standard_ExtString aGuid) | |
build a GUID from an unicode string with the following format: | |
Standard_GUID (const Standard_Integer a32b, const Standard_ExtCharacter a16b1, const Standard_ExtCharacter a16b2, const Standard_ExtCharacter a16b3, const Standard_Byte a8b1, const Standard_Byte a8b2, const Standard_Byte a8b3, const Standard_Byte a8b4, const Standard_Byte a8b5, const Standard_Byte a8b6) | |
Standard_GUID (const Standard_UUID &aGuid) | |
Standard_GUID (const Standard_GUID &aGuid) | |
Standard_UUID | ToUUID () const |
void | ToCString (const Standard_PCharacter aStrGuid) const |
translate the GUID into ascii string the aStrGuid is allocated by user. the guid have the following format: | |
void | ToExtString (const Standard_PExtCharacter aStrGuid) const |
translate the GUID into unicode string the aStrGuid is allocated by user. the guid have the following format: | |
Standard_Boolean | IsSame (const Standard_GUID &uid) const |
Standard_Boolean | operator== (const Standard_GUID &uid) const |
Standard_Boolean | IsNotSame (const Standard_GUID &uid) const |
Standard_Boolean | operator!= (const Standard_GUID &uid) const |
void | Assign (const Standard_GUID &uid) |
void | operator= (const Standard_GUID &uid) |
void | Assign (const Standard_UUID &uid) |
void | operator= (const Standard_UUID &uid) |
void | ShallowDump (Standard_OStream &aStream) const |
Display the GUID with the following format: | |
Static Public Member Functions | |
static Standard_Boolean | CheckGUIDFormat (const Standard_CString aGuid) |
Check the format of a GUID string. It checks the size, the position of the '-' and the correct size of fields. | |
Standard_GUID::Standard_GUID | ( | ) |
Standard_GUID::Standard_GUID | ( | const Standard_CString | aGuid | ) |
build a GUID from an ascii string with the following format: Length : 36 char "00000000-0000-0000-0000-000000000000"
Standard_GUID::Standard_GUID | ( | const Standard_ExtString | aGuid | ) |
build a GUID from an unicode string with the following format:
"00000000-0000-0000-0000-000000000000"
Standard_GUID::Standard_GUID | ( | const Standard_Integer | a32b, |
const Standard_ExtCharacter | a16b1, | ||
const Standard_ExtCharacter | a16b2, | ||
const Standard_ExtCharacter | a16b3, | ||
const Standard_Byte | a8b1, | ||
const Standard_Byte | a8b2, | ||
const Standard_Byte | a8b3, | ||
const Standard_Byte | a8b4, | ||
const Standard_Byte | a8b5, | ||
const Standard_Byte | a8b6 ) |
Standard_GUID::Standard_GUID | ( | const Standard_UUID & | aGuid | ) |
Standard_GUID::Standard_GUID | ( | const Standard_GUID & | aGuid | ) |
void Standard_GUID::Assign | ( | const Standard_GUID & | uid | ) |
void Standard_GUID::Assign | ( | const Standard_UUID & | uid | ) |
|
static |
Check the format of a GUID string. It checks the size, the position of the '-' and the correct size of fields.
Standard_Boolean Standard_GUID::IsNotSame | ( | const Standard_GUID & | uid | ) | const |
Standard_Boolean Standard_GUID::IsSame | ( | const Standard_GUID & | uid | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
void Standard_GUID::ShallowDump | ( | Standard_OStream & | aStream | ) | const |
Display the GUID with the following format:
"00000000-0000-0000-0000-000000000000"
void Standard_GUID::ToCString | ( | const Standard_PCharacter | aStrGuid | ) | const |
translate the GUID into ascii string the aStrGuid is allocated by user. the guid have the following format:
"00000000-0000-0000-0000-000000000000"
void Standard_GUID::ToExtString | ( | const Standard_PExtCharacter | aStrGuid | ) | const |
translate the GUID into unicode string the aStrGuid is allocated by user. the guid have the following format:
"00000000-0000-0000-0000-000000000000"
Standard_UUID Standard_GUID::ToUUID | ( | ) | const |