All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 58 of file PRM_Conditional.h.

Constructor & Destructor Documentation

PRM_ConditionalInfo::PRM_ConditionalInfo ( )

Definition at line 61 of file PRM_Conditional.h.

PRM_ConditionalInfo::PRM_ConditionalInfo ( PRM_ConditionalInfo other)

Definition at line 63 of file PRM_Conditional.h.

PRM_ConditionalInfo::~PRM_ConditionalInfo ( )

Definition at line 68 of file PRM_Conditional.h.

Member Function Documentation

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

Definition at line 99 of file PRM_Conditional.h.

void PRM_ConditionalInfo::clear ( void  )

Definition at line 93 of file PRM_Conditional.h.

const UT_StringArray& PRM_ConditionalInfo::getControlParms ( ) const

Definition at line 108 of file PRM_Conditional.h.

const UT_StringArray& PRM_ConditionalInfo::getControlValues ( ) const

Definition at line 110 of file PRM_Conditional.h.

int64 PRM_ConditionalInfo::getMemoryUsage ( bool  inclusive) const

Definition at line 71 of file PRM_Conditional.h.

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

Definition at line 112 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)

Definition at line 84 of file PRM_Conditional.h.

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