bpp-seq3  3.0.0
BppOSequenceStreamReaderFormat.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: The Bio++ Development Group
2 //
3 // SPDX-License-Identifier: CECILL-2.1
4 
5 #ifndef BPP_SEQ_IO_BPPOSEQUENCESTREAMREADERFORMAT_H
6 #define BPP_SEQ_IO_BPPOSEQUENCESTREAMREADERFORMAT_H
7 
8 
9 #include "ISequenceStream.h"
10 #include "IoSequenceFactory.h"
11 
12 namespace bpp
13 {
22  public virtual IOFormat
23 {
24 private:
25  std::map<std::string, std::string> unparsedArguments_;
26 
27 public:
31 
32 public:
33  const std::string getFormatName() const { return "BppO"; }
34 
35  const std::string getFormatDescription() const { return "Bpp Options format."; }
36 
37  const std::string getDataType() const { return "Sequence stream reader"; }
38 
46  std::unique_ptr<ISequenceStream> read(const std::string& description);
47 
51  virtual const std::map<std::string, std::string>& getUnparsedArguments() const { return unparsedArguments_; }
52 };
53 } // end of namespace bpp.
54 #endif // BPP_SEQ_IO_BPPOSEQUENCESTREAMREADERFORMAT_H
virtual const std::map< std::string, std::string > & getUnparsedArguments() const
std::unique_ptr< ISequenceStream > read(const std::string &description)
Read a ISequenceStream object from a string.
std::map< std::string, std::string > unparsedArguments_
This alphabet is used to deal NumericAlphabet.