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

Static Public Member Functions

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

Static Protected Attributes

static const char * m_type_string []
static const char * m_byte_order_string []
static const char * m_sign_string []


Member Data Documentation

const char * bit::FieldType::m_byte_order_string [static, protected]
 

Initial value:

 {
      "Network",
      "Big Endian",
      "Little Endian",
    }

const char * bit::FieldType::m_sign_string [static, protected]
 

Initial value:

 {
      "Unsigned",
      "Two's Complement",
      "One's Complement",
      "Sign Bit",
    }

const char * bit::FieldType::m_type_string [static, protected]
 

Initial value:

 {
      "None",
      "Integer",
      "Floating Point",
      "ASCII",
      "BCD (Binary Coded Decimal)",
      "UTF8",
    }


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 14:38:09 2006 by  doxygen 1.4.6