MeVisLabToolboxReference
|
The CSOListRules class controls how the CSOList should treat CSOGroups if their CSOs are removed. More...
#include <CSOListRules.h>
Public Member Functions | |
CSOListRules () | |
Constructor. | |
~CSOListRules () | |
Destructor. | |
void | reset () |
Sets default values to all members. | |
void | setRemoveEmptyGroupHandling (CSORemoveEmptyGroupHandling handling) |
Sets the handling mode for empty groups. | |
CSORemoveEmptyGroupHandling | getRemoveEmptyGroupHandling () const |
Returns the _removeEmptyGroupHandling mode. | |
void | applyTo (CSOList &csoList) |
Applies the rules to the csoList . | |
Static Public Member Functions | |
static CSORemoveEmptyGroupHandling | getDefaultRemoveEmptyGroupHandling () |
Returns the default removal handling for a CSOList. | |
Static Public Attributes | |
static const char * | sRemoveEmptyGroupHandlingStrings [NUM_REMOVE_EMPTY_MODES] |
Defines the removal handling string (for display in fields). |
The CSOListRules class controls how the CSOList should treat CSOGroups if their CSOs are removed.
Definition at line 36 of file CSOListRules.h.
ml::CSOListRules::CSOListRules | ( | ) |
Constructor.
ml::CSOListRules::~CSOListRules | ( | ) |
Destructor.
void ml::CSOListRules::applyTo | ( | CSOList & | csoList | ) |
Applies the rules to the csoList
.
static CSORemoveEmptyGroupHandling ml::CSOListRules::getDefaultRemoveEmptyGroupHandling | ( | ) | [inline, static] |
Returns the default removal handling for a CSOList.
Definition at line 59 of file CSOListRules.h.
References ml::REMOVE_EMPTY_ALWAYS.
CSORemoveEmptyGroupHandling ml::CSOListRules::getRemoveEmptyGroupHandling | ( | ) | const [inline] |
Returns the _removeEmptyGroupHandling mode.
Definition at line 52 of file CSOListRules.h.
void ml::CSOListRules::reset | ( | ) |
Sets default values to all members.
void ml::CSOListRules::setRemoveEmptyGroupHandling | ( | CSORemoveEmptyGroupHandling | handling | ) | [inline] |
Sets the handling mode for empty groups.
Definition at line 50 of file CSOListRules.h.
const char* ml::CSOListRules::sRemoveEmptyGroupHandlingStrings[NUM_REMOVE_EMPTY_MODES] [static] |
Defines the removal handling string (for display in fields).
Definition at line 62 of file CSOListRules.h.