#include <bit/fieldtype.h>
Vinyard, Jr. <rvinyard@cs.nmsu.edu>
Public Member Functions | |
FieldType (Type type=TYPE_NONE, ByteOrder byte_order=BYTEORDER_NETWORK, Sign sign=SIGN_UNSIGNED) | |
Type | type () const |
void | set_type (Type) |
const char * | type_string () const |
ByteOrder | byte_order () const |
void | set_byte_order (ByteOrder) |
const char * | byte_order_string () const |
Sign | sign () const |
void | set_sign (Sign) |
const char * | sign_string () const |
bool | operator== (const FieldType &other) const |
bool | operator!= (const FieldType &other) const |
const std::string & | xml () |
FieldType (Type type=TYPE_NONE, ByteOrder byte_order=BYTEORDER_NETWORK, Sign sign=SIGN_UNSIGNED) | |
Type | type () const |
void | set_type (Type) |
const char * | type_string () const |
ByteOrder | byte_order () const |
void | set_byte_order (ByteOrder) |
const char * | byte_order_string () const |
Sign | sign () const |
void | set_sign (Sign) |
const char * | sign_string () const |
bool | operator== (const FieldType &other) const |
bool | operator!= (const FieldType &other) const |
const std::string & | xml () |
FieldType (Type type=TYPE_NONE, ByteOrder byte_order=BYTEORDER_NETWORK, Sign sign=SIGN_UNSIGNED) | |
Type | type () const |
void | set_type (Type) |
const char * | type_string () const |
ByteOrder | byte_order () const |
void | set_byte_order (ByteOrder) |
const char * | byte_order_string () const |
Sign | sign () const |
void | set_sign (Sign) |
const char * | sign_string () const |
bool | operator== (const FieldType &other) const |
bool | operator!= (const FieldType &other) const |
const std::string & | xml () |
Static Public Member Functions | |
static const char * | type_string (Type) |
static const char * | byte_order_string (ByteOrder) |
static const char * | sign_string (Sign) |
static const char * | type_string (Type) |
static const char * | byte_order_string (ByteOrder) |
static const char * | sign_string (Sign) |
static const char * | type_string (Type) |
static const char * | byte_order_string (ByteOrder) |
static const char * | sign_string (Sign) |
Protected Attributes | |
Type | m_type |
ByteOrder | m_byte_order |
Sign | m_sign |
std::string | m_xml |
Static Protected Attributes | |
static const char * | m_type_string [] |
static const char * | m_byte_order_string [] |
static const char * | m_sign_string [] |
static const char * | m_type_string [] |
static const char * | m_byte_order_string [] |
static const char * | m_sign_string [] |
static const char * | m_type_string [] |
static const char * | m_byte_order_string [] |
static const char * | m_sign_string [] |