bpp-seq3
3.0.0
|
The core site interface. More...
#include <Bpp/Seq/CoreSite.h>
Public Member Functions | |
virtual | ~CoreSite () |
The Clonable interface | |
CoreSite * | clone () const =0 |
Setting/getting the position of the site. | |
virtual int | getPosition () const =0 |
Get the position of this site. More... | |
virtual void | setPosition (int position)=0 |
Set the position of this site. More... | |
The core site interface.
The core interface for sites manipulation. It is very similar to the CoreSequence interface (a site is a vertical sequence!). Sites have a 'position' attribute. This attribute stands for an index in an alignment, and may be used as a unique identifier, in the same manner that names identify sequence objects.
Definition at line 60 of file CoreSite.h.
|
inlinevirtual |
Definition at line 76 of file CoreSite.h.
|
pure virtual |
Implements bpp::Clonable.
Implemented in bpp::CruxSymbolListSite, bpp::Site, bpp::ProbabilisticSite, and bpp::AbstractCoreSite.
|
pure virtual |
Get the position of this site.
Implemented in bpp::AbstractCoreSite.
Referenced by bpp::AbstractCoreSite::operator=().
|
pure virtual |
Set the position of this site.
position | The new position of the site. |
Implemented in bpp::AbstractCoreSite.