Proud::Guid Class Reference
Inheritance diagram for Proud::Guid:

Public Member Functions

PROUD_API Guid (PNGUID src)
 
PROUD_API String ToString () const
 
PROUD_API String ToBracketString () const
 
String GetString () const
 

Static Public Member Functions

static PROUD_API Guid RandomGuid ()
 
static PROUD_API bool ConvertUUIDToString (const Guid &uuid, String &uuidStr)
 
static PROUD_API bool ConvertUUIDToBracketString (const Guid &uuid, String &uuidStr)
 
static PROUD_API bool ConvertStringToUUID (String uuidStr, Guid &uuid)
 
static String GetString (const Guid &uuid)
 
static String GetBracketString (const Guid &uuid)
 
static Guid GetFromString (const PNTCHAR *uuidStr)
 
static Guid From (const PNGUID &uuid)
 

Additional Inherited Members

- Public Attributes inherited from Proud::PNGUID
uint32_t Data1
 
uint16_t Data2
 
uint16_t Data3
 
uint8_t Data4 [8]
 

Detailed Description

Platform independent Global Unique ID object. 

For Win32 features, refer to Proud::Win32Guid class.

Member Function Documentation

static PROUD_API bool Proud::Guid::ConvertStringToUUID ( String  uuidStr,
Guid uuid 
)
static

TODO:translate needed. It converts string to a uuid value.

Parameters
uuidStrThis is the string type of uuid.
uuidStrThis is the reference to hold the information which is string converted into an uuid format.
Returns
True when successful in conversion, otherwise false.
static PROUD_API bool Proud::Guid::ConvertUUIDToBracketString ( const Guid uuid,
String uuidStr 
)
static

TODO:translate needed. It converts Guid to a string value

Parameters
Thisis uuid Guid.
Thisis the reference to hold the information which is uuid converted into a string format.
Returns
True when successful in conversion, otherwise false.
static PROUD_API bool Proud::Guid::ConvertUUIDToString ( const Guid uuid,
String uuidStr 
)
static

TODO:translate needed. It converts Guid to a string value.

Parameters
Thisis uuid Guid.
Thisis the reference to hold the information which is uuid converted into a string format.
Returns
True when successful in conversion, otherwise false.
static Guid Proud::Guid::From ( const PNGUID uuid)
inlinestatic

TODO:translate needed. Casting from PNGUID object

Parameters
uuidThis is PNGUID
Returns
Guid object.
static String Proud::Guid::GetBracketString ( const Guid uuid)
inlinestatic

TODO:translate needed. It converts Guid with a string including brakets({}).

Parameters
Thisis Guid.
Returns
String
static Guid Proud::Guid::GetFromString ( const PNTCHAR *  uuidStr)
inlinestatic

TODO:translate needed. It converts string to a uuid value.

Parameters
uuidStrThis is the string type of uuid.
Returns
Guid This is the converted Guid.
static String Proud::Guid::GetString ( const Guid uuid)
inlinestatic

TODO:translate needed. It converts Guid to a string value.

Parameters
Thisis Guid.
Returns
String
static PROUD_API Guid Proud::Guid::RandomGuid ( )
static

Generates a 'random' GUID. Unlike NewGuid(), this does not guarantee uniqueness.

PROUD_API String Proud::Guid::ToBracketString ( ) const

TODO:translate needed. It converts Guid with a string including brakets({}).

PROUD_API String Proud::Guid::ToString ( ) const

TODO:translate needed. It converts Guid to a string value.