21 const std::string&
type,
22 const std::string& unit,
23 const std::string& desc,
24 std::ios_base::fmtflags flags,
25 unsigned short prec) {
29 "column name '" +
name +
"' already exists");
38 const std::string& indent)
const {
39 for (
unsigned int i = 0; i <
columns_m.size(); ++ i) {
41 col.writeHeader(os, i + 1, indent);
Inform & endl(Inform &inf)
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 writeHeader(std::ostream &os, const std::string &indent) const
The base class for all OPAL exceptions.