HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_AttributeEvaluator Class Reference

#include <UT_AttributeEvaluator.h>

Classes

class  EvalDiagnostics
 

Public Types

enum  EvalType { EVAL_OP_NODE, EVAL_CONTEXT_OPTION, EVAL_PDG, EVAL_COUNT }
 

Public Member Functions

 UT_AttributeEvaluator (const char *name, bool check_pad=false)
 
virtual ~UT_AttributeEvaluator ()
 
const UT_Stringname () const
 
int component () const
 
int padding () const
 
bool isTimeDependent () const
 
bool isLocalVar () const
 
bool hasComponent () const
 
bool needsToBeDeleted () const
 
virtual bool evaluateF (int thread, fpreal &result, EvalDiagnostics &diagnostics) const
 
virtual bool evaluateS (int thread, UT_StringHolder &result, EvalDiagnostics &diagnostics) const
 
virtual bool isStringValue () const
 
virtual bool isValid () const
 
void copyFrom (const UT_AttributeEvaluator &src)
 

Static Public Member Functions

static EvalType typeFromPrefix (const char *prefix)
 

Protected Attributes

UT_String myName
 
int myComponent
 
int myPadding
 
bool myTimeDep
 
bool myIsLocalVar
 
bool myHasComponent
 
bool myNeedsToBeDeleted
 

Detailed Description

Definition at line 28 of file UT_AttributeEvaluator.h.

Member Enumeration Documentation

Enumerator
EVAL_OP_NODE 
EVAL_CONTEXT_OPTION 
EVAL_PDG 
EVAL_COUNT 

Definition at line 45 of file UT_AttributeEvaluator.h.

Constructor & Destructor Documentation

UT_AttributeEvaluator::UT_AttributeEvaluator ( const char *  name,
bool  check_pad = false 
)
virtual UT_AttributeEvaluator::~UT_AttributeEvaluator ( )
virtual

Member Function Documentation

int UT_AttributeEvaluator::component ( ) const
inline

Definition at line 55 of file UT_AttributeEvaluator.h.

void UT_AttributeEvaluator::copyFrom ( const UT_AttributeEvaluator src)
inline

Definition at line 85 of file UT_AttributeEvaluator.h.

virtual bool UT_AttributeEvaluator::evaluateF ( int  thread,
fpreal result,
EvalDiagnostics diagnostics 
) const
inlinevirtual

Definition at line 71 of file UT_AttributeEvaluator.h.

virtual bool UT_AttributeEvaluator::evaluateS ( int  thread,
UT_StringHolder result,
EvalDiagnostics diagnostics 
) const
inlinevirtual

Definition at line 74 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::hasComponent ( ) const
inline

Definition at line 64 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::isLocalVar ( ) const
inline

Definition at line 62 of file UT_AttributeEvaluator.h.

virtual bool UT_AttributeEvaluator::isStringValue ( ) const
inlinevirtual

Definition at line 77 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::isTimeDependent ( ) const
inline

Definition at line 60 of file UT_AttributeEvaluator.h.

virtual bool UT_AttributeEvaluator::isValid ( ) const
inlinevirtual

Definition at line 79 of file UT_AttributeEvaluator.h.

const UT_String& UT_AttributeEvaluator::name ( void  ) const
inline

Definition at line 53 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::needsToBeDeleted ( ) const
inline

Definition at line 66 of file UT_AttributeEvaluator.h.

int UT_AttributeEvaluator::padding ( ) const
inline

Definition at line 57 of file UT_AttributeEvaluator.h.

static EvalType UT_AttributeEvaluator::typeFromPrefix ( const char *  prefix)
static

Member Data Documentation

int UT_AttributeEvaluator::myComponent
protected

Definition at line 102 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::myHasComponent
protected

Definition at line 106 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::myIsLocalVar
protected

Definition at line 105 of file UT_AttributeEvaluator.h.

UT_String UT_AttributeEvaluator::myName
protected

Definition at line 101 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::myNeedsToBeDeleted
protected

Definition at line 107 of file UT_AttributeEvaluator.h.

int UT_AttributeEvaluator::myPadding
protected

Definition at line 103 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::myTimeDep
protected

Definition at line 104 of file UT_AttributeEvaluator.h.


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