libGulliBLE
ble::uuid Class Reference

#include <uuid.hpp>

Inheritance diagram for ble::uuid:
Collaboration diagram for ble::uuid:

Public Member Functions

 uuid ()
 
 uuid (uuid const &other)
 
uuidoperator= (uuid const &other)
 
 uuid (std::initializer_list< std::uint8_t > data)
 
 uuid (uuid_cast_t< uuid_type::_16 >, std::uint16_t data)
 
 uuid (uuid_cast_t< uuid_type::_32 >, std::uint32_t data)
 
 uuid (std::array< std::uint8_t, 2 > data)
 
 uuid (std::array< std::uint8_t, 4 > data)
 
 uuid (std::array< std::uint8_t, 16 > data)
 
 uuid (uuid_cast_t< uuid_type::_16 >, std::initializer_list< std::uint8_t > data)
 
 uuid (uuid_cast_t< uuid_type::_32 >, std::initializer_list< std::uint8_t > data)
 
 uuid (uuid_cast_t< uuid_type::_128 >, std::initializer_list< std::uint8_t > data)
 
 uuid (uuid &&) noexcept=default
 
uuidoperator= (uuid &&) noexcept=default
 
ble_uuid_any_t to_nimble () const
 
bool operator== (uuid const &other) const
 
bool operator!= (uuid const &other) const
 
uuid as_uuid128 () const
 
std::string to_string () const
 

Static Public Member Functions

static uuid from_nimble (ble_uuid_t const &ble_uuid)
 
static uuid from_nimble (ble_uuid16_t const &ble_uuid)
 
static uuid from_nimble (ble_uuid32_t const &ble_uuid)
 
static uuid from_nimble (ble_uuid128_t const &ble_uuid)
 
static uuid from_nimble (ble_uuid_any_t const &ble_uuid)
 

Constructor & Destructor Documentation

◆ uuid() [1/12]

ble::uuid::uuid ( )

◆ uuid() [2/12]

ble::uuid::uuid ( uuid const &  other)

◆ uuid() [3/12]

ble::uuid::uuid ( std::initializer_list< std::uint8_t >  data)

◆ uuid() [4/12]

ble::uuid::uuid ( uuid_cast_t< uuid_type::_16 ,
std::uint16_t  data 
)

◆ uuid() [5/12]

ble::uuid::uuid ( uuid_cast_t< uuid_type::_32 ,
std::uint32_t  data 
)

◆ uuid() [6/12]

ble::uuid::uuid ( std::array< std::uint8_t, 2 >  data)
explicit

◆ uuid() [7/12]

ble::uuid::uuid ( std::array< std::uint8_t, 4 >  data)
explicit

◆ uuid() [8/12]

ble::uuid::uuid ( std::array< std::uint8_t, 16 >  data)
explicit

◆ uuid() [9/12]

ble::uuid::uuid ( uuid_cast_t< uuid_type::_16 ,
std::initializer_list< std::uint8_t >  data 
)

◆ uuid() [10/12]

ble::uuid::uuid ( uuid_cast_t< uuid_type::_32 ,
std::initializer_list< std::uint8_t >  data 
)

◆ uuid() [11/12]

ble::uuid::uuid ( uuid_cast_t< uuid_type::_128 ,
std::initializer_list< std::uint8_t >  data 
)

◆ uuid() [12/12]

ble::uuid::uuid ( uuid &&  )
defaultnoexcept

Member Function Documentation

◆ as_uuid128()

uuid ble::uuid::as_uuid128 ( ) const

◆ from_nimble() [1/5]

uuid ble::uuid::from_nimble ( ble_uuid128_t const &  ble_uuid)
static

◆ from_nimble() [2/5]

uuid ble::uuid::from_nimble ( ble_uuid16_t const &  ble_uuid)
static

◆ from_nimble() [3/5]

uuid ble::uuid::from_nimble ( ble_uuid32_t const &  ble_uuid)
static

◆ from_nimble() [4/5]

uuid ble::uuid::from_nimble ( ble_uuid_any_t const &  ble_uuid)
static

◆ from_nimble() [5/5]

uuid ble::uuid::from_nimble ( ble_uuid_t const &  ble_uuid)
static

◆ operator!=()

bool ble::uuid::operator!= ( uuid const &  other) const

◆ operator=() [1/2]

uuid & ble::uuid::operator= ( uuid &&  )
defaultnoexcept

◆ operator=() [2/2]

uuid & ble::uuid::operator= ( uuid const &  other)

◆ operator==()

bool ble::uuid::operator== ( uuid const &  other) const

◆ to_nimble()

ble_uuid_any_t ble::uuid::to_nimble ( ) const

◆ to_string()

std::string ble::uuid::to_string ( ) const

The documentation for this class was generated from the following files: