UUID class. More...
#include <uuid.h>
Public Types | |
| typedef bool(uuid::* | bool_type )() const |
| Safe Bool Idiom. | |
Public Member Functions | |
| uuid () | |
| Constructor. | |
| uuid (const std::string &) | |
| Constructor. | |
| uuid (const char *) | |
| Constructor. | |
| uuid (const uuid &) | |
| Copy constructor. | |
| uuid & | operator= (const uuid &) |
| Assignment operator. | |
| bool | operator== (const uuid &) const |
| Comparison operator. | |
| bool | operator< (const uuid &) const |
| Comparison operator. | |
| bool | operator> (const uuid &rhs) const |
| Comparison operator. | |
| bool | operator<= (const uuid &rhs) const |
| Comparison operator. | |
| bool | operator>= (const uuid &rhs) const |
| Comparison operator. | |
| bool | operator!= (const uuid &rhs) const |
| Comparison operator. | |
| bool | operator! () const |
| Comparison operator (check for empty value). | |
| operator bool_type () const | |
| Comparison operator (check for empty value). | |
| void | generate () |
| Generate new uuid value. | |
| void | clear () |
| Clear (set to empty value). | |
| bool | empty () const |
| Check for empty value. | |
| std::string | str () const |
| Convert to string representation. | |
Friends | |
| std::istream & | operator>> (std::istream &, uuid &) |
| Set content from a stream. | |
| std::ostream & | operator<< (std::ostream &, const uuid &) |
| Get a stream from content. | |
UUID class.
This class represents a Universally Unique IDentifier (UUID) number, as defined by RFC 4122.