NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
CVisitorAccumulateProperty Class Reference

Search Toolkit Book for CVisitorAccumulateProperty

Public Member Functions

 CVisitorAccumulateProperty (const string &feature_name, bool include_node, CPhyloTree::TTreeIdx main_node_idx)
 
ETreeTraverseCode operator() (CPhyloTree &tree, CPhyloTree::TTreeIdx node_idx, int delta)
 
bool IsSumInteger () const
 
Int8 GetInteger () const
 
double GetDouble () const
 

Private Attributes

string m_FeatName
 
bool m_IncludeNode
 
Int8 m_SumInt
 
double m_SumDbl
 
bool m_SumIsInteger
 
CPhyloTree::TTreeIdx m_MainNode
 

Detailed Description

Definition at line 405 of file phylo_tree_query_macro_fns.cpp.

Constructor & Destructor Documentation

◆ CVisitorAccumulateProperty()

CVisitorAccumulateProperty::CVisitorAccumulateProperty ( const string feature_name,
bool  include_node,
CPhyloTree::TTreeIdx  main_node_idx 
)
inline

Definition at line 408 of file phylo_tree_query_macro_fns.cpp.

Member Function Documentation

◆ GetDouble()

double CVisitorAccumulateProperty::GetDouble ( void  ) const
inline

◆ GetInteger()

Int8 CVisitorAccumulateProperty::GetInteger ( void  ) const
inline

◆ IsSumInteger()

bool CVisitorAccumulateProperty::IsSumInteger ( ) const
inline

◆ operator()()

ETreeTraverseCode CVisitorAccumulateProperty::operator() ( CPhyloTree tree,
CPhyloTree::TTreeIdx  node_idx,
int  delta 
)
inline

Member Data Documentation

◆ m_FeatName

string CVisitorAccumulateProperty::m_FeatName
private

Definition at line 450 of file phylo_tree_query_macro_fns.cpp.

◆ m_IncludeNode

bool CVisitorAccumulateProperty::m_IncludeNode
private

Definition at line 451 of file phylo_tree_query_macro_fns.cpp.

◆ m_MainNode

CPhyloTree::TTreeIdx CVisitorAccumulateProperty::m_MainNode
private

Definition at line 456 of file phylo_tree_query_macro_fns.cpp.

◆ m_SumDbl

double CVisitorAccumulateProperty::m_SumDbl
private

Definition at line 454 of file phylo_tree_query_macro_fns.cpp.

◆ m_SumInt

Int8 CVisitorAccumulateProperty::m_SumInt
private

Definition at line 453 of file phylo_tree_query_macro_fns.cpp.

◆ m_SumIsInteger

bool CVisitorAccumulateProperty::m_SumIsInteger
private

Definition at line 455 of file phylo_tree_query_macro_fns.cpp.


The documentation for this class was generated from the following file:
Modified on Sat May 25 14:21:00 2024 by modify_doxy.py rev. 669887