1 #ifndef GUI_OBJUTILS___MACRO_PARSE_FUNCTIONS__HPP
2 #define GUI_OBJUTILS___MACRO_PARSE_FUNCTIONS__HPP
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
#define NCBI_GUIWIDGETS_EDIT_EXPORT
Defines to provide correct exporting from DLLs in Windows.
CNcbiOstream & operator<<(CNcbiOstream &ostrm, const SMacroFuncWithArgs &f_args)
vector< SMacroFuncWithArgs > TMacroFuncList
const string kPlaceHolderFn
Temporary function name to return the relevant information from the Where clause.
TMacroFuncList GetWhereFunctionsWithArgs(const macro::CMacroRep ¯o_rep)
Returns the list of WHERE functions and their arguments as they appear in the macro.
const string kncRNAclassFn
void LookupFncArguments(const macro::CMacroRep ¯o_rep, TMacroFuncList &func_list)
Looks up variables names used as function arguments and substitutes their name with their values.
const string kComparisonOp
vector< string > GetDoFunctions(const macro::CMacroRep ¯o_rep)
Returns the list of do-functions present in the DO clause of the macro - includes multiples.
TMacroFuncList GetDoFunctionsWithArgs(const macro::CMacroRep ¯o_rep, TMacroFuncList &do_constraints)
Returns the list of DO functions and their arguments as they appear in the macro.
Structure to store parsed function name and its arguments - as it appears in the macro It is used whe...
bool operator==(const SMacroFuncWithArgs &) const
SMacroFuncWithArgs(const string &func_name)
CRef< SMacroFuncWithArgs > m_ChildFnc