|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
#include <SDDSColumnSet.h>

Public Member Functions | |
| SDDSColumnSet () | |
| 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) |
| template<typename T > | |
| void | addColumnValue (const std::string &name, const T &val) |
| void | writeHeader (std::ostream &os, const std::string &indent) const |
| void | writeRow (std::ostream &os) const |
| bool | hasColumns () const |
Private Attributes | |
| std::vector< SDDSColumn > | columns_m |
| std::map< std::string, size_t > | name2idx_m |
Definition at line 29 of file SDDSColumnSet.h.
|
inline |
Definition at line 52 of file SDDSColumnSet.h.
| void SDDSColumnSet::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 |
||
| ) |
Definition at line 20 of file SDDSColumnSet.cpp.
References columns_m, and name2idx_m.
Referenced by ElementPositionWriter::fillHeader(), LBalWriter::fillHeader(), MonitorStatisticsWriter::fillHeader(), StatWriter::fillHeader(), and MemoryProfiler::header().
| void SDDSColumnSet::addColumnValue | ( | const std::string & | name, |
| const T & | val | ||
| ) |
Definition at line 55 of file SDDSColumnSet.h.
References columns_m, and name2idx_m.
Referenced by MonitorStatisticsWriter::addRow(), ElementPositionWriter::addRow(), LBalWriter::write(), MemoryProfiler::write(), and StatWriter::write().
|
inline |
Definition at line 66 of file SDDSColumnSet.h.
References name2idx_m.
Referenced by SDDSWriter::hasColumns().
| void SDDSColumnSet::writeHeader | ( | std::ostream & | os, |
| const std::string & | indent | ||
| ) | const |
Definition at line 32 of file SDDSColumnSet.cpp.
References columns_m.
Referenced by SDDSWriter::writeColumns().
| void SDDSColumnSet::writeRow | ( | std::ostream & | os | ) | const |
Definition at line 39 of file SDDSColumnSet.cpp.
References columns_m.
Referenced by SDDSWriter::writeRow().
|
private |
Definition at line 48 of file SDDSColumnSet.h.
Referenced by addColumn(), addColumnValue(), writeHeader(), and writeRow().
|
private |
Definition at line 49 of file SDDSColumnSet.h.
Referenced by addColumn(), addColumnValue(), and hasColumns().