YPC  0.2.0
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
ypc::utc::fix_bytes< ByteType, ByteLength > Class Template Reference

Public Types

using byte_t = ByteType
 

Public Member Functions

 fix_bytes (const fix_bytes< ByteType, ByteLength > &v)
 
 fix_bytes (fix_bytes &&v)
 
template<typename T >
 fix_bytes (const T *buf, size_t buf_len)
 
fix_bytes< ByteType, ByteLength > & operator= (const fix_bytes< ByteType, ByteLength > &v)
 
fix_bytes< ByteType, ByteLength > & operator= (fix_bytes< ByteType, ByteLength > &&v)
 
bool operator== (const fix_bytes< ByteType, ByteLength > &v) const
 
bool operator!= (const fix_bytes< ByteType, ByteLength > &v) const
 
bool operator< (const fix_bytes< ByteType, ByteLength > &v) const
 
template<size_t BL>
fix_bytes< ByteType, BL+ByteLength > operator+ (const fix_bytes< ByteType, BL > &v) const
 
const byte_t & operator[] (size_t index) const
 
byte_t & operator[] (size_t index)
 
size_t size () const
 
const byte_t * value () const
 
byte_t * value ()
 
bool empty () const
 

Static Public Attributes

const static size_t fixed_length
 

Protected Attributes

std::array< byte_t, ByteLength > m_value
 

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