bpp-phyl3  3.0.0
bpp::AbstractIMultiPhyloDAG Class Referenceabstract

Partial implementation of the IMultiDAG interface. More...

#include <Bpp/Phyl/Io/IoDAG.h>

+ Inheritance diagram for bpp::AbstractIMultiPhyloDAG:
+ Collaboration diagram for bpp::AbstractIMultiPhyloDAG:

Public Member Functions

 AbstractIMultiPhyloDAG ()
 
virtual ~AbstractIMultiPhyloDAG ()
 
virtual void readPhyloDAGs (std::istream &in, std::vector< std::unique_ptr< PhyloDAG >> &dags) const override=0
 Read dags from a stream. More...
 
virtual void readPhyloDAGs (const std::string &path, std::vector< std::unique_ptr< PhyloDAG >> &dags) const override
 Read dags from a file. More...
 
virtual const std::string getDataType () const
 
virtual const std::string getFormatName () const=0
 
virtual const std::string getFormatDescription () const=0
 

Detailed Description

Partial implementation of the IMultiDAG interface.

Definition at line 250 of file IoDAG.h.

Constructor & Destructor Documentation

◆ AbstractIMultiPhyloDAG()

bpp::AbstractIMultiPhyloDAG::AbstractIMultiPhyloDAG ( )
inline

Definition at line 254 of file IoDAG.h.

◆ ~AbstractIMultiPhyloDAG()

virtual bpp::AbstractIMultiPhyloDAG::~AbstractIMultiPhyloDAG ( )
inlinevirtual

Definition at line 255 of file IoDAG.h.

Member Function Documentation

◆ getDataType()

virtual const std::string bpp::IODAG::getDataType ( ) const
inlinevirtualinherited

Implements bpp::IOFormat.

Definition at line 48 of file IoDAG.h.

◆ readPhyloDAGs() [1/2]

virtual void bpp::AbstractIMultiPhyloDAG::readPhyloDAGs ( const std::string &  path,
std::vector< std::unique_ptr< PhyloDAG >> &  dags 
) const
inlineoverridevirtual

Read dags from a file.

Parameters
pathThe file path.
dagsThe output dags vector.
Exceptions
ExceptionIf an error occurred.

Implements bpp::IMultiPhyloDAG.

Definition at line 260 of file IoDAG.h.

References readPhyloDAGs().

◆ readPhyloDAGs() [2/2]

virtual void bpp::AbstractIMultiPhyloDAG::readPhyloDAGs ( std::istream &  in,
std::vector< std::unique_ptr< PhyloDAG >> &  dags 
) const
overridepure virtual

Read dags from a stream.

Parameters
inThe input stream.
dagsThe output dags container.
Exceptions
ExceptionIf an error occurred.

Implements bpp::IMultiPhyloDAG.

Implemented in bpp::ExtendedNewick.

Referenced by readPhyloDAGs().


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