Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

AMOS::BankFlags_t Struct Reference

8 bit flag set for IBankable types More...

#include <inttypes_AMOS.hh>

List of all members.

Public Member Functions

 BankFlags_t ()
 Constructs an empty Flags_t object.
 ~BankFlags_t ()
 Destroys a Flags_t object.
void clear ()
 Sets everything to zero.

Public Attributes

uint8_t is_removed: 1
 removed flag
uint8_t is_modified: 1
 modified flag
uint8_t is_flagA: 1
 generic user flag A
uint8_t is_flagB: 1
 generic user flag B
uint8_t nibble: 4
 extra class-specific bits


Detailed Description

8 bit flag set for IBankable types

The flag set object provides 4 flags in a bit field, and can be directly accessed. In addition, 4 bits are left available for misc use.

Definition at line 104 of file inttypes_AMOS.hh.


Constructor & Destructor Documentation

AMOS::BankFlags_t::BankFlags_t  )  [inline]
 

Constructs an empty Flags_t object.

Initializes all flag bits to zero (false) Definition at line 127 of file inttypes_AMOS.hh.

References clear().

AMOS::BankFlags_t::~BankFlags_t  )  [inline]
 

Destroys a Flags_t object.

Definition at line 136 of file inttypes_AMOS.hh.


Member Function Documentation

void AMOS::BankFlags_t::clear  )  [inline]
 

Sets everything to zero.

Definition at line 145 of file inttypes_AMOS.hh.

References is_flagA, is_flagB, is_modified, is_removed, and nibble.

Referenced by BankFlags_t().


Member Data Documentation

uint8_t AMOS::BankFlags_t::is_flagA
 

generic user flag A

Definition at line 117 of file inttypes_AMOS.hh.

Referenced by clear().

uint8_t AMOS::BankFlags_t::is_flagB
 

generic user flag B

Definition at line 118 of file inttypes_AMOS.hh.

Referenced by clear().

uint8_t AMOS::BankFlags_t::is_modified
 

modified flag

Definition at line 116 of file inttypes_AMOS.hh.

Referenced by clear().

uint8_t AMOS::BankFlags_t::is_removed
 

removed flag

Definition at line 115 of file inttypes_AMOS.hh.

Referenced by clear().

uint8_t AMOS::BankFlags_t::nibble
 

extra class-specific bits

Definition at line 119 of file inttypes_AMOS.hh.

Referenced by clear().


The documentation for this struct was generated from the following file:
Generated on Tue May 17 15:19:47 2005 for libAMOS by doxygen 1.3.8