HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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)
 
 ~PRM_ConditionalSwitcher () override
 
int64 getMemoryUsage (bool inclusive) const override
 
PRM_ConditionalGroupType groupType () const override
 
PRM_ConditionalBaseinstance (const UT_IntArray &indices) const override
 
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)
 
 ~PRM_ConditionalGroup () override
 
void addConditional (const PRM_Conditional &cond)
 
void addConditional (const char *conditional, PRM_ConditionalType type)
 
PRM_ConditionalgetConditional (PRM_ConditionalType type) override
 
const PRM_ConditionalgetConditional (PRM_ConditionalType type) const override
 
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 293 of file PRM_Conditional.h.

Constructor & Destructor Documentation

PRM_ConditionalSwitcher::PRM_ConditionalSwitcher ( )
inline

Definition at line 296 of file PRM_Conditional.h.

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

Member Function Documentation

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

Reimplemented from PRM_ConditionalGroup.

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

Reimplemented from PRM_ConditionalGroup.

Definition at line 304 of file PRM_Conditional.h.

PRM_ConditionalBase* PRM_ConditionalSwitcher::instance ( const UT_IntArray indices) const
overridevirtual

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: