LDMX Software
Conditions
include
Conditions
SimpleTableStreamers.h
1
6
#ifndef FRAMEWORK_SIMPLETABLESTREAMERS_H_
7
#define FRAMEWORK_SIMPLETABLESTREAMERS_H_
8
9
#include <iostream>
10
11
#include "Conditions/SimpleTableCondition.h"
12
13
namespace
conditions {
14
15
// using an internal namespace for these support classes to avoid any clashes
16
namespace
utility {
17
21
class
SimpleTableStreamerCSV
{
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
conditions::DoubleTableCondition
Definition
SimpleTableCondition.h:209
conditions::IntegerTableCondition
Definition
SimpleTableCondition.h:222
conditions::utility::SimpleTableStreamerCSV
Definition
SimpleTableStreamers.h:21
conditions::utility::SimpleTableStreamerCSV::load
static void load(IntegerTableCondition &, std::istream &)
Load the table from a stream Columns must be defined by the user.
Definition
SimpleTableStreamers.cxx:175
conditions::utility::SimpleTableStreamerCSV::store
static void store(const IntegerTableCondition &, std::ostream &, bool expandIds=true)
Convert the table into a stream.
Definition
SimpleTableStreamers.cxx:46
Generated by
1.9.8