19 #ifndef __CH_Expression_h__
20 #define __CH_Expression_h__
41 int64 getMemoryUsage(
bool inclusive)
const;
43 void save(std::ostream &os,
int binary,
bool compiled)
const;
46 const char *getExpression()
const;
47 void setExpression(
const char *expr,
49 unsigned getExpressionFlag()
const;
64 void unresolveLocalVars(
int thread);
66 unsigned isCompiled()
const;
67 bool isPureCompiled()
const;
70 fpreal evaluate(
int thread);
74 void dirtyExprCache();
76 bool modified()
const;
81 bool usesInValue()
const;
82 bool usesOutValue()
const;
83 bool usesValues()
const;
84 bool usesSlopes()
const;
85 bool usesAccels()
const;
86 bool usesKnots()
const;
89 void buildOpDependencies(
void *ref_id,
int thread);
90 int changeOpRef(
const char *new_fullpath,
91 const char *old_fullpath,
93 const char *chan_name,
94 const char *old_chan_name,
97 void *getSingleFunctionInstanceData(
100 int findString(
const char *str,
bool fullword,
101 bool usewildcards)
const;
102 int changeString(
const char *from,
const char *to,
103 bool fullword,
int thread);
105 const char *getReferencePath()
const;
106 void setReferencePath(
const char *
path);
108 void forceStringType();
124 operator const char *()
const {
return getExpression(); }
130 static void addExprFlags(
int flags,
int thread);
136 static int &exprFlags();
148 void changeExpr(const
char *
source,
int thread);
157 d.
save(os, 0,
false);
bool usesOutValue() const
#define SYS_DEPRECATED(__V__)
CH_Expression & operator=(const CH_Expression &from)
void setFlagsUnsafe(unsigned int flags)
const GLuint GLenum const void * binary
GLsizei const GLchar *const * path
**But if you need a result
GLsizei GLsizei GLchar * source
unsigned getExpressionFlag() const
bool hasFlag(unsigned int bit) const
CH_ExprLanguage getLanguage() 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
void save(std::ostream &os, bool binary) const
Save string to stream. Saves as binary if binary is true.
CH_Expression(const CH_Expression &from)
void setExpressionFlag(int flag)
const char * getExpression() const
unsigned int getFlags() const