m_CmdComposite =
Ref(&cmd_composite);
74m_FuncLog.Reset(
nullptr);
109 voidx_AssignReturnValue(
const CObjectInfo& oi,
const string& field_name);
110 voidx_AssignReturnValueFromContainer(
const CObjectInfo& oi,
const string& container,
const string& field_name);
114 voidx_GetOptionalArgs(
string&
delimiter,
bool& remove_field,
size_t& index);
151 virtual string x_Print()
const;
162 virtual string x_Print()
const;
168: m_Name(name), m_Type(
type), m_Optional(opt) {}
187 #define DECLARE_FUNC_CLASS(CL_NAME) \ 188 class NCBI_GUIOBJUTILS_EXPORT CL_NAME : public IEditMacroFunction \ 191 CL_NAME(EScopeEnum func_scope) : IEditMacroFunction(func_scope) {} \ 192 virtual void TheFunction(); \ 193 static const char* sm_FunctionName; \ 195 virtual bool x_ValidArguments() const; \ 199 #define DECLARE_FUNC_CLASS_WITH_ARGS(CL_NAME) \ 200 class NCBI_GUIOBJUTILS_EXPORT CL_NAME : public IEditMacroFunction \ 203 CL_NAME(EScopeEnum func_scope) : IEditMacroFunction(func_scope) {} \ 204 virtual void TheFunction(); \ 205 static CTempString GetFuncName(); \ 206 static const vector<SArgMetaData> sm_Arguments; \ 208 virtual bool x_ValidArguments() const; \ 212 #define DECLARE_FUNC_CLASS_WITH_FNCNAME(CL_NAME) \ 213 class NCBI_GUIOBJUTILS_EXPORT CL_NAME : public IEditMacroFunction \ 216 CL_NAME(EScopeEnum func_scope) : IEditMacroFunction(func_scope) {} \ 217 virtual void TheFunction(); \ 218 static CTempString GetFuncName(); \ 220 virtual bool x_ValidArguments() const; \ 223 #define DEFINE_MACRO_FUNCNAME(CL_NAME, FN_NAME) \ 224 CTempString CL_NAME::GetFuncName() \ 226 static const char* s_funcname = FN_NAME; \implements special composite command, which does not call to its internal commands when run the very ...
definition of a Culling tree
Base class for any user function that performs editing operations on ASN.1 data.
IMacroBioDataIter - common interface of all iterators used in the editing macros The type of the iter...
Abstract base class for any user function which can be called from either the WHERE or DO clauses.
Include a standard set of the NCBI C++ Toolkit most basic headers.
virtual void TheFunction()=0
Function implementation.
virtual void x_ResetState()
Reset the state of member variables that are set directly/indirectly from function arguments.
virtual void operator()(CMacroCmdComposite &cmd_composite, CIRef< IMacroBioDataIter > &data, CQueryParseTree::TNode &qnode) override
Function operator.
void x_LogChangedQuals(const CRef< IFunctionLog > &log)
list< SResolvedField > TObs
virtual bool x_IsNestedFunctionReturnValid() const
CMQueryNodeValue::EType m_Type
vector< CRef< CMQueryNodeValue > > TNodeValuesVec
CGeneralFuncLog(const TChangedQuals &quals)
virtual string x_Print() const
virtual void x_SetUserObjects(CQueryParseTree::TNode &qnode)=0
IEditMacroFunction(EScopeEnum func_scope)
SArgMetaData(const string &name, CMQueryNodeValue::EType type, bool opt)
Int4 m_QualsChangedCount
Number of changed qualifiers during the function call.
#define DECLARE_FUNC_CLASS_WITH_FNCNAME(CL_NAME)
virtual string x_Print() const =0
bool HasDataChanged() const
CRef< CMQueryNodeValue > m_Result
TChangedQuals m_ChangedQuals
virtual string x_Print() const
CGeneralFuncLog(const string &msg, size_t nr)
virtual void x_InitCall(TData &data)=0
virtual ~IEditMacroFunction()
Virtual destructor.
string m_FuncName
Name of the function as it's been used in the script.
CRef< IFunctionLog > m_FuncLog
const CRef< IFunctionLog > & GetFunctionLog() const
IFunctionLog(const TChangedQuals &quals)
CDiscrLog(const TChangedQuals &quals)
CIRef< IMacroBioDataIter > m_DataIter
virtual bool x_ValidArguments() const =0
Tests the number and the type of function arguments.
CRef< C > Ref(C *object)
Helper functions to get CRef<> and CConstRef<> objects.
int32_t Int4
4-byte (32-bit) signed integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_GUIOBJUTILS_EXPORT
Defines to provide correct exporting from DLLs in Windows.
Biodata iterators for macro execution.
Interface class for macro function implementation.
const GenericPointer< typename T::ValueType > T2 value
static void x_Print(const CConfig::TParamTree *tree, const string §ion)
static const char delimiter[]
static SLJIT_INLINE sljit_ins nr(sljit_gpr dst, sljit_gpr src)
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
void Merge(wxMenu &menu_1, const wxMenu &menu_2)
merges all items form menu_2 into menu_1, preserving the structure if possible
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4