24 #include <zorba/config.h>
46 struct ZORBA_DLL_PUBLIC
uuid {
69 name_based_md5 = 0x30,
70 random_number_based = 0x40,
71 name_based_sha1 = 0x50
85 static void create(
uuid *result );
111 return data + size();
120 return data + size();
129 return sizeof( data );
138 std::swap_ranges( begin(), end(), that.
begin() );
146 variant get_variant()
const;
153 version get_version()
const;
198 return std::lexicographical_compare(
246 std::ostream&
operator<<( std::ostream &
os, uuid
const &u );
void swap(uuid &that)
Swaps this UUID's data with that of another.
bool operator<(uuid const &u1, uuid const &u2)
Compares two UUIDs for less-than.
size_type size() const
Gets the size of the UUID data.
const_iterator end() const
Creates a const_iterator to one past the end of the data.
bool operator<=(uuid const &u1, uuid const &u2)
Compares two UUIDs for less-than-or-equal-to.
A uuid contains the raw bytes for a UUID.
bool operator!=(Diagnostic const &d1, Diagnostic const &d2)
Compares two diagnostics for inequality.
iterator end()
Creates an iterator to one past the end of the data.
const_iterator begin() const
Creates a const_iterator to the beginning of the data.
bool operator>=(uuid const &u1, uuid const &u2)
Compares two UUIDs for greater-than-or-equal-to.
NCS backward compatibility.
value_type const * const_pointer
iterator begin()
Creates an iterator to the beginning of the data.
const_pointer const_iterator
value_type const & const_reference
std::ptrdiff_t difference_type
bool operator==(Diagnostic const &d1, Diagnostic const &d2)
Compares two diagnostics for equality.
void swap(uuid &u1, uuid &u2)
Swaps two UUIDs' data.
bool operator>(uuid const &u1, uuid const &u2)
Compares two UUIDs for greater-than.
ZORBA_DLL_PUBLIC std::ostream & operator<<(std::ostream &os, const QueryLocation &aQuery)