ui_BitFlag Class Reference
[Command line interface]

#include <ui_helpers.h>

List of all members.


Detailed Description

Definition at line 107 of file ui_helpers.h.


Public Member Functions

 ui_BitFlag ()
 ui_BitFlag (UInt32_t a_mask)
void SetFlag (UInt32_t a_mask)
bool IsFlagSet (UInt32_t a_mask)
void SetMask (UInt32_t a_mask)

Private Attributes

UInt32_t m_bitFlag
 log_CLASSID_m

Constructor & Destructor Documentation

ui_BitFlag::ui_BitFlag (  ) 

Definition at line 32 of file ui_bitflag.cpp.

References log_FUNC_m.

00032                       :
00033     m_bitFlag(0) {
00034     log_FUNC_m(ui_BitFlag);
00035 }

ui_BitFlag::ui_BitFlag ( UInt32_t  a_mask  ) 

Definition at line 37 of file ui_bitflag.cpp.

References log_FUNC_A_m.

00037                                       :
00038     m_bitFlag(a_mask){
00039     log_FUNC_A_m(ui_BitFlag, "a_mask:" << hex << a_mask);
00040 }


Member Function Documentation

void ui_BitFlag::SetFlag ( UInt32_t  a_mask  ) 

Definition at line 42 of file ui_bitflag.cpp.

References dbg_DETAIL, log_DBG_m, log_FUNC_A_m, and m_bitFlag.

00042                                        {
00043     log_FUNC_A_m(SetFlag, "a_mask:" << hex << a_mask);
00044     m_bitFlag |= a_mask;
00045     log_DBG_m(dbg_DETAIL, "m_bitflag:" << hex << m_bitFlag)
00046 }

bool ui_BitFlag::IsFlagSet ( UInt32_t  a_mask  ) 

void ui_BitFlag::SetMask ( UInt32_t  a_mask  ) 

Definition at line 53 of file ui_bitflag.cpp.

References log_FUNC_A_m, and m_bitFlag.

00053                                        {
00054     log_FUNC_A_m(SetMask, "a_mask:" << hex << a_mask);
00055     m_bitFlag = a_mask;
00056 }


Member Data Documentation

Definition at line 118 of file ui_helpers.h.

Referenced by IsFlagSet(), SetFlag(), and SetMask().

Definition at line 119 of file ui_helpers.h.


The documentation for this class was generated from the following files:

Generated on Mon Feb 27 19:51:02 2012 for OPENARCHIVE by  doxygen 1.5.6