CH_Expression Class Reference

#include <CH_Expression.h>

List of all members.

Public Member Functions

 CH_Expression (const char *expr, CH_ExprLanguage language)
 ~CH_Expression ()
void save (ostream &os, int binary, bool compiled) const
bool load (UT_IStream &is)
const char * getExpression () const
void setExpression (const char *expr, CH_ExprLanguage language)
unsigned getExpressionFlag () const
void setExpressionFlag (int flag)
CH_ExprLanguage getLanguage () const
void setLanguage (CH_ExprLanguage language)
void unresolveLocalVars (int thread)
unsigned isCompiled () const
unsigned isHardwired () const
float evaluate (int thread)
 Evaluate as a float.
void evaluateString (UT_String &result, int thread)
 Evaluate as a string.
void dirtyExprCache ()
int modified () const
int usesInValue ()
int usesOutValue ()
int usesValues ()
int usesSlopes ()
int usesAccels ()
int usesKnots ()
void buildOpDependencies (void *ref_id, int thread)
int changeOpRef (const char *new_fullpath, const char *old_fullpath, const char *old_cwd, const char *chan_name, const char *old_chan_name, int thread)
void * getSingleFunctionInstanceData (EV_FUNCTION *func, int thread, UT_String &argument)
int findString (const char *str, bool fullword, bool usewildcards) const
int changeString (const char *from, const char *to, bool fullword, int thread)
const char * getReferencePath () const
void setReferencePath (const char *path)
CH_Expressionoperator= (const CH_Expression &from)
 operator const char * () const

Static Public Member Functions

static void addExprFlags (int flags, int thread)
static int & exprFlags ()
static SYS_DEPRECATED void setTimeDependency ()

Friends

ostream & operator<< (ostream &os, const CH_Expression &d)


Detailed Description

Definition at line 41 of file CH_Expression.h.


Constructor & Destructor Documentation

CH_Expression::CH_Expression ( const char *  expr,
CH_ExprLanguage  language 
)

CH_Expression::~CH_Expression (  ) 


Member Function Documentation

static void CH_Expression::addExprFlags ( int  flags,
int  thread 
) [static]

void CH_Expression::buildOpDependencies ( void *  ref_id,
int  thread 
)

int CH_Expression::changeOpRef ( const char *  new_fullpath,
const char *  old_fullpath,
const char *  old_cwd,
const char *  chan_name,
const char *  old_chan_name,
int  thread 
)

int CH_Expression::changeString ( const char *  from,
const char *  to,
bool  fullword,
int  thread 
)

void CH_Expression::dirtyExprCache (  ) 

float CH_Expression::evaluate ( int  thread  ) 

Evaluate as a float.

void CH_Expression::evaluateString ( UT_String result,
int  thread 
)

Evaluate as a string.

static int& CH_Expression::exprFlags (  )  [static]

int CH_Expression::findString ( const char *  str,
bool  fullword,
bool  usewildcards 
) const

const char* CH_Expression::getExpression (  )  const

unsigned CH_Expression::getExpressionFlag (  )  const

CH_ExprLanguage CH_Expression::getLanguage (  )  const

const char* CH_Expression::getReferencePath (  )  const

void* CH_Expression::getSingleFunctionInstanceData ( EV_FUNCTION func,
int  thread,
UT_String argument 
)

unsigned CH_Expression::isCompiled (  )  const

unsigned CH_Expression::isHardwired (  )  const

bool CH_Expression::load ( UT_IStream is  ) 

int CH_Expression::modified (  )  const

CH_Expression::operator const char * (  )  const [inline]

Definition at line 106 of file CH_Expression.h.

CH_Expression& CH_Expression::operator= ( const CH_Expression from  )  [inline]

Definition at line 98 of file CH_Expression.h.

void CH_Expression::save ( ostream &  os,
int  binary,
bool  compiled 
) const

void CH_Expression::setExpression ( const char *  expr,
CH_ExprLanguage  language 
)

void CH_Expression::setExpressionFlag ( int  flag  ) 

void CH_Expression::setLanguage ( CH_ExprLanguage  language  ) 

void CH_Expression::setReferencePath ( const char *  path  ) 

static SYS_DEPRECATED void CH_Expression::setTimeDependency (  )  [static]

void CH_Expression::unresolveLocalVars ( int  thread  ) 

int CH_Expression::usesAccels (  ) 

int CH_Expression::usesInValue (  ) 

int CH_Expression::usesKnots (  ) 

int CH_Expression::usesOutValue (  ) 

int CH_Expression::usesSlopes (  ) 

int CH_Expression::usesValues (  ) 


Friends And Related Function Documentation

ostream& operator<< ( ostream &  os,
const CH_Expression d 
) [friend]

Definition at line 137 of file CH_Expression.h.


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

Generated on Fri May 25 00:10:17 2012 for HDK by  doxygen 1.5.9