18#ifndef SDDSWRITERCOLUMN_H
19#define SDDSWRITERCOLUMN_H
21#include <boost/variant.hpp>
30 const std::string&
type,
31 const std::string& unit,
32 const std::string& desc,
33 std::ios_base::fmtflags flags,
34 unsigned short precision);
41 const std::string& indent)
const;
52 typedef std::tuple<std::string,
56 typedef boost::variant<float,
std::ostream & operator<<(std::ostream &os, const SDDSColumn &col)
boost::function< boost::tuple< double, bool >(arguments_t)> type
void writeHeader(std::ostream &os, unsigned int colNr, const std::string &indent) const
std::tuple< std::string, std::string, std::string > desc_t
unsigned short writePrecision_m
void writeValue(std::ostream &os) const
void addValue(const T &val)
friend std::ostream & operator<<(std::ostream &os, const SDDSColumn &col)
boost::variant< float, double, long unsigned int, char, std::string > variant_t
SDDSColumn(const std::string &name, const std::string &type, const std::string &unit, const std::string &desc, std::ios_base::fmtflags flags, unsigned short precision)
std::ios_base::fmtflags writeFlags_m