bpp-core3
3.0.0
|
General interface writers. More...
#include <Bpp/Io/IoParametrizable.h>
Public Member Functions | |
OParametrizable () | |
virtual | ~OParametrizable () |
virtual void | write (const Parametrizable ¶metrizable, OutputStream &out, std::vector< std::string > &writtenNames, bool printComma=false) const =0 |
Write a Parametrizable to a stream. More... | |
virtual void | write (const ParameterAliasable ¶metrizable, OutputStream &out, std::map< std::string, std::string > &globalAliases, const std::vector< std::string > &names, std::vector< std::string > &writtenNames, bool printLocalAliases=true, bool printComma=false) const =0 |
Write a ParameterAliasable to a stream. More... | |
virtual const std::string | getDataType () const |
Get the type of data this format deals with. More... | |
virtual const std::string | getFormatName () const =0 |
Get the name of the file format. More... | |
virtual const std::string | getFormatDescription () const =0 |
Get a description of the file format. More... | |
General interface writers.
Definition at line 33 of file IoParametrizable.h.
|
inline |
Definition at line 37 of file IoParametrizable.h.
|
inlinevirtual |
Definition at line 38 of file IoParametrizable.h.
|
inlinevirtualinherited |
Get the type of data this format deals with.
Implements bpp::IOFormat.
Definition at line 27 of file IoParametrizable.h.
|
pure virtualinherited |
Get a description of the file format.
Implemented in bpp::BppODiscreteDistributionFormat, and bpp::BppOParametrizableFormat.
Referenced by bpp::IOFormat::~IOFormat().
|
pure virtualinherited |
Get the name of the file format.
Implemented in bpp::BppODiscreteDistributionFormat, and bpp::BppOParametrizableFormat.
Referenced by bpp::IOFormat::~IOFormat().
|
pure virtual |
Write a Parametrizable to a stream.
parametrizable | A Parametrizable object; |
out | The output stream; |
writtenNames | is the vector of the written parameters so far [in, out]; |
printComma | boolean if a comma should be written at the beginning of the description. |
Implemented in bpp::BppOParametrizableFormat.
|
pure virtual |
Write a ParameterAliasable to a stream.
parametrizable | A ParameterAliasable object; |
out | The output stream; |
globalAliases | parameters linked to global alias; |
names | the names of the parameters to be written; |
writtenNames | is the vector of the written parameters so far [in, out]; |
printLocalAliases | boolean if local aliases should be written; |
printComma | boolean if a comma should be written at the beginning of the description. |
Implemented in bpp::BppOParametrizableFormat.