test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondCore
Utilities
interface
JsonPrinter.h
Go to the documentation of this file.
1
#ifndef CondCore_Utilities_JsonPrinter_h
2
#define CondCore_Utilities_JsonPrinter_h
3
4
#include <string>
5
#include <tuple>
6
#include <vector>
7
8
namespace
cond {
9
10
namespace
utilities {
11
12
class
JsonPrinter
{
13
public
:
14
JsonPrinter
();
15
JsonPrinter
(
const
std::string
& xName,
const
std::string
& yName );
16
17
virtual
~JsonPrinter
(){}
18
19
void
append
(
const
std::string
& xValue,
const
std::string
& yValue,
const
std::string
& yError );
20
void
append
(
const
std::string
& xValue,
const
std::string
& yValue );
21
22
std::string
print
();
23
24
private
:
25
std::string
m_xName
=
"X"
;
26
std::string
m_yName
=
"Y"
;
27
std::vector<std::tuple<std::string,std::string,std::string> >
m_values
;
28
};
29
}
30
31
}
32
33
#endif
34
cond::utilities::JsonPrinter
Definition:
JsonPrinter.h:12
cond::utilities::JsonPrinter::~JsonPrinter
virtual ~JsonPrinter()
Definition:
JsonPrinter.h:17
cond::utilities::JsonPrinter::m_yName
std::string m_yName
Definition:
JsonPrinter.h:26
cond::utilities::JsonPrinter::append
void append(const std::string &xValue, const std::string &yValue, const std::string &yError)
Definition:
JsonPrinter.cc:17
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
cond::utilities::JsonPrinter::m_xName
std::string m_xName
Definition:
JsonPrinter.h:25
cond::utilities::JsonPrinter::JsonPrinter
JsonPrinter()
Definition:
JsonPrinter.cc:9
cond::utilities::JsonPrinter::m_values
std::vector< std::tuple< std::string, std::string, std::string > > m_values
Definition:
JsonPrinter.h:27
cond::utilities::JsonPrinter::print
std::string print()
Definition:
JsonPrinter.cc:25
Generated for CMSSW Reference Manual by
1.8.5