bpp-phyl  2.2.0
bpp::SitePatterns::SortableSite Class Reference

Class used for site pattern sorting. More...

+ Collaboration diagram for bpp::SitePatterns::SortableSite:

Public Member Functions

 SortableSite ()
 
 SortableSite (const SortableSite &ss)
 
SortableSiteoperator= (const SortableSite &ss)
 
bool operator< (const SortableSite &ss) const
 
virtual ~SortableSite ()
 

Public Attributes

std::string siteS
 
const Site * siteP
 
size_t originalPosition
 

Detailed Description

Class used for site pattern sorting.

Definition at line 76 of file SitePatterns.h.

Constructor & Destructor Documentation

◆ SortableSite() [1/2]

bpp::SitePatterns::SortableSite::SortableSite ( )
inline

Definition at line 84 of file SitePatterns.h.

◆ SortableSite() [2/2]

bpp::SitePatterns::SortableSite::SortableSite ( const SortableSite ss)
inline

Definition at line 85 of file SitePatterns.h.

◆ ~SortableSite()

virtual bpp::SitePatterns::SortableSite::~SortableSite ( )
inlinevirtual

Definition at line 96 of file SitePatterns.h.

Member Function Documentation

◆ operator<()

bool bpp::SitePatterns::SortableSite::operator< ( const SortableSite ss) const
inline

Definition at line 94 of file SitePatterns.h.

References siteS.

◆ operator=()

SortableSite& bpp::SitePatterns::SortableSite::operator= ( const SortableSite ss)
inline

Definition at line 86 of file SitePatterns.h.

References originalPosition, siteP, and siteS.

Member Data Documentation

◆ originalPosition

size_t bpp::SitePatterns::SortableSite::originalPosition

Definition at line 81 of file SitePatterns.h.

Referenced by operator=(), and bpp::SitePatterns::SitePatterns().

◆ siteP

const Site* bpp::SitePatterns::SortableSite::siteP

Definition at line 80 of file SitePatterns.h.

Referenced by operator=(), and bpp::SitePatterns::SitePatterns().

◆ siteS

std::string bpp::SitePatterns::SortableSite::siteS

Definition at line 79 of file SitePatterns.h.

Referenced by operator<(), operator=(), and bpp::SitePatterns::SitePatterns().


The documentation for this class was generated from the following file: