18#ifndef SDDSWRITERCOLUMNSET_H
19#define SDDSWRITERCOLUMNSET_H
34 const std::string&
type,
35 const std::string& unit,
36 const std::string& desc,
37 std::ios_base::fmtflags flags = std::ios_base::scientific,
38 unsigned short precision = 15);
45 const std::string& indent)
const;
47 void writeRow(std::ostream& os)
const;
69 "column name '" +
name +
"' doesn't exists");
boost::function< boost::tuple< double, bool >(arguments_t)> type
std::vector< SDDSColumn > columns_m
std::map< std::string, unsigned int > name2idx_m
void writeRow(std::ostream &os) const
void addColumn(const std::string &name, const std::string &type, const std::string &unit, const std::string &desc, std::ios_base::fmtflags flags=std::ios_base::scientific, unsigned short precision=15)
void addColumnValue(const std::string &name, const T &val)
void writeHeader(std::ostream &os, const std::string &indent) const
The base class for all OPAL exceptions.