HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PRM_ConditionalSwitcher Class Reference

#include <PRM_Conditional.h>

+ Inheritance diagram for PRM_ConditionalSwitcher:

Public Member Functions

 PRM_ConditionalSwitcher ()
 
 PRM_ConditionalSwitcher (const PRM_ConditionalSwitcherArgs &args)
 
virtual ~PRM_ConditionalSwitcher ()
 
virtual int64 getMemoryUsage (bool inclusive) const
 
virtual PRM_ConditionalGroupType groupType () const
 
virtual PRM_ConditionalBaseinstance (const UT_IntArray &index_list) const
 
PRM_ConditionalgetTabConditional (int index, PRM_ConditionalType type) const
 
PRM_ConditionalBasegetTabConditional (int index) const
 
void setTabConditional (int index, const PRM_ConditionalBase &cond)
 
void addTabConditional (int index, const PRM_Conditional &conditional)
 
void clear ()
 
- Public Member Functions inherited from PRM_ConditionalGroup
 PRM_ConditionalGroup (const PRM_ConditionalGroupArgs &args)
 
 PRM_ConditionalGroup ()
 
 PRM_ConditionalGroup (const PRM_ConditionalGroup &other)
 
virtual ~PRM_ConditionalGroup ()
 
void addConditional (const PRM_Conditional &cond)
 
void addConditional (const char *conditional, PRM_ConditionalType type)
 
PRM_ConditionalgetConditional (PRM_ConditionalType type)
 
const PRM_ConditionalgetConditional (PRM_ConditionalType type) const
 
void clear ()
 
- Public Member Functions inherited from PRM_ConditionalBase
virtual ~PRM_ConditionalBase ()
 

Additional Inherited Members

- Protected Member Functions inherited from PRM_ConditionalGroup
void instance (PRM_ConditionalGroup *group, const UT_IntArray &index_list) const
 

Detailed Description

This class can be passed to the PRM_Template constructor when constructing a template for a folder switcher. This allows the caller to set a different conditional for each folder.

Definition at line 289 of file PRM_Conditional.h.

Constructor & Destructor Documentation

PRM_ConditionalSwitcher::PRM_ConditionalSwitcher ( )
inline

Definition at line 292 of file PRM_Conditional.h.

PRM_ConditionalSwitcher::PRM_ConditionalSwitcher ( const PRM_ConditionalSwitcherArgs args)
virtual PRM_ConditionalSwitcher::~PRM_ConditionalSwitcher ( )
virtual

Member Function Documentation

void PRM_ConditionalSwitcher::addTabConditional ( int  index,
const PRM_Conditional conditional 
)
void PRM_ConditionalSwitcher::clear ( )
virtual int64 PRM_ConditionalSwitcher::getMemoryUsage ( bool  inclusive) const
virtual

Reimplemented from PRM_ConditionalGroup.

PRM_Conditional* PRM_ConditionalSwitcher::getTabConditional ( int  index,
PRM_ConditionalType  type 
) const
PRM_ConditionalBase* PRM_ConditionalSwitcher::getTabConditional ( int  index) const
virtual PRM_ConditionalGroupType PRM_ConditionalSwitcher::groupType ( ) const
inlinevirtual

Reimplemented from PRM_ConditionalGroup.

Definition at line 300 of file PRM_Conditional.h.

virtual PRM_ConditionalBase* PRM_ConditionalSwitcher::instance ( const UT_IntArray index_list) const
virtual

Reimplemented from PRM_ConditionalGroup.

void PRM_ConditionalSwitcher::setTabConditional ( int  index,
const PRM_ConditionalBase cond 
)

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