HDK
|
#include <PRM_Conditional.h>
Static Public Member Functions | |
static const char * | getName (PRM_ConditionalType type, bool label) |
static bool | verifyConditionalString (const char *conditional, UT_StringHolder &error) |
static bool | getOperatorFromString (const char *testoperator, PRM_ConditionalOperator &op) |
static bool | isValidOperator (const char *testoperator) |
This class allow setting a single conditional type for a PRM_Template. If multiple conditional types are required, use PRM_ConditionalGroup.
Definition at line 144 of file PRM_Conditional.h.
PRM_Conditional::PRM_Conditional | ( | PRM_ConditionalType | type = PRM_CONDTYPE_DISABLE | ) |
PRM_Conditional::PRM_Conditional | ( | const PRM_Conditional & | other | ) |
|
explicit |
|
override |
void PRM_Conditional::clear | ( | ) |
PRM_ConditionalInfo* PRM_Conditional::createInfo | ( | ) |
int PRM_Conditional::entries | ( | ) | const |
bool PRM_Conditional::eval | ( | const PRM_Parm & | prm, |
const PRM_ParmList & | pl, | ||
const UT_StringArray * | skip_parms | ||
) | const |
|
overridevirtual |
Implements PRM_ConditionalBase.
|
overridevirtual |
Implements PRM_ConditionalBase.
|
overridevirtual |
Implements PRM_ConditionalBase.
|
static |
const char* PRM_Conditional::getName | ( | bool | label | ) | const |
|
static |
void PRM_Conditional::getStringFromList | ( | UT_StringHolder & | str, |
const UT_StringArray * | validparms = nullptr |
||
) | const |
void PRM_Conditional::getStringFromList | ( | UT_String & | str, |
const UT_StringArray & | validparms | ||
) | const |
|
inline |
Definition at line 159 of file PRM_Conditional.h.
|
inlineoverridevirtual |
Implements PRM_ConditionalBase.
Definition at line 157 of file PRM_Conditional.h.
|
overridevirtual |
Implements PRM_ConditionalBase.
|
static |
const PRM_ConditionalInfo* PRM_Conditional::operator() | ( | int | index | ) | const |
const PRM_Conditional& PRM_Conditional::operator= | ( | const PRM_Conditional & | src | ) |
bool PRM_Conditional::setListFromString | ( | const char * | conditional, |
UT_StringHolder & | error | ||
) |
|
static |