NCBI C++ ToolKit
|
Search Toolkit Book for CMacroFunction_AddToSelectionSet
CMacroFunction_AddToSelectionSet. More...
#include <gui/widgets/phylo_tree/phylo_tree_query_macro_fns.hpp>
Public Member Functions | |
CMacroFunction_AddToSelectionSet (EScopeEnum func_scope, CPhyloTree *tree) | |
virtual void | TheFunction () |
Public Member Functions inherited from ITreeMacroFunction | |
ITreeMacroFunction (EScopeEnum func_scope, CPhyloTree *tree) | |
Ctor. More... | |
Protected Member Functions | |
void | x_AddSetInfo (CPhyloSelectionSet &s) |
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... | |
Protected Attributes | |
int | m_SelectionSetClusterID |
Base cluster id for selection sets. More... | |
Protected Attributes inherited from ITreeMacroFunction | |
CPhyloTreeNode * | m_Node |
CPhyloTree * | m_Tree |
vector< CRef< CQueryNodeValue > > | m_Args |
CRef< CQueryNodeValue > | m_Result |
Additional Inherited Members | |
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... | |
Static Protected Attributes inherited from ITreeMacroFunction | |
static string | s_JSFilterdKeywords [] |
static pair< string, string > | s_JSSwapKeywords [] |
CMacroFunction_AddToSelectionSet.
Definition at line 237 of file phylo_tree_query_macro_fns.hpp.
|
inline |
Definition at line 240 of file phylo_tree_query_macro_fns.hpp.
|
virtual |
Definition at line 541 of file phylo_tree_query_macro_fns.cpp.
References CPhyloSelectionSetMgr::AddSet(), QueryValueType::eFieldString, QueryValueType::eString, CRgbaColor::FromString(), QueryValueType::GetTypeAsString(), NCBI_THROW, and NStr::NumericToString().
|
protected |
Definition at line 596 of file phylo_tree_query_macro_fns.cpp.
References CPhyloSelectionSet::GetSelectionSet(), and CPhyloSelectionSet::SetSelected().
|
protected |
Base cluster id for selection sets.
Selection set and cluster-id ids can't overlap.
Definition at line 251 of file phylo_tree_query_macro_fns.hpp.