Open CASCADE Technology 7.8.0
Public Member Functions | Static Public Member Functions
Standard_GUID Class Reference

#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.
 

Constructor & Destructor Documentation

◆ Standard_GUID() [1/6]

Standard_GUID::Standard_GUID ( )

◆ Standard_GUID() [2/6]

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

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() [4/6]

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

Standard_GUID::Standard_GUID ( const Standard_UUID aGuid)

◆ Standard_GUID() [6/6]

Standard_GUID::Standard_GUID ( const Standard_GUID aGuid)

Member Function Documentation

◆ Assign() [1/2]

void Standard_GUID::Assign ( const Standard_GUID uid)

◆ Assign() [2/2]

void Standard_GUID::Assign ( const Standard_UUID uid)

◆ CheckGUIDFormat()

static Standard_Boolean Standard_GUID::CheckGUIDFormat ( const Standard_CString  aGuid)
static

Check the format of a GUID string. It checks the size, the position of the '-' and the correct size of fields.

◆ IsNotSame()

Standard_Boolean Standard_GUID::IsNotSame ( const Standard_GUID uid) const

◆ IsSame()

Standard_Boolean Standard_GUID::IsSame ( const Standard_GUID uid) const

◆ operator!=()

Standard_Boolean Standard_GUID::operator!= ( const Standard_GUID uid) const
inline

◆ operator=() [1/2]

void Standard_GUID::operator= ( const Standard_GUID uid)
inline

◆ operator=() [2/2]

void Standard_GUID::operator= ( const Standard_UUID uid)
inline

◆ operator==()

Standard_Boolean Standard_GUID::operator== ( const Standard_GUID uid) const
inline

◆ ShallowDump()

void Standard_GUID::ShallowDump ( Standard_OStream aStream) const

Display the GUID with the following format:

"00000000-0000-0000-0000-000000000000"

◆ ToCString()

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"

◆ ToExtString()

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"

◆ ToUUID()

Standard_UUID Standard_GUID::ToUUID ( ) const

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