Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::uuids::uuid Struct Reference

#include <uuid.hpp>

Collaboration diagram for boost::uuids::uuid:

Public Types

enum  variant_type {
  variant_ncs,
  variant_rfc_4122,
  variant_microsoft,
  variant_future
}
 
enum  version_type {
  version_unknown = -1,
  version_time_based = 1,
  version_dce_security = 2,
  version_name_based_md5 = 3,
  version_random_number_based = 4,
  version_name_based_sha1 = 5
}
 
typedef uint8_t value_type
 
typedef uint8_t & reference
 
typedef uint8_t const & const_reference
 
typedef uint8_t * iterator
 
typedef uint8_t const * const_iterator
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

iterator begin () BOOST_NOEXCEPT
 
const_iterator begin () const BOOST_NOEXCEPT
 
iterator end () BOOST_NOEXCEPT
 
const_iterator end () const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR size_type size () const BOOST_NOEXCEPT
 
bool is_nil () const BOOST_NOEXCEPT
 
variant_type variant () const BOOST_NOEXCEPT
 
version_type version () const BOOST_NOEXCEPT
 
void swap (uuid &rhs) BOOST_NOEXCEPT
 

Static Public Member Functions

static BOOST_CONSTEXPR size_type static_size () BOOST_NOEXCEPT
 

Public Attributes

uint8_t data [16]
 

Member Typedef Documentation

typedef uint8_t const* boost::uuids::uuid::const_iterator
typedef uint8_t const& boost::uuids::uuid::const_reference
typedef std::ptrdiff_t boost::uuids::uuid::difference_type
typedef uint8_t* boost::uuids::uuid::iterator
typedef std::size_t boost::uuids::uuid::size_type

Member Enumeration Documentation

Enumerator
variant_ncs 
variant_rfc_4122 
variant_microsoft 
variant_future 
Enumerator
version_unknown 
version_time_based 
version_dce_security 
version_name_based_md5 
version_random_number_based 
version_name_based_sha1 

Member Function Documentation

const_iterator boost::uuids::uuid::begin ( void  ) const
inline

References data.

const_iterator boost::uuids::uuid::end ( void  ) const
inline

References data, and size().

bool boost::uuids::uuid::is_nil ( ) const
BOOST_CONSTEXPR size_type boost::uuids::uuid::size ( void  ) const
inline

References static_size().

Referenced by end(), and boost::uuids::operator>>().

static BOOST_CONSTEXPR size_type boost::uuids::uuid::static_size ( )
inlinestatic

Referenced by size().

void boost::uuids::uuid::swap ( uuid rhs)
variant_type boost::uuids::uuid::variant ( ) const
inline

Member Data Documentation

uint8_t boost::uuids::uuid::data[16]

Referenced by begin(), end(), variant(), and version().


The documentation for this struct was generated from the following file: