EventFilter
Utilities
interface
JSONSerializer.h
Go to the documentation of this file.
1
/*
2
* JSONSerializer.h
3
*
4
* Created on: Aug 2, 2012
5
* Author: aspataru
6
*/
7
8
#ifndef JSONSERIALIZER_H_
9
#define JSONSERIALIZER_H_
10
11
#include "
EventFilter/Utilities/interface/JsonSerializable.h
"
12
13
#include <string>
14
15
namespace
jsoncollector
{
16
class
JSONSerializer
{
17
public
:
18
JSONSerializer
();
19
virtual
~JSONSerializer
();
20
24
static
bool
serialize
(
JsonSerializable
* pObj,
std::string
&
output
);
28
static
bool
deserialize
(
JsonSerializable
* pObj,
std::string
&
input
);
29
};
30
}
// namespace jsoncollector
31
32
#endif
/* JSONSERIALIZER_H_ */
jsoncollector::JsonSerializable
Definition:
JsonSerializable.h:14
jsoncollector::JSONSerializer::serialize
static bool serialize(JsonSerializable *pObj, std::string &output)
Definition:
JSONSerializer.cc:14
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:72
JsonSerializable.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
input
static std::string const input
Definition:
EdmProvDump.cc:50
jsoncollector::JSONSerializer::JSONSerializer
JSONSerializer()
jsoncollector::JSONSerializer::deserialize
static bool deserialize(JsonSerializable *pObj, std::string &input)
Definition:
JSONSerializer.cc:26
jsoncollector::JSONSerializer::~JSONSerializer
virtual ~JSONSerializer()
jsoncollector
Definition:
DataPoint.h:26
jsoncollector::JSONSerializer
Definition:
JSONSerializer.h:16
Generated for CMSSW Reference Manual by
1.8.14