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 52 of file PRM_Conditional.h.

Constructor & Destructor Documentation

PRM_ConditionalInfo::PRM_ConditionalInfo ( )

Definition at line 55 of file PRM_Conditional.h.

PRM_ConditionalInfo::PRM_ConditionalInfo ( PRM_ConditionalInfo other)

Definition at line 57 of file PRM_Conditional.h.

PRM_ConditionalInfo::~PRM_ConditionalInfo ( )

Definition at line 62 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 93 of file PRM_Conditional.h.

void PRM_ConditionalInfo::clear ( void  )

Definition at line 87 of file PRM_Conditional.h.

const UT_StringArray& PRM_ConditionalInfo::getControlParms ( ) const

Definition at line 102 of file PRM_Conditional.h.

const UT_StringArray& PRM_ConditionalInfo::getControlValues ( ) const

Definition at line 104 of file PRM_Conditional.h.

int64 PRM_ConditionalInfo::getMemoryUsage ( bool  inclusive) const

Definition at line 65 of file PRM_Conditional.h.

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

Definition at line 106 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 78 of file PRM_Conditional.h.

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