bpp-phyl3
3.0.0
BppOMultiTreeWriterFormat.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_PHYL_IO_BPPOMULTITREEWRITERFORMAT_H
6
#define BPP_PHYL_IO_BPPOMULTITREEWRITERFORMAT_H
7
8
9
#include "
IoTreeFactory.h
"
10
11
namespace
bpp
12
{
21
class
BppOMultiTreeWriterFormat
:
22
public
virtual
IOFormat
23
{
24
private
:
25
std::map<std::string, std::string>
unparsedArguments_
;
26
int
warningLevel_
;
27
28
public
:
29
BppOMultiTreeWriterFormat
(
int
warningLevel) :
30
unparsedArguments_
(),
warningLevel_
(warningLevel) {}
31
32
virtual
~BppOMultiTreeWriterFormat
() {}
33
34
public
:
35
const
std::string
getFormatName
()
const
{
return
"BppO"
; }
36
37
const
std::string
getFormatDescription
()
const
{
return
"Bpp Options format."
; }
38
39
const
std::string
getDataType
()
const
{
return
"Trees writer"
; }
40
48
OMultiTree
*
readOMultiTree
(
const
std::string& description);
49
53
virtual
const
std::map<std::string, std::string>&
getUnparsedArguments
()
const
{
return
unparsedArguments_
; }
54
};
55
}
// end of namespace bpp.
56
#endif
// BPP_PHYL_IO_BPPOMULTITREEWRITERFORMAT_H
IoTreeFactory.h
bpp::BppOMultiTreeWriterFormat
Tree I/O in BppO format.
Definition:
BppOMultiTreeWriterFormat.h:23
bpp::BppOMultiTreeWriterFormat::unparsedArguments_
std::map< std::string, std::string > unparsedArguments_
Definition:
BppOMultiTreeWriterFormat.h:25
bpp::BppOMultiTreeWriterFormat::~BppOMultiTreeWriterFormat
virtual ~BppOMultiTreeWriterFormat()
Definition:
BppOMultiTreeWriterFormat.h:32
bpp::BppOMultiTreeWriterFormat::getDataType
const std::string getDataType() const
Definition:
BppOMultiTreeWriterFormat.h:39
bpp::BppOMultiTreeWriterFormat::getFormatName
const std::string getFormatName() const
Definition:
BppOMultiTreeWriterFormat.h:35
bpp::BppOMultiTreeWriterFormat::getUnparsedArguments
virtual const std::map< std::string, std::string > & getUnparsedArguments() const
Definition:
BppOMultiTreeWriterFormat.h:53
bpp::BppOMultiTreeWriterFormat::BppOMultiTreeWriterFormat
BppOMultiTreeWriterFormat(int warningLevel)
Definition:
BppOMultiTreeWriterFormat.h:29
bpp::BppOMultiTreeWriterFormat::warningLevel_
int warningLevel_
Definition:
BppOMultiTreeWriterFormat.h:26
bpp::BppOMultiTreeWriterFormat::readOMultiTree
OMultiTree * readOMultiTree(const std::string &description)
Read a OMultiTree object from a string.
Definition:
BppOMultiTreeWriterFormat.cpp:17
bpp::BppOMultiTreeWriterFormat::getFormatDescription
const std::string getFormatDescription() const
Definition:
BppOMultiTreeWriterFormat.h:37
bpp::IOFormat
bpp::OMultiTree
General interface for tree writers.
Definition:
IoTree.h:382
bpp
Defines the basic types of data flow nodes.
Bpp
Phyl
Io
BppOMultiTreeWriterFormat.h
Generated on Fri Jul 19 2024 11:49:20 for bpp-phyl3 by
1.9.1