bpp-seq  2.2.0
bpp::BppOSequenceReaderFormat Class Reference

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

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

+ Inheritance diagram for bpp::BppOSequenceReaderFormat:
+ Collaboration diagram for bpp::BppOSequenceReaderFormat:

Public Member Functions

 BppOSequenceReaderFormat (int warningLevel)
 
virtual ~BppOSequenceReaderFormat ()
 
const std::string getFormatName () const
 
const std::string getFormatDescription () const
 
const std::string getDataType () const
 
ISequenceread (const std::string &description) throw (Exception)
 Read a ISequence 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

Sequence I/O in BppO format.

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

Definition at line 56 of file BppOSequenceReaderFormat.h.

Constructor & Destructor Documentation

◆ BppOSequenceReaderFormat()

bpp::BppOSequenceReaderFormat::BppOSequenceReaderFormat ( int  warningLevel)
inline

Definition at line 64 of file BppOSequenceReaderFormat.h.

◆ ~BppOSequenceReaderFormat()

virtual bpp::BppOSequenceReaderFormat::~BppOSequenceReaderFormat ( )
inlinevirtual

Definition at line 67 of file BppOSequenceReaderFormat.h.

Member Function Documentation

◆ getDataType()

const std::string bpp::BppOSequenceReaderFormat::getDataType ( ) const
inline

Definition at line 74 of file BppOSequenceReaderFormat.h.

◆ getFormatDescription()

const std::string bpp::BppOSequenceReaderFormat::getFormatDescription ( ) const
inline

Definition at line 72 of file BppOSequenceReaderFormat.h.

◆ getFormatName()

const std::string bpp::BppOSequenceReaderFormat::getFormatName ( ) const
inline

Definition at line 70 of file BppOSequenceReaderFormat.h.

◆ getUnparsedArguments()

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

References unparsedArguments_.

◆ read()

ISequence * BppOSequenceReaderFormat::read ( const std::string &  description)
throw (Exception
)

Read a ISequence object from a string.

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

Definition at line 57 of file BppOSequenceReaderFormat.cpp.

Referenced by bpp::SequenceApplicationTools::getSequenceContainer().

Member Data Documentation

◆ unparsedArguments_

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

Definition at line 60 of file BppOSequenceReaderFormat.h.

Referenced by getUnparsedArguments().

◆ warningLevel_

int bpp::BppOSequenceReaderFormat::warningLevel_
private

Definition at line 61 of file BppOSequenceReaderFormat.h.


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