bpp-seq3  3.0.0
bpp::BppOSequenceStreamReaderFormat Class Reference

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

#include <Bpp/Seq/Io/BppOSequenceStreamReaderFormat.h>

+ Inheritance diagram for bpp::BppOSequenceStreamReaderFormat:
+ Collaboration diagram for bpp::BppOSequenceStreamReaderFormat:

Public Member Functions

 BppOSequenceStreamReaderFormat ()
 
virtual ~BppOSequenceStreamReaderFormat ()
 
const std::string getFormatName () const
 
const std::string getFormatDescription () const
 
const std::string getDataType () const
 
std::unique_ptr< ISequenceStreamread (const std::string &description)
 Read a ISequenceStream object from a string. More...
 
virtual const std::map< std::string, std::string > & getUnparsedArguments () const
 

Private Attributes

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

Detailed Description

Sequence I/O in BppO format.

Creates a new ISequenceStream 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 BppOSequenceStreamReaderFormat.h.

Constructor & Destructor Documentation

◆ BppOSequenceStreamReaderFormat()

bpp::BppOSequenceStreamReaderFormat::BppOSequenceStreamReaderFormat ( )
inline

Definition at line 28 of file BppOSequenceStreamReaderFormat.h.

◆ ~BppOSequenceStreamReaderFormat()

virtual bpp::BppOSequenceStreamReaderFormat::~BppOSequenceStreamReaderFormat ( )
inlinevirtual

Definition at line 30 of file BppOSequenceStreamReaderFormat.h.

Member Function Documentation

◆ getDataType()

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

Implements bpp::IOFormat.

Definition at line 37 of file BppOSequenceStreamReaderFormat.h.

◆ getFormatDescription()

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

Implements bpp::IOFormat.

Definition at line 35 of file BppOSequenceStreamReaderFormat.h.

◆ getFormatName()

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

Implements bpp::IOFormat.

Definition at line 33 of file BppOSequenceStreamReaderFormat.h.

◆ getUnparsedArguments()

virtual const std::map<std::string, std::string>& bpp::BppOSequenceStreamReaderFormat::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 51 of file BppOSequenceStreamReaderFormat.h.

References unparsedArguments_.

◆ read()

unique_ptr< ISequenceStream > BppOSequenceStreamReaderFormat::read ( const std::string &  description)

Read a ISequenceStream object from a string.

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

Definition at line 15 of file BppOSequenceStreamReaderFormat.cpp.

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

Member Data Documentation

◆ unparsedArguments_

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

Definition at line 25 of file BppOSequenceStreamReaderFormat.h.

Referenced by getUnparsedArguments().


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