#include <Guid.h>
Public Member Functions | |
Guid (void) | |
Guid (const Guid &source) | |
Guid (const std::string &source) throw ( exceptions::IllegalArgumentException ) | |
virtual | ~Guid (void) |
bool | isNull (void) const |
void | setNull (void) |
Guid & | createGUID (void) throw ( exceptions::RuntimeException ) |
std::string | toString (void) const throw ( exceptions::RuntimeException ) |
const unsigned char * | toBytes (void) const |
Guid & | fromBytes (const unsigned char *bytes) throw ( exceptions::IllegalArgumentException ) |
int | getRawBytesSize (void) const |
operator std::string () const | |
operator const unsigned char * () const | |
Guid & | operator= (const Guid &source) throw ( exceptions::IllegalArgumentException ) |
Guid & | operator= (const std::string &source) throw ( exceptions::IllegalArgumentException ) |
bool | operator== (const Guid &source) const |
bool | operator== (const std::string &source) const |
bool | operator!= (const Guid &source) const |
bool | operator!= (const std::string &source) const |
bool | operator< (const Guid &source) const |
bool | operator< (const std::string &source) const |
bool | operator<= (const Guid &source) const |
bool | operator<= (const std::string &source) const |
bool | operator> (const Guid &source) const |
bool | operator> (const std::string &source) const |
bool | operator>= (const Guid &source) const |
bool | operator>= (const std::string &source) const |
Static Public Member Functions | |
static std::string | createGUIDString (void) |
static const unsigned char * | createGUIDBytes (void) |
Private Attributes | |
::GUID | uuid |
|
|
|
|
|
|
|
|
|
Generate a new GUID which will overwrite any current GUID value
|
|
Static Guid Create Method, create a GUID and returns the byte representation of the new GUID.
|
|
Static Guid Creation Method, creates a GUID and returns it as a string
|
|
Initializes this GUID with the GUID specified in the bytes parameter
|
|
Returns the Size in Bytes of the Raw bytes representation of the GUID.
|
|
Determines if this GUID is null, if so it can be initialized with a call to
|
|
byte array cast operator, caller does not own this memeory
|
|
string type cast operator
|
|
|
|
Inequality Comparison Operators
|
|
|
|
Less than operators
|
|
|
|
Less than or equal to operators
|
|
|
|
Assignment operators
|
|
|
|
Equality Comparison Operators
|
|
|
|
Greater than operators
|
|
|
|
Greater than or equal to operators
|
|
Clears the GUID's current value and sets it to a NULL GUID value will now pass |
|
Converts the GUID to a byte array and return a pointer to the new array, called takes ownership and must delete this array when done.
|
|
Converts the GUID to a string and returns that string
|
|
|