NCBI C++ ToolKit
|
Search Toolkit Book for CMacroFunction_NumChildren
CMacroFunction_NumChildren Returns the number of children of the current node so that you can search for nodes based on that factor, e.g. More...
#include <gui/widgets/phylo_tree/phylo_tree_query_macro_fns.hpp>
Public Member Functions | |
CMacroFunction_NumChildren (EScopeEnum func_scope, CPhyloTree *tree) | |
virtual void | TheFunction () |
Public Member Functions inherited from ITreeMacroFunction | |
ITreeMacroFunction (EScopeEnum func_scope, CPhyloTree *tree) | |
Ctor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ITreeMacroFunction | |
virtual void | x_InitCall (CPhyloTreeNode &data) |
Functions make the action and collect statistics. More... | |
virtual void | x_SetUserObjects (CQueryParseTree::TNode &qnode) |
void | x_AssignReturnValue (const CObjectInfo &oi, const string &field_name) |
function useful mostly for functions in the WHERE clause More... | |
Static Protected Member Functions inherited from ITreeMacroFunction | |
static string | JSFilter (const string &str) |
Filter out java/javascript keywords that could possibly be used in xss attacks, particularly event handler names and < and > symbols. More... | |
Protected Attributes inherited from ITreeMacroFunction | |
CPhyloTreeNode * | m_Node |
CPhyloTree * | m_Tree |
vector< CRef< CQueryNodeValue > > | m_Args |
CRef< CQueryNodeValue > | m_Result |
Static Protected Attributes inherited from ITreeMacroFunction | |
static string | s_JSFilterdKeywords [] |
static pair< string, string > | s_JSSwapKeywords [] |
CMacroFunction_NumChildren Returns the number of children of the current node so that you can search for nodes based on that factor, e.g.
NumChildren("") > 2
Definition at line 288 of file phylo_tree_query_macro_fns.hpp.
|
inline |
Definition at line 291 of file phylo_tree_query_macro_fns.hpp.
|
virtual |
Definition at line 632 of file phylo_tree_query_macro_fns.cpp.
References QueryValueType::eInt.