Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
Definition:
JsonSerializable.h:14
jsoncollector::JsonSerializable::~JsonSerializable
virtual ~JsonSerializable()
Definition:
JsonSerializable.h:16
Json::Value
Represents a JSON value.
Definition:
value.h:111
jsoncollector::JsonSerializable::serialize
virtual void serialize(Json::Value &root) const =0
json.h
pyrootRender.root
tuple root
Definition:
pyrootRender.py:8
jsoncollector::JsonSerializable::deserialize
virtual void deserialize(Json::Value &root)=0
Generated for CMSSW Reference Manual by
1.8.5