Open CASCADE Technology
6.9.0
|
#include <Standard_GUID.hxx>
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. More... | |
static Standard_Integer | HashCode (const Standard_GUID &aguid, const Standard_Integer Upper) |
H method used by collections. More... | |
static Standard_Boolean | IsEqual (const Standard_GUID &string1, const Standard_GUID &string2) |
Returns True when the two GUID are the same. More... | |
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 | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
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_Integer Standard_GUID::Hash | ( | const Standard_Integer | Upper | ) | const |
Hash function for GUID.
|
static |
H method used by collections.
|
static |
Returns True when the two GUID are the same.
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 |