![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
#include <Standard_GUID.hxx>
Public Member Functions | |
| constexpr | Standard_GUID () noexcept |
| Creates a GUID with all zeros. | |
| Standard_GUID (const char *const aGuid) | |
| build a GUID from an ascii string with the following format: Length : 36 char "00000000-0000-0000-0000-000000000000" | |
| Standard_GUID (const char16_t *const aGuid) | |
| build a GUID from an unicode string with the following format: | |
| constexpr | Standard_GUID (const int a32b, const char16_t a16b1, const char16_t a16b2, const char16_t a16b3, const uint8_t a8b1, const uint8_t a8b2, const uint8_t a8b3, const uint8_t a8b4, const uint8_t a8b5, const uint8_t a8b6) noexcept |
| Creates a GUID from the given components. | |
| constexpr | Standard_GUID (const Standard_UUID &theUUID) noexcept |
| Creates a GUID from a Standard_UUID. | |
| constexpr | Standard_GUID (const Standard_GUID &theGuid) noexcept=default |
| Copy constructor. | |
| 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: | |
| constexpr Standard_UUID | ToUUID () const noexcept |
| Converts to Standard_UUID. | |
| constexpr bool | IsSame (const Standard_GUID &uid) const noexcept |
| Returns true if this GUID is equal to uid. | |
| constexpr bool | operator== (const Standard_GUID &uid) const noexcept |
| constexpr bool | IsNotSame (const Standard_GUID &uid) const noexcept |
| Returns true if this GUID is not equal to uid. | |
| constexpr bool | operator!= (const Standard_GUID &uid) const noexcept |
| constexpr void | Assign (const Standard_GUID &uid) noexcept |
| Assigns uid to this GUID. | |
| constexpr Standard_GUID & | operator= (const Standard_GUID &uid) noexcept |
| constexpr void | Assign (const Standard_UUID &uid) noexcept |
| Assigns uid to this GUID. | |
| constexpr Standard_GUID & | operator= (const Standard_UUID &uid) noexcept |
| void | ShallowDump (Standard_OStream &aStream) const |
| Display the GUID with the following format: | |
Static Public Member Functions | |
| static bool | CheckGUIDFormat (const char *const aGuid) |
| Check the format of a GUID string. It checks the size, the position of the '-' and the correct size of fields. | |
|
inlineconstexprnoexcept |
Creates a GUID with all zeros.
| Standard_GUID::Standard_GUID | ( | const char *const | 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 char16_t *const | aGuid | ) |
build a GUID from an unicode string with the following format:
"00000000-0000-0000-0000-000000000000"
|
inlineconstexprnoexcept |
Creates a GUID from the given components.
|
inlineconstexprnoexcept |
Creates a GUID from a Standard_UUID.
|
constexprdefaultnoexcept |
Copy constructor.
|
inlineconstexprnoexcept |
Assigns uid to this GUID.
|
inlineconstexprnoexcept |
Assigns uid to this GUID.
Check the format of a GUID string. It checks the size, the position of the '-' and the correct size of fields.
|
inlineconstexprnoexcept |
Returns true if this GUID is not equal to uid.
|
inlineconstexprnoexcept |
Returns true if this GUID is equal to uid.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
| 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"
|
inlineconstexprnoexcept |
Converts to Standard_UUID.