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

#include <PRM_Conditional.h>

Public Member Functions

 PRM_ConditionalInfo ()
 
 PRM_ConditionalInfo (PRM_ConditionalInfo &other)
 
 ~PRM_ConditionalInfo ()
 
int64 getMemoryUsage (bool inclusive) const
 
PRM_ConditionalInfoinstance (const UT_IntArray &index_list) const
 
const PRM_ConditionalInfooperator= (const PRM_ConditionalInfo &src)
 
void clear ()
 
void addCondition (const UT_StringHolder &parm, const UT_StringHolder &value, PRM_ConditionalOperator op)
 
const UT_StringArraygetControlParms () const
 
const UT_StringArraygetControlValues () const
 
const UT_Array
< PRM_ConditionalOperator > & 
getTestOperators () const
 

Detailed Description

A container class for a set of AND clauses, representing a single brace group (e.g "{ foo == 0 bar == 1}"). If one condition inside this class fails, the whole conditional clause fails. A list of PRM_ConditionalInfos can be stringed together for an OR behavior (e.g. "{foo==0} {bar==1}").

Definition at line 53 of file PRM_Conditional.h.

Constructor & Destructor Documentation

PRM_ConditionalInfo::PRM_ConditionalInfo ( )
inline

Definition at line 56 of file PRM_Conditional.h.

PRM_ConditionalInfo::PRM_ConditionalInfo ( PRM_ConditionalInfo other)
inline

Definition at line 58 of file PRM_Conditional.h.

PRM_ConditionalInfo::~PRM_ConditionalInfo ( )
inline

Definition at line 63 of file PRM_Conditional.h.

Member Function Documentation

void PRM_ConditionalInfo::addCondition ( const UT_StringHolder parm,
const UT_StringHolder value,
PRM_ConditionalOperator  op 
)
inline

Definition at line 94 of file PRM_Conditional.h.

void PRM_ConditionalInfo::clear ( void  )
inline

Definition at line 88 of file PRM_Conditional.h.

const UT_StringArray& PRM_ConditionalInfo::getControlParms ( ) const
inline

Definition at line 103 of file PRM_Conditional.h.

const UT_StringArray& PRM_ConditionalInfo::getControlValues ( ) const
inline

Definition at line 105 of file PRM_Conditional.h.

int64 PRM_ConditionalInfo::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 66 of file PRM_Conditional.h.

const UT_Array<PRM_ConditionalOperator>& PRM_ConditionalInfo::getTestOperators ( ) const
inline

Definition at line 107 of file PRM_Conditional.h.

PRM_ConditionalInfo* PRM_ConditionalInfo::instance ( const UT_IntArray index_list) const
const PRM_ConditionalInfo& PRM_ConditionalInfo::operator= ( const PRM_ConditionalInfo src)
inline

Definition at line 79 of file PRM_Conditional.h.


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