MeVisLab Toolbox Reference
ml::CSOListRules Class Reference

The CSOListRules class controls how the CSOList should treat CSOGroups if their CSOs are removed. More...

#include <CSOListRules.h>

Public Member Functions

 CSOListRules ()
 Constructor. More...
 
 ~CSOListRules ()
 Destructor. More...
 
void reset ()
 Sets default values to all members. More...
 
void setRemoveEmptyGroupHandling (CSORemoveEmptyGroupHandling handling)
 Sets the handling mode for empty groups. More...
 
CSORemoveEmptyGroupHandling getRemoveEmptyGroupHandling () const
 Returns the _removeEmptyGroupHandling mode. More...
 
void applyTo (CSOList &csoList)
 Applies the rules to the csoList. More...
 

Static Public Member Functions

static CSORemoveEmptyGroupHandling getDefaultRemoveEmptyGroupHandling ()
 Returns the default removal handling for a CSOList. More...
 

Detailed Description

The CSOListRules class controls how the CSOList should treat CSOGroups if their CSOs are removed.

Definition at line 41 of file CSOListRules.h.

Constructor & Destructor Documentation

◆ CSOListRules()

ml::CSOListRules::CSOListRules ( )

Constructor.

◆ ~CSOListRules()

ml::CSOListRules::~CSOListRules ( )

Destructor.

Member Function Documentation

◆ applyTo()

void ml::CSOListRules::applyTo ( CSOList csoList)

Applies the rules to the csoList.

◆ getDefaultRemoveEmptyGroupHandling()

static CSORemoveEmptyGroupHandling ml::CSOListRules::getDefaultRemoveEmptyGroupHandling ( )
inlinestatic

Returns the default removal handling for a CSOList.

Definition at line 64 of file CSOListRules.h.

References ml::REMOVE_EMPTY_ALWAYS.

◆ getRemoveEmptyGroupHandling()

CSORemoveEmptyGroupHandling ml::CSOListRules::getRemoveEmptyGroupHandling ( ) const
inline

Returns the _removeEmptyGroupHandling mode.

Definition at line 57 of file CSOListRules.h.

◆ reset()

void ml::CSOListRules::reset ( )

Sets default values to all members.

◆ setRemoveEmptyGroupHandling()

void ml::CSOListRules::setRemoveEmptyGroupHandling ( CSORemoveEmptyGroupHandling  handling)
inline

Sets the handling mode for empty groups.

Definition at line 55 of file CSOListRules.h.


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