Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Functions
JRootDictionary.hh File Reference
#include <string>
#include <map>
#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/JSharedPointer.hh"
#include "JLang/JException.hh"
#include "JLang/JSingleton.hh"
#include "JROOT/JAbstractStreamer.hh"
#include "JROOT/JRootStreamer.hh"

Go to the source code of this file.

Classes

class  JROOT::JRootDictionary
 ROOT dictionary. More...
 

Namespaces

 JROOT
 Auxiliary classes and methods for ROOT I/O.
 
 JPP
 

Macros

#define VALUE_TYPE(__TYPE__)   value_type(#__TYPE__, new JObjectStreamer<__TYPE__>())
 
#define gRootDictionary   (JROOT::JRootDictionary::getInstance())
 Global ROOT streamer 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 streamer for ASCII I/O.

Definition at line 179 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 186 of file JRootDictionary.hh.

187 {
188  gRootDictionary.add<T>();
189 }
#define gRootDictionary
Global ROOT streamer for ASCII I/O.
template<class T >
void addToRootDictionary ( const T &  object)
inline

Add ASCII I/O for given object to dictionary.

Parameters
objectobject

Definition at line 198 of file JRootDictionary.hh.

199 {
200  gRootDictionary.add<T>();
201 }
#define gRootDictionary
Global ROOT streamer for ASCII I/O.