EventFilter
Utilities
interface
JsonSerializable.h
Go to the documentation of this file.
1
/*
2
* JsonSerializable.h
3
*
4
* Created on: Aug 2, 2012
5
* Author: aspataru
6
*/
7
8
#ifndef JSONSERIALIZABLE_H_
9
#define JSONSERIALIZABLE_H_
10
11
#include "
json.h
"
12
13
namespace
jsoncollector
{
14
class
JsonSerializable
{
15
public
:
16
virtual
~JsonSerializable
(){};
17
virtual
void
serialize
(
Json::Value
&
root
)
const
= 0;
18
virtual
void
deserialize
(
Json::Value
&
root
) = 0;
19
};
20
}
// namespace jsoncollector
21
22
#endif
/* JSONSERIALIZABLE_H_ */
jsoncollector::JsonSerializable
Definition:
JsonSerializable.h:14
jsoncollector::JsonSerializable::~JsonSerializable
virtual ~JsonSerializable()
Definition:
JsonSerializable.h:16
jsoncollector::JsonSerializable::serialize
virtual void serialize(Json::Value &root) const =0
jsoncollector::JsonSerializable::deserialize
virtual void deserialize(Json::Value &root)=0
root
Definition:
RooFitFunction.h:10
jsoncollector
Definition:
DataPoint.h:26
json.h
Json::Value
Represents a JSON value.
Definition:
value.h:99
Generated for CMSSW Reference Manual by
1.8.16