LDMX Software
SimpleTableStreamers.h
1
6#ifndef FRAMEWORK_SIMPLETABLESTREAMERS_H_
7#define FRAMEWORK_SIMPLETABLESTREAMERS_H_
8
9#include <iostream>
10
11#include "Conditions/SimpleTableCondition.h"
12
13namespace conditions {
14
15// using an internal namespace for these support classes to avoid any clashes
16namespace utility {
17
22 public:
26 static void store(const IntegerTableCondition&, std::ostream&,
27 bool expandIds = true);
28 static void store(const conditions::DoubleTableCondition&, std::ostream&,
29 bool expandIds = true);
37 static void load(IntegerTableCondition&, std::istream&);
38 static void load(conditions::DoubleTableCondition&, std::istream&);
39};
40} // namespace utility
41} // namespace conditions
42
43#endif
static void load(IntegerTableCondition &, std::istream &)
Load the table from a stream Columns must be defined by the user.
static void store(const IntegerTableCondition &, std::ostream &, bool expandIds=true)
Convert the table into a stream.