Public Member Functions | Private Attributes

ui_BitFlag Class Reference
[Command line interface]

#include <ui_helpers.h>

List of all members.

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

Detailed Description

Definition at line 123 of file ui_helpers.h.


Constructor & Destructor Documentation

ui_BitFlag::ui_BitFlag (  ) 

Definition at line 46 of file ui_bitflag.cpp.

References log_FUNC_m.

ui_BitFlag::ui_BitFlag ( UInt32_t  a_mask  ) 

Definition at line 51 of file ui_bitflag.cpp.

References log_FUNC_A_m.

                                      :
    m_bitFlag(a_mask){
    log_FUNC_A_m(ui_BitFlag, "a_mask:" << hex << a_mask);
}


Member Function Documentation

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

Definition at line 56 of file ui_bitflag.cpp.

References dbg_DETAIL, log_DBG_m, log_FUNC_A_m, and m_bitFlag.

                                       {
    log_FUNC_A_m(SetFlag, "a_mask:" << hex << a_mask);
    m_bitFlag |= a_mask;
    log_DBG_m(dbg_DETAIL, "m_bitflag:" << hex << m_bitFlag)
}

void ui_BitFlag::SetMask ( UInt32_t  a_mask  ) 

Definition at line 67 of file ui_bitflag.cpp.

References log_FUNC_A_m, and m_bitFlag.

                                       {
    log_FUNC_A_m(SetMask, "a_mask:" << hex << a_mask);
    m_bitFlag = a_mask;
}


Member Data Documentation

Definition at line 135 of file ui_helpers.h.

Definition at line 134 of file ui_helpers.h.

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


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