#include <bit/fieldbuffer.h>
Public Member Functions | |
FieldBuffer (RecordBuffer &b, FieldBase::pointer f) | |
const std::string & | xml () |
FieldBuffer | field (size_t index) throw (exception::invalid_index) |
FieldBuffer | field (std::string index) throw (exception::invalid_index) |
FieldBuffer | operator[] (size_t index) throw (exception::invalid_index) |
FieldBuffer | operator[] (std::string index) throw (exception::invalid_index) |
template<typename T> | |
operator T () | |
Data | data () |
Returns a copy of the underlying data buffer allocated. | |
bool | unpack (void *mem, size_t mem_octets) |
template<typename T> | |
bool | unpack (T &val) |
bool | pack (const void *mem, size_t mem_octets) |
bool | pack (const void *mem, size_t mem_octets, size_t n) |
template<typename T> | |
bool | pack (const T &val) |
template<typename T> | |
FieldBuffer & | operator= (const T &t) |
FieldBase::pointer | field () |
RecordBuffer & | buffer () |
FieldBuffer (RecordBuffer &b, FieldBase::pointer f) | |
const std::string & | xml () |
FieldBuffer | field (size_t index) throw (exception::invalid_index) |
FieldBuffer | field (std::string index) throw (exception::invalid_index) |
FieldBuffer | operator[] (size_t index) throw (exception::invalid_index) |
FieldBuffer | operator[] (std::string index) throw (exception::invalid_index) |
template<typename T> | |
operator T () | |
Data::pointer | data () |
Returns a copy of the underlying data buffer allocated. | |
bool | unpack (void *mem, size_t mem_octets) |
template<typename T> | |
bool | unpack (T &val) |
bool | pack (const void *mem, size_t mem_octets) |
bool | pack (const void *mem, size_t mem_octets, size_t n) |
template<typename T> | |
bool | pack (const T &val) |
template<typename T> | |
FieldBuffer & | operator= (const T &t) |
FieldBase::pointer | field () |
RecordBuffer & | buffer () |
FieldBuffer (RecordBuffer &b, FieldBase::pointer f) | |
const std::string & | xml () |
FieldBuffer | field (size_t index) throw (exception::invalid_index) |
FieldBuffer | field (std::string index) throw (exception::invalid_index) |
FieldBuffer | operator[] (size_t index) throw (exception::invalid_index) |
FieldBuffer | operator[] (std::string index) throw (exception::invalid_index) |
template<typename T> | |
operator T () | |
Data::pointer | data () |
Returns a copy of the underlying data buffer allocated. | |
bool | unpack (void *mem, size_t mem_octets) |
template<typename T> | |
bool | unpack (T &val) |
bool | pack (const void *mem, size_t mem_octets) |
bool | pack (const void *mem, size_t mem_octets, size_t n) |
template<typename T> | |
bool | pack (const T &val) |
template<typename T> | |
FieldBuffer & | operator= (const T &t) |
FieldBase::pointer | field () |
RecordBuffer & | buffer () |
template<> | |
bool | unpack (std::string &val) |
template<> | |
bool | pack (const std::string &val) |
Protected Member Functions | |
bool | unpack_uint64 (uint64_t &ui64) |
Unpacks the field according to the field's byte order and returns the field as a 64-bit value in the host order. | |
bool | unpack_float (float &f) |
bool | unpack_double (double &d) |
bool | pack_uint64 (uint64_t data) |
Packs host ordered 64-bit value according to the field's byte order specification. | |
bool | pack_float (float f) |
bool | pack_double (double d) |
bool | unpack_uint64 (uint64_t &ui64) |
Unpacks the field according to the field's byte order and returns the field as a 64-bit value in the host order. | |
bool | unpack_float (float &f) |
bool | unpack_double (double &d) |
bool | pack_uint64 (uint64_t data) |
Packs host ordered 64-bit value according to the field's byte order specification. | |
bool | pack_float (float f) |
bool | pack_double (double d) |
bool | unpack_uint64 (uint64_t &ui64) |
Unpacks the field according to the field's byte order and returns the field as a 64-bit value in the host order. | |
bool | unpack_float (float &f) |
bool | unpack_double (double &d) |
bool | pack_uint64 (uint64_t data) |
Packs host ordered 64-bit value according to the field's byte order specification. | |
bool | pack_float (float f) |
bool | pack_double (double d) |
Protected Attributes | |
RecordBuffer & | m_buffer |
FieldBase::pointer | m_field |
std::string | m_xml |
RecordBuffer & | m_buffer |
RecordBuffer & | m_buffer |