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

#include <UT_AttributeEvaluator.h>

+ Inheritance diagram for UT_AttributeEvaluator:

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 29 of file UT_AttributeEvaluator.h.

Member Enumeration Documentation

Enumerator
EVAL_OP_NODE 
EVAL_CONTEXT_OPTION 
EVAL_PDG 
EVAL_COUNT 

Definition at line 48 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 58 of file UT_AttributeEvaluator.h.

void UT_AttributeEvaluator::copyFrom ( const UT_AttributeEvaluator src)
inline

Definition at line 88 of file UT_AttributeEvaluator.h.

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

Definition at line 74 of file UT_AttributeEvaluator.h.

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

Definition at line 77 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::hasComponent ( ) const
inline

Definition at line 67 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::isLocalVar ( ) const
inline

Definition at line 65 of file UT_AttributeEvaluator.h.

virtual bool UT_AttributeEvaluator::isStringValue ( ) const
inlinevirtual

Reimplemented in PDG_AttributeEvaluator.

Definition at line 80 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::isTimeDependent ( ) const
inline

Definition at line 63 of file UT_AttributeEvaluator.h.

virtual bool UT_AttributeEvaluator::isValid ( ) const
inlinevirtual

Definition at line 82 of file UT_AttributeEvaluator.h.

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

Definition at line 56 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::needsToBeDeleted ( ) const
inline

Definition at line 69 of file UT_AttributeEvaluator.h.

int UT_AttributeEvaluator::padding ( ) const
inline

Definition at line 60 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 105 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::myHasComponent
protected

Definition at line 109 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::myIsLocalVar
protected

Definition at line 108 of file UT_AttributeEvaluator.h.

UT_String UT_AttributeEvaluator::myName
protected

Definition at line 104 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::myNeedsToBeDeleted
protected

Definition at line 110 of file UT_AttributeEvaluator.h.

int UT_AttributeEvaluator::myPadding
protected

Definition at line 106 of file UT_AttributeEvaluator.h.

bool UT_AttributeEvaluator::myTimeDep
protected

Definition at line 107 of file UT_AttributeEvaluator.h.


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