Jpp  18.2.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Functions
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/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

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

Macros

#define VALUE_TYPE(__TYPE__)   value_type(#__TYPE__, new JObjectStreamer<__TYPE__>())
 
#define gRootDictionary   (JROOT::JRootDictionary::getInstance())
 Global ROOT based dictionary for ASCII I/O. More...
 

Functions

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

Macro Definition Documentation

#define VALUE_TYPE (   __TYPE__)    value_type(#__TYPE__, new JObjectStreamer<__TYPE__>())
#define gRootDictionary   (JROOT::JRootDictionary::getInstance())

Global ROOT based dictionary for ASCII I/O.

Definition at line 182 of file JRootDictionary.hh.

Function Documentation

template<class T >
void addToRootDictionary ( )
inline

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

Definition at line 189 of file JRootDictionary.hh.

190 {
191  gRootDictionary.add<T>();
192 }
#define gRootDictionary
Global ROOT based dictionary for ASCII I/O.
do set_variable OUTPUT_DIRECTORY $WORKDIR T
template<class T >
void addToRootDictionary ( const T object)
inline

Add ASCII I/O for given object to dictionary.

Parameters
objectobject

Definition at line 201 of file JRootDictionary.hh.

202 {
203  gRootDictionary.add<T>();
204 }
#define gRootDictionary
Global ROOT based dictionary for ASCII I/O.
do set_variable OUTPUT_DIRECTORY $WORKDIR T