34 int64 getMemoryUsage(
bool inclusive)
const;
49 int64 getMemoryUsage(
bool inclusive)
const;
51 bool saveCompiled(std::ostream &os);
54 void setExpression(
const char *
source);
74 int64 getMemoryUsage(
bool inclusive)
const;
79 int save(std::ostream &os);
80 bool saveCompiled(std::ostream &os,
int thread);
88 const char *
getName()
const {
return myName; }
89 int getNArgs()
const {
return myArgTypes.entries(); }
90 const char *getReturnType()
const;
91 const char *getArgName(
int i);
92 const char *getArgType(
int i);
96 void updateDependency(
void *ref_id,
int thread);
97 int changeOpReference(
UT_String &new_source,
106 void unresolveLocalVars(
int thread);
111 void errorMessage(
const char *fmt,
int linenum = -1,
112 const char *a1=0,
const char *a2=0);
115 int getLastLineNum()
const;
116 int checkValidName(
const char *
name);
117 int checkType(
const char *
name);
118 int symbolExists(
const char *
name);
122 int addLoopBranch(
int linenum);
123 void resolveBreakCont(
EX_ExprLine *line,
int brk,
int cont);
124 int getAssignment(
EX_ExprLine *, EX_Stream &, EX_Token *,
int eol,
126 int doForLine(
EX_ExprLine *line, EX_Stream &is,
int thread);
127 int doWhileLine(
EX_ExprLine *line, EX_Stream &is,
int thread);
128 int doIfLine(
EX_ExprLine *line, EX_Stream &is,
int thread);
129 int doBreakLine(
EX_ExprLine *line, EX_Stream &is,
int);
130 int doReturnLine(
EX_ExprLine *line, EX_Stream &is);
132 int parseLine(EX_Stream &is,
int thread);
133 int resolveBranches();
134 int parseFunction(EX_Stream &is,
int thread);
136 int getScopeNest(EX_Stream &is,
int thread);
139 int thread,
unsigned &func_flags);
141 int thread,
unsigned int &func_flags);
144 int load(EX_Stream &xis,
const char *filename, std::ostream *err,
147 inline ex_Locals *pushLocals(ex_Locals &locals,
int thread);
148 inline void popLocals(ex_Locals *locals,
int thread);
159 std::ostream*myError;
168 EX_Function *myTableEntry;
GT_API const UT_StringHolder filename
bool getInlineFlag() const
**But if you need a result
const char * getName() const
GLsizei GLsizei GLchar * source
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
OIIO_UTIL_API bool exists(string_view path) noexcept
GLuint const GLchar * name
class representing a symbol operated upon by expressions
**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
int getRunningCount() const
void setInlineFlag(bool f)