# FoundationClasses
TKernel
Standard

# Standard_GUID Class Reference

`#include <Standard_GUID.hxx>`

## Public Member Functions

void * | operator new (size_t, void *anAddress)
void * | operator new (size_t size)
void | operator delete (void *anAddress)
Standard_EXPORT | Standard_GUID ()
Standard_EXPORT | 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_EXPORT | Standard_GUID (const Standard_ExtString aGuid)
| build a GUID from an unicode string with the following format: "00000000-0000-0000-0000-000000000000"
Standard_EXPORT | 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_EXPORT | Standard_GUID (const Standard_UUID &aGuid)
Standard_EXPORT | Standard_GUID (const Standard_GUID &aGuid)
Standard_EXPORT Standard_UUID | ToUUID () const
Standard_EXPORT 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: "00000000-0000-0000-0000-000000000000"
Standard_EXPORT 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: "00000000-0000-0000-0000-000000000000"
Standard_EXPORT Standard_Boolean | IsSame (const Standard_GUID &uid) const
Standard_Boolean | operator== (const Standard_GUID &uid) const
Standard_EXPORT Standard_Boolean | IsNotSame (const Standard_GUID &uid) const
Standard_Boolean | operator!= (const Standard_GUID &uid) const
Standard_EXPORT void | Assign (const Standard_GUID &uid)
void | operator= (const Standard_GUID &uid)
Standard_EXPORT void | Assign (const Standard_UUID &uid)
void | operator= (const Standard_UUID &uid)
virtual Standard_EXPORT void | ShallowDump (Standard_OStream &aStream) const
| Display the GUID with the following format: "00000000-0000-0000-0000-000000000000" .
Standard_EXPORT Standard_Integer | Hash (const Standard_Integer Upper) const
| Hash function for GUID. .
Standard_Integer | _CSFDB_GetStandard_GUIDmy32b () const
void | _CSFDB_SetStandard_GUIDmy32b (const Standard_Integer p)
Standard_ExtCharacter | _CSFDB_GetStandard_GUIDmy16b1 () const
void | _CSFDB_SetStandard_GUIDmy16b1 (const Standard_ExtCharacter p)
Standard_ExtCharacter | _CSFDB_GetStandard_GUIDmy16b2 () const
void | _CSFDB_SetStandard_GUIDmy16b2 (const Standard_ExtCharacter p)
Standard_ExtCharacter | _CSFDB_GetStandard_GUIDmy16b3 () const
void | _CSFDB_SetStandard_GUIDmy16b3 (const Standard_ExtCharacter p)
Standard_Byte | _CSFDB_GetStandard_GUIDmy8b1 () const
void | _CSFDB_SetStandard_GUIDmy8b1 (const Standard_Byte p)
Standard_Byte | _CSFDB_GetStandard_GUIDmy8b2 () const
void | _CSFDB_SetStandard_GUIDmy8b2 (const Standard_Byte p)
Standard_Byte | _CSFDB_GetStandard_GUIDmy8b3 () const
void | _CSFDB_SetStandard_GUIDmy8b3 (const Standard_Byte p)
Standard_Byte | _CSFDB_GetStandard_GUIDmy8b4 () const
void | _CSFDB_SetStandard_GUIDmy8b4 (const Standard_Byte p)
Standard_Byte | _CSFDB_GetStandard_GUIDmy8b5 () const
void | _CSFDB_SetStandard_GUIDmy8b5 (const Standard_Byte p)
Standard_Byte | _CSFDB_GetStandard_GUIDmy8b6 () const
void | _CSFDB_SetStandard_GUIDmy8b6 (const Standard_Byte p)

## Static Public Member Functions

static Standard_EXPORT 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. .
static Standard_EXPORT Standard_Integer | HashCode (const Standard_GUID &aguid, const Standard_Integer Upper)
| H method used by collections. .
static Standard_EXPORT Standard_Boolean | IsEqual (const Standard_GUID &string1, const Standard_GUID &string2)
| Returns True when the two GUID are the same. .

## Private Attributes

Standard_Integer | my32b
Standard_ExtCharacter | my16b1
Standard_ExtCharacter | my16b2
Standard_ExtCharacter | my16b3
Standard_Byte | my8b1
Standard_Byte | my8b2
Standard_Byte | my8b3
Standard_Byte | my8b4
Standard_Byte | my8b5
Standard_Byte | my8b6

## Friends

Standard_EXPORT friend Handle_Standard_Type & | Standard_GUID_Type_ ()

## Constructor & Destructor Documentation

Standard_EXPORT Standard_GUID::Standard_GUID | ( |  | ) |

Standard_EXPORT Standard_GUID::Standard_GUID | ( | const Standard_CString | aGuid | ) |

Standard_EXPORT Standard_GUID::Standard_GUID | ( | const Standard_ExtString | aGuid | ) |

Standard_EXPORT 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_EXPORT Standard_GUID::Standard_GUID | ( | const Standard_UUID & | aGuid | ) |

Standard_EXPORT Standard_GUID::Standard_GUID | ( | const Standard_GUID & | aGuid | ) |

## Member Function Documentation

Standard_ExtCharacter Standard_GUID::_CSFDB_GetStandard_GUIDmy16b1 | ( |  | ) | const`[inline]`

Standard_ExtCharacter Standard_GUID::_CSFDB_GetStandard_GUIDmy16b2 | ( |  | ) | const`[inline]`

Standard_ExtCharacter Standard_GUID::_CSFDB_GetStandard_GUIDmy16b3 | ( |  | ) | const`[inline]`

Standard_Integer Standard_GUID::_CSFDB_GetStandard_GUIDmy32b | ( |  | ) | const`[inline]`

Standard_Byte Standard_GUID::_CSFDB_GetStandard_GUIDmy8b1 | ( |  | ) | const`[inline]`

Standard_Byte Standard_GUID::_CSFDB_GetStandard_GUIDmy8b2 | ( |  | ) | const`[inline]`

Standard_Byte Standard_GUID::_CSFDB_GetStandard_GUIDmy8b3 | ( |  | ) | const`[inline]`

Standard_Byte Standard_GUID::_CSFDB_GetStandard_GUIDmy8b4 | ( |  | ) | const`[inline]`

Standard_Byte Standard_GUID::_CSFDB_GetStandard_GUIDmy8b5 | ( |  | ) | const`[inline]`

Standard_Byte Standard_GUID::_CSFDB_GetStandard_GUIDmy8b6 | ( |  | ) | const`[inline]`

void Standard_GUID::_CSFDB_SetStandard_GUIDmy16b1 | ( | const Standard_ExtCharacter | p | ) | `[inline]`

void Standard_GUID::_CSFDB_SetStandard_GUIDmy16b2 | ( | const Standard_ExtCharacter | p | ) | `[inline]`

void Standard_GUID::_CSFDB_SetStandard_GUIDmy16b3 | ( | const Standard_ExtCharacter | p | ) | `[inline]`

void Standard_GUID::_CSFDB_SetStandard_GUIDmy32b | ( | const Standard_Integer | p | ) | `[inline]`

void Standard_GUID::_CSFDB_SetStandard_GUIDmy8b1 | ( | const Standard_Byte | p | ) | `[inline]`

void Standard_GUID::_CSFDB_SetStandard_GUIDmy8b2 | ( | const Standard_Byte | p | ) | `[inline]`

void Standard_GUID::_CSFDB_SetStandard_GUIDmy8b3 | ( | const Standard_Byte | p | ) | `[inline]`

void Standard_GUID::_CSFDB_SetStandard_GUIDmy8b4 | ( | const Standard_Byte | p | ) | `[inline]`

void Standard_GUID::_CSFDB_SetStandard_GUIDmy8b5 | ( | const Standard_Byte | p | ) | `[inline]`

void Standard_GUID::_CSFDB_SetStandard_GUIDmy8b6 | ( | const Standard_Byte | p | ) | `[inline]`

Standard_EXPORT void Standard_GUID::Assign | ( | const Standard_UUID & | uid | ) |

Standard_EXPORT void Standard_GUID::Assign | ( | const Standard_GUID & | uid | ) |

static Standard_EXPORT Standard_Boolean Standard_GUID::CheckGUIDFormat | ( | const Standard_CString | aGuid | ) | `[static]`

Standard_EXPORT Standard_Integer Standard_GUID::Hash | ( | const Standard_Integer | Upper | ) | const

static Standard_EXPORT Standard_Integer Standard_GUID::HashCode | ( | const Standard_GUID & | aguid,
|  | const Standard_Integer | Upper
| ) | `[static]`

static Standard_EXPORT Standard_Boolean Standard_GUID::IsEqual | ( | const Standard_GUID & | string1,
|  | const Standard_GUID & | string2
| ) | `[static]`

Standard_EXPORT Standard_Boolean Standard_GUID::IsNotSame | ( | const Standard_GUID & | uid | ) | const

Standard_EXPORT Standard_Boolean Standard_GUID::IsSame | ( | const Standard_GUID & | uid | ) | const

void Standard_GUID::operator delete | ( | void * | anAddress | ) | `[inline]`

void* Standard_GUID::operator new | ( | size_t | size | ) | `[inline]`

void* Standard_GUID::operator new | ( | size_t | ,
|  | void * | anAddress
| ) | `[inline]`

Standard_Boolean Standard_GUID::operator!= | ( | const Standard_GUID & | uid | ) | const`[inline]`

void Standard_GUID::operator= | ( | const Standard_UUID & | uid | ) | `[inline]`

void Standard_GUID::operator= | ( | const Standard_GUID & | uid | ) | `[inline]`

Standard_Boolean Standard_GUID::operator== | ( | const Standard_GUID & | uid | ) | const`[inline]`

virtual Standard_EXPORT void Standard_GUID::ShallowDump | ( | Standard_OStream & | aStream | ) | const`[virtual]`

Standard_EXPORT void Standard_GUID::ToCString | ( | const Standard_PCharacter | aStrGuid | ) | const

Standard_EXPORT void Standard_GUID::ToExtString | ( | const Standard_PExtCharacter | aStrGuid | ) | const

Standard_EXPORT Standard_UUID Standard_GUID::ToUUID | ( |  | ) | const

## Friends And Related Function Documentation

Standard_EXPORT friend Handle_Standard_Type& Standard_GUID_Type_ | ( |  | ) | `[friend]`

## Field Documentation

Standard_ExtCharacter Standard_GUID::my16b1 `[private]`

Standard_ExtCharacter Standard_GUID::my16b2 `[private]`

Standard_ExtCharacter Standard_GUID::my16b3 `[private]`

Standard_Integer Standard_GUID::my32b `[private]`

Standard_Byte Standard_GUID::my8b1 `[private]`

Standard_Byte Standard_GUID::my8b2 `[private]`

Standard_Byte Standard_GUID::my8b3 `[private]`

Standard_Byte Standard_GUID::my8b4 `[private]`

Standard_Byte Standard_GUID::my8b5 `[private]`

Standard_Byte Standard_GUID::my8b6 `[private]`

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

- Standard_GUID.hxx