Main Page
Namespaces
Classes
Package Documentation
src
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
}
18
;
19
virtual
void
serialize
(
Json::Value
&
root
)
const
= 0;
20
virtual
void
deserialize
(
Json::Value
& root) = 0;
21
};
22
}
23
24
#endif
/* JSONSERIALIZABLE_H_ */
jsoncollector::JsonSerializable::serialize
virtual void serialize(Json::Value &root) const =0
jsoncollector::JsonSerializable
Definition:
JsonSerializable.h:14
jsoncollector::JsonSerializable::~JsonSerializable
virtual ~JsonSerializable()
Definition:
JsonSerializable.h:16
Json::Value
Represents a JSON value.
Definition:
value.h:111
json.h
jsoncollector::JsonSerializable::deserialize
virtual void deserialize(Json::Value &root)=0
jsoncollector
Definition:
DataPoint.h:26
root
Definition:
RooFitFunction.h:11
Generated for CMSSW Reference Manual by
1.8.11