NCBI C++ ToolKit
Public Member Functions | Public Attributes | List of all members
CPhyloTreeCalculator::AttrKey Struct Reference

Search Toolkit Book for CPhyloTreeCalculator::AttrKey

Structure allows us to more efficiently store and look up keys (usually seq-ids) in m_AttrTable. More...

Public Member Functions

 AttrKey ()
 
 AttrKey (const string &id, unsigned int idx)
 
bool operator< (const AttrKey &rhs) const
 Sort keys on seq-id string value. More...
 

Public Attributes

string m_IDStr
 
unsigned int m_AttrTableIdx
 

Detailed Description

Structure allows us to more efficiently store and look up keys (usually seq-ids) in m_AttrTable.

Definition at line 147 of file phylo_tree_algorithm.hpp.

Constructor & Destructor Documentation

◆ AttrKey() [1/2]

CPhyloTreeCalculator::AttrKey::AttrKey ( )
inline

Definition at line 148 of file phylo_tree_algorithm.hpp.

◆ AttrKey() [2/2]

CPhyloTreeCalculator::AttrKey::AttrKey ( const string id,
unsigned int  idx 
)
inline

Definition at line 149 of file phylo_tree_algorithm.hpp.

Member Function Documentation

◆ operator<()

bool CPhyloTreeCalculator::AttrKey::operator< ( const AttrKey rhs) const
inline

Sort keys on seq-id string value.

Definition at line 154 of file phylo_tree_algorithm.hpp.

References m_IDStr.

Member Data Documentation

◆ m_AttrTableIdx

unsigned int CPhyloTreeCalculator::AttrKey::m_AttrTableIdx

Definition at line 157 of file phylo_tree_algorithm.hpp.

◆ m_IDStr

string CPhyloTreeCalculator::AttrKey::m_IDStr

Definition at line 156 of file phylo_tree_algorithm.hpp.

Referenced by operator<(), and CPhyloTreeCalculator::x_OnStep().


The documentation for this struct was generated from the following file:
Modified on Fri Jan 05 07:22:42 2024 by modify_doxy.py rev. 669887