YPC  0.2.0
Public Types | Public Member Functions | Protected Attributes | List of all members
ypc::utc::internal::bytes_base< ByteType > Class Template Reference
Inheritance diagram for ypc::utc::internal::bytes_base< ByteType >:
Inheritance graph
[legend]

Public Types

using byte_t = ByteType
 

Public Member Functions

 bytes_base (size_t len)
 
 bytes_base (const bytes_base< ByteType > &v)
 
bytes_base< ByteType > & operator= (const bytes_base< ByteType > &v)
 
bytes_base< ByteType > & operator= (bytes_base< ByteType > &&v)
 
 bytes_base (bytes_base< ByteType > &&v)
 
 bytes_base (std::initializer_list< byte_t > l)
 
template<typename T >
 bytes_base (const T *v, size_t len)
 
const byte_t & operator[] (size_t index) const
 
byte_t & operator[] (size_t index)
 
size_t size () const
 
const byte_t * data () const
 
byte_t * data ()
 
bool empty () const
 
bool operator< (const bytes_base< ByteType > &v) const
 
bool operator> (const bytes_base< ByteType > &v) const
 

Protected Attributes

std::unique_ptr< byte_t[]> m_value
 
size_t m_size
 

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