bpp-phyl3  3.0.0
bpp::BppOTreeWriterFormat Class Reference

Tree I/O in BppO format. More...

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

+ Inheritance diagram for bpp::BppOTreeWriterFormat:
+ Collaboration diagram for bpp::BppOTreeWriterFormat:

Public Member Functions

 BppOTreeWriterFormat (int warningLevel)
 
virtual ~BppOTreeWriterFormat ()
 
const std::string getFormatName () const
 
const std::string getFormatDescription () const
 
const std::string getDataType () const
 
OTreereadOTree (const std::string &description)
 Read a OTree object from a string. More...
 
virtual const std::map< std::string, std::string > & getUnparsedArguments () const
 

Private Attributes

std::map< std::string, std::string > unparsedArguments_
 
int warningLevel_
 

Detailed Description

Tree I/O in BppO format.

Creates a new OTree object according to distribution description syntax (see the Bio++ Program Suite manual for a detailed description of this syntax).

Definition at line 21 of file BppOTreeWriterFormat.h.

Constructor & Destructor Documentation

◆ BppOTreeWriterFormat()

bpp::BppOTreeWriterFormat::BppOTreeWriterFormat ( int  warningLevel)
inline

Definition at line 29 of file BppOTreeWriterFormat.h.

◆ ~BppOTreeWriterFormat()

virtual bpp::BppOTreeWriterFormat::~BppOTreeWriterFormat ( )
inlinevirtual

Definition at line 32 of file BppOTreeWriterFormat.h.

Member Function Documentation

◆ getDataType()

const std::string bpp::BppOTreeWriterFormat::getDataType ( ) const
inlinevirtual

Implements bpp::IOFormat.

Definition at line 39 of file BppOTreeWriterFormat.h.

◆ getFormatDescription()

const std::string bpp::BppOTreeWriterFormat::getFormatDescription ( ) const
inlinevirtual

Implements bpp::IOFormat.

Definition at line 37 of file BppOTreeWriterFormat.h.

◆ getFormatName()

const std::string bpp::BppOTreeWriterFormat::getFormatName ( ) const
inlinevirtual

Implements bpp::IOFormat.

Definition at line 35 of file BppOTreeWriterFormat.h.

◆ getUnparsedArguments()

virtual const std::map<std::string, std::string>& bpp::BppOTreeWriterFormat::getUnparsedArguments ( ) const
inlinevirtual
Returns
The arguments and their unparsed values from the last call of the read function, if there are any.

Definition at line 53 of file BppOTreeWriterFormat.h.

References unparsedArguments_.

◆ readOTree()

OTree * BppOTreeWriterFormat::readOTree ( const std::string &  description)

Read a OTree object from a string.

Parameters
descriptionA string describing the reader in the keyval syntax.
Returns
A new OTree object according to options specified.
Exceptions
Exceptionif an error occurred.

Definition at line 17 of file BppOTreeWriterFormat.cpp.

References bpp::ApplicationTools::getBooleanParameter(), and bpp::KeyvalTools::parseProcedure().

Member Data Documentation

◆ unparsedArguments_

std::map<std::string, std::string> bpp::BppOTreeWriterFormat::unparsedArguments_
private

Definition at line 25 of file BppOTreeWriterFormat.h.

Referenced by getUnparsedArguments().

◆ warningLevel_

int bpp::BppOTreeWriterFormat::warningLevel_
private

Definition at line 26 of file BppOTreeWriterFormat.h.


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