41 #ifndef BPP_IO_IOPARAMETRIZABLE_H
42 #define BPP_IO_IOPARAMETRIZABLE_H
46 #include "../Numeric/ParameterAliasable.h"
63 virtual const std::string
getDataType()
const {
return "Parametrizable"; }
89 std::vector<std::string>& writtenNames,
90 bool printComma =
false)
const = 0;
107 std::map<std::string, std::string>& globalAliases,
108 const std::vector<std::string>& names,
109 std::vector<std::string>& writtenNames,
110 bool printLocalAliases =
true,
111 bool printComma =
false)
const = 0;
General interface for parametrizable Output.
virtual const std::string getDataType() const
Get the type of data this format deals with.
virtual ~IOParametrizable()
General interface writers.
virtual ~OParametrizable()
virtual void write(const Parametrizable *parametrizable, OutputStream &out, std::vector< std::string > &writtenNames, bool printComma=false) const =0
Write a Parametrizable to a stream.
virtual void write(const ParameterAliasable *parametrizable, 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.
Extend the Parametrizable interface with support for parameter aliases.
This is the interface for all objects that imply parameters.