NCBI C++ ToolKit
|
Search Toolkit Book for CMacroResolver
CMacroResolver Variable and function resolver Provides interfaces for: More...
#include <gui/objutils/macro_engine_parallel.hpp>
Public Member Functions | |
CMacroResolver (const CMacroRep ¯o_rep, CIRef< IMacroBioDataIter > data_iter, CRef< CMacroCmdComposite > CmdComposite, CConstIRef< IMacroFunctionContext > context, CMacroStat &stat) | |
virtual bool | ResolveIdentifier (const string &identifier, CMQueryNodeValue &val, const CQueryParseTree::TNode *parent) |
Resolve identifier and store the value in @val. More... | |
virtual void | CallFunction (const string &name, CQueryParseTree::TNode &qnode) |
Function call the function specified by name, passing args as parameters and it can update nv as a result. More... | |
virtual CQueryParseTree * | GetAssignmentWhereClause (int index) const |
Return the "where" sub-query from the DO-DONE section identified by the index in the main parsed tree. More... | |
virtual CRef< CMQueryNodeValue > | GetOrCreateRTVar (const string &name) |
Get or create run-time variable. More... | |
virtual bool | ExistRTVar (const string &name) |
Return true if the run-time variable, identified by its name, is defined. More... | |
virtual void | AddTmpRTVarObject (const string &name, CObjectInfo &oi) |
used together with the Assignment Operator (CMQueryFunctionAssignment) More... | |
virtual bool | GetTmpRTVarObject (const string &name, CObjectInfo &oi) |
virtual void | ResetTmpRTVarObjects () |
Public Member Functions inherited from IResolver | |
virtual | ~IResolver () |
Private Types | |
typedef map< string, CRef< CMQueryNodeValue > > | TRTVarsMap |
typedef map< string, CObjectInfo > | TTempRTVarsMap |
Private Member Functions | |
bool | x_ResolveRTVar (const string &identifier, CMQueryNodeValue &val, const CQueryParseTree::TNode *parent) |
Return the value of Run-Time (RT) variable. More... | |
CRef< CMQueryNodeValue > | x_LocateRTVar (const string &identifier) |
Return data associated with the RT variable based on its name. More... | |
CMacroResolver Variable and function resolver Provides interfaces for:
Definition at line 101 of file macro_engine_parallel.hpp.