#include <FieldValue.h>
Inherited by qpid::framing::FieldTableValue, qpid::framing::IntegerValue, qpid::framing::Str16Value, qpid::framing::StringValue, qpid::framing::Struct32Value, and qpid::framing::TimeValue.
Public Member Functions | |
void | setType (uint8_t type) |
uint8_t | getType () |
Data & | getData () |
uint32_t | size () const |
bool | empty () const |
void | encode (Buffer &buffer) |
void | decode (Buffer &buffer) |
bool | operator== (const FieldValue &) const |
bool | operator!= (const FieldValue &v) const |
void | print (std::ostream &out) const |
template<typename T> | |
bool | convertsTo () const |
template<typename T> | |
T | get () const |
Protected Member Functions | |
FieldValue (uint8_t t, Data *d) |