UUID
[Common]

UUID wrapper. More...

Defines

#define ORIGINAL_UUID   "original-UUID"
#define EDIT_ORIGIN_UUID   "edit-origin-UUID"

Functions

string_tyuniversal_unique_identifier (void)
 Returns a string containing a new UUID.
bool universal_unique_identifier_valid (string_ty *)
 Check if the UUID passed as input is valid.
bool universal_unique_identifier_valid (const nstring &arg)
 Check if the UUID passed as input is valid.
bool universal_unique_identifier_valid_partial (string_ty *)
 Check if the UUID passed as input is valid, or a valid leading partial prefix.
bool universal_unique_identifier_valid_partial (const nstring &arg)
 Check if the UUID passed as input is valid, or a valid leading partial prefix.

Detailed Description

UUID wrapper.


Define Documentation

#define EDIT_ORIGIN_UUID   "edit-origin-UUID"

Definition at line 33 of file uuidentifier.h.

#define ORIGINAL_UUID   "original-UUID"

Definition at line 32 of file uuidentifier.h.


Function Documentation

string_ty* universal_unique_identifier ( void   ) 

Returns a string containing a new UUID.

The universal_unique_identifier function is used to generate a universally unique identifier (UUID).

Returns:
a string containing a valid UUID, it is guaranteed to be in lower case.

bool universal_unique_identifier_valid ( const nstring arg  ) 

Check if the UUID passed as input is valid.

bool universal_unique_identifier_valid ( string_ty  ) 

Check if the UUID passed as input is valid.

bool universal_unique_identifier_valid_partial ( const nstring arg  ) 

Check if the UUID passed as input is valid, or a valid leading partial prefix.

bool universal_unique_identifier_valid_partial ( string_ty  ) 

Check if the UUID passed as input is valid, or a valid leading partial prefix.


Generated on Wed Mar 12 23:37:38 2008 for Aegis by  doxygen 1.5.5