bit::FieldType Class Reference

#include <bit/fieldtype.h>

List of all members.


Detailed Description

Author:
Rick L.

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 []


The documentation for this class was generated from the following files:
Generated on Tue Mar 13 20:00:04 2007 by  doxygen 1.5.1