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

Search Toolkit Book for CPhyloTreePane::TreeNavHistory

#include <gui/widgets/phylo_tree/phylo_tree_pane.hpp>

+ Collaboration diagram for CPhyloTreePane::TreeNavHistory:

Public Member Functions

 TreeNavHistory ()
 
 TreeNavHistory (const CGlPane &p)
 
CGlPane Current () const
 
bool Empty () const
 
void Add (const CGlPane &p)
 
bool EqualPanes (const CGlPane &lhs, const CGlPane &rhs) const
 
bool CanGoBack () const
 
bool CanGoForward () const
 
CGlPane Back ()
 
CGlPane Forward ()
 
void Reset (const CGlPane &p)
 

Public Attributes

std::vector< CGlPanem_History
 
size_t m_BackForwardPos
 position in history More...
 

Detailed Description

Definition at line 208 of file phylo_tree_pane.hpp.

Constructor & Destructor Documentation

◆ TreeNavHistory() [1/2]

CPhyloTreePane::TreeNavHistory::TreeNavHistory ( )
inline

Definition at line 209 of file phylo_tree_pane.hpp.

◆ TreeNavHistory() [2/2]

CPhyloTreePane::TreeNavHistory::TreeNavHistory ( const CGlPane p)
inline

Definition at line 210 of file phylo_tree_pane.hpp.

References m_History.

Member Function Documentation

◆ Add()

void CPhyloTreePane::TreeNavHistory::Add ( const CGlPane p)

Definition at line 356 of file phylo_tree_pane.cpp.

Referenced by CPhyloTreePane::SaveCurrentView().

◆ Back()

CGlPane CPhyloTreePane::TreeNavHistory::Back ( )
inline

Definition at line 219 of file phylo_tree_pane.hpp.

References m_BackForwardPos, and m_History.

Referenced by CPhyloTreePane::GoBack().

◆ CanGoBack()

bool CPhyloTreePane::TreeNavHistory::CanGoBack ( ) const
inline

Definition at line 217 of file phylo_tree_pane.hpp.

References m_BackForwardPos.

Referenced by CPhyloTreePane::CanGoBack().

◆ CanGoForward()

bool CPhyloTreePane::TreeNavHistory::CanGoForward ( ) const
inline

Definition at line 218 of file phylo_tree_pane.hpp.

References m_BackForwardPos, and m_History.

Referenced by CPhyloTreePane::CanGoForward().

◆ Current()

CGlPane CPhyloTreePane::TreeNavHistory::Current ( ) const

Definition at line 325 of file phylo_tree_pane.cpp.

References Empty(), m_BackForwardPos, and m_History.

Referenced by CPhyloTreePane::SaveCurrentView().

◆ Empty()

bool CPhyloTreePane::TreeNavHistory::Empty ( void  ) const
inline

Definition at line 214 of file phylo_tree_pane.hpp.

References m_History.

Referenced by Current(), and CPhyloTreePane::SaveCurrentView().

◆ EqualPanes()

bool CPhyloTreePane::TreeNavHistory::EqualPanes ( const CGlPane lhs,
const CGlPane rhs 
) const

Definition at line 330 of file phylo_tree_pane.cpp.

References delta(), fabs, CGlPane::GetVisibleRect(), l(), and r().

Referenced by CPhyloTreePane::SaveCurrentView().

◆ Forward()

CGlPane CPhyloTreePane::TreeNavHistory::Forward ( )
inline

Definition at line 220 of file phylo_tree_pane.hpp.

References m_BackForwardPos, and m_History.

Referenced by CPhyloTreePane::GoForward().

◆ Reset()

void CPhyloTreePane::TreeNavHistory::Reset ( const CGlPane p)

Member Data Documentation

◆ m_BackForwardPos

size_t CPhyloTreePane::TreeNavHistory::m_BackForwardPos

position in history

Definition at line 225 of file phylo_tree_pane.hpp.

Referenced by Back(), CanGoBack(), CanGoForward(), Current(), and Forward().

◆ m_History

std::vector<CGlPane> CPhyloTreePane::TreeNavHistory::m_History

Definition at line 224 of file phylo_tree_pane.hpp.

Referenced by Back(), CanGoForward(), Current(), Empty(), Forward(), and TreeNavHistory().


The documentation for this struct was generated from the following files:
Modified on Fri Sep 20 14:58:10 2024 by modify_doxy.py rev. 669887