|
HDK
|
#include <PDG_AttributeEvaluator.h>
Inheritance diagram for PDG_AttributeEvaluator:Public Types | |
| enum | Localize { eLocalizeNever, eLocalizeDefault, eLocalizeAlways } |
Public Types inherited from UT_AttributeEvaluator | |
| enum | EvalType { EVAL_OP_NODE, EVAL_CONTEXT_OPTION, EVAL_PDG, EVAL_COUNT } |
Static Public Member Functions | |
| static void | recordAttribute (const UT_StringHolder &name, int thread) |
| static bool | isSuppressWarnings () |
| static bool | setSuppressWarnings (bool suppress) |
| static bool | hasAttribute (int thread, const char *name, bool check_intrinsic) |
Static Public Member Functions inherited from UT_AttributeEvaluator | |
| static EvalType | typeFromPrefix (const char *prefix) |
| static const char * | nameFromPrefix (const char *prefix) |
Additional Inherited Members | |
Protected Attributes inherited from UT_AttributeEvaluator | |
| UT_String | myName |
| int | myComponent |
| int | myPadding |
| bool | myTimeDep |
| bool | myIsLocalVar |
| bool | myHasComponent |
| bool | myNeedsToBeDeleted |
Caches an attribute name and component, for use with @ expression in HScript
Definition at line 28 of file PDG_AttributeEvaluator.h.
Controls whether or not string/file attributes should be localized when evaluated
| Enumerator | |
|---|---|
| eLocalizeNever |
The raw, unlocalized value is always returned. |
| eLocalizeDefault |
The default behavior is the evaluating context is used. |
| eLocalizeAlways |
The localizd value is always returned. |
Definition at line 33 of file PDG_AttributeEvaluator.h.
| PDG_AttributeEvaluator::PDG_AttributeEvaluator | ( | const char * | name | ) |
| PDG_AttributeEvaluator::PDG_AttributeEvaluator | ( | const char * | name, |
| int | component | ||
| ) |
| PDG_AttributeEvaluator::PDG_AttributeEvaluator | ( | PDG_AttributeIntrinsic | type, |
| int | component | ||
| ) |
|
override |
| PDG_AttributeIntrinsic PDG_AttributeEvaluator::attributeType | ( | ) | const |
| void PDG_AttributeEvaluator::checkTimeDependent | ( | ) |
| bool PDG_AttributeEvaluator::evaluateAtFrameF | ( | fpreal | frame, |
| int | thread, | ||
| fpreal & | result, | ||
| EvalDiagnostics & | diagnostics | ||
| ) | const |
PDG doesn't know about CH or time, so it must be told about the evaluation frame from the caller, e.g. via the TOP subclass of this evaluator type.
| bool PDG_AttributeEvaluator::evaluateAtFrameS | ( | fpreal | frame, |
| int | thread, | ||
| UT_StringHolder & | result, | ||
| EvalDiagnostics & | diagnostics | ||
| ) | const |
|
inlineoverridevirtual |
Reimplemented from UT_AttributeEvaluator.
Definition at line 69 of file PDG_AttributeEvaluator.h.
|
inlineoverridevirtual |
Reimplemented from UT_AttributeEvaluator.
Definition at line 81 of file PDG_AttributeEvaluator.h.
|
static |
|
inline |
Definition at line 103 of file PDG_AttributeEvaluator.h.
|
overridevirtual |
Reimplemented from UT_AttributeEvaluator.
|
static |
|
inline |
Definition at line 101 of file PDG_AttributeEvaluator.h.
|
inline |
Definition at line 108 of file PDG_AttributeEvaluator.h.
|
static |
| void PDG_AttributeEvaluator::setMetadata | ( | const UT_StringHolder & | tag, |
| Localize | localize, | ||
| bool | all_values | ||
| ) |
|
static |
|
inline |
Definition at line 105 of file PDG_AttributeEvaluator.h.