21 #ifndef __UT_AttributeEvaluator_h__
22 #define __UT_AttributeEvaluator_h__
59 {
return myComponent; }
66 {
return myIsLocalVar; }
68 {
return myHasComponent; }
70 {
return myNeedsToBeDeleted; }
101 static EvalType typeFromPrefix(
const char* prefix);
UT_ErrorSeverity myErrorSeverity
virtual bool evaluateS(int thread, UT_StringHolder &result, EvalDiagnostics &diagnostics) const
UT_StringHolder myErrorString
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the and then *wait for them to all complete We provide a helper class
virtual bool isValid() const
bool isTimeDependent() const
const UT_String & name() const
**But if you need a result
void copyFrom(const UT_AttributeEvaluator &src)
virtual bool evaluateF(int thread, fpreal &result, EvalDiagnostics &diagnostics) const
static const UT_StringHolder theEmptyString
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
bool hasComponent() const
GLuint const GLchar * name
bool needsToBeDeleted() const
virtual bool isStringValue() const
**Note that the tasks the is the thread number *for the or if it s being executed by a non pool thread(this *can happen in cases where the whole pool is occupied and the calling *thread contributes to running the work load).**Thread pool.Have fun