Jpp 19.3.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
JRootDictionary.hh File Reference
#include <string>
#include <vector>
#include <typeinfo>
#include "TDictionary.h"
#include "JLang/JType.hh"
#include "JLang/JNullType.hh"
#include "JLang/JTypeList.hh"
#include "JLang/JPrimitiveTypes.hh"
#include "JLang/JException.hh"
#include "JLang/JSingleton.hh"
#include "JROOT/JRoot.hh"
#include "JROOT/JRootDictionary_t.hh"
#include "JROOT/JRootStreamer.hh"

Go to the source code of this file.

Classes

class  JROOT::JRootDictionary
 Default implementation of ROOT based dictionary for ASCII I/O. More...
 

Namespaces

namespace  JROOT
 Auxiliary classes and methods for ROOT I/O.
 
namespace  JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Macros

#define VALUE_TYPE(__TYPE__)
 
#define gRootDictionary   (JROOT::JRootDictionary::getInstance())
 Global ROOT based dictionary for ASCII I/O.
 

Functions

template<class T >
void addToRootDictionary ()
 Add ASCII I/O for (list of) class(es) to dictionary.
 
template<class T >
void addToRootDictionary (const T &object)
 Add ASCII I/O for given object to dictionary.
 

Macro Definition Documentation

◆ VALUE_TYPE

#define VALUE_TYPE ( __TYPE__)
Value:
value_type(#__TYPE__, new JObjectStreamer<__TYPE__>())

◆ gRootDictionary

#define gRootDictionary   (JROOT::JRootDictionary::getInstance())

Global ROOT based dictionary for ASCII I/O.

Definition at line 124 of file JRootDictionary.hh.

Function Documentation

◆ addToRootDictionary() [1/2]

template<class T >
void addToRootDictionary ( )
inline

Add ASCII I/O for (list of) class(es) to dictionary.

Definition at line 131 of file JRootDictionary.hh.

132{
133 gRootDictionary.add<T>();
134}
#define gRootDictionary
Global ROOT based dictionary for ASCII I/O.

◆ addToRootDictionary() [2/2]

template<class T >
void addToRootDictionary ( const T & object)
inline

Add ASCII I/O for given object to dictionary.

Parameters
objectobject

Definition at line 143 of file JRootDictionary.hh.

144{
145 gRootDictionary.add<T>();
146}