ATLAS Offline Software
Namespaces | Macros
Type.cxx File Reference

Wrapper for ROOT types. More...

#include "RootUtils/Type.h"
#include "CxxUtils/checker_macros.h"
#include "TError.h"
#include "TROOT.h"
#include <memory>
#include <sstream>
#include <stdexcept>
#include <cassert>
#include "Types.def"
Include dependency graph for Type.cxx:

Go to the source code of this file.

Namespaces

 RootUtils
 

Macros

#define TYPE(CODE, TYP, IOTYP)   case CODE: m_ti = &typeid(TYP); break
 
#define TYPE(CODE, TYP, IOTYP)   case CODE: { IOTYP tmp=0; is >> tmp; *reinterpret_cast<TYP*>(p) = tmp; } return
 

Detailed Description

Wrapper for ROOT types.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Jun, 2014

Definition in file Type.cxx.

Macro Definition Documentation

◆ TYPE [1/2]

#define TYPE (   CODE,
  TYP,
  IOTYP 
)    case CODE: m_ti = &typeid(TYP); break

◆ TYPE [2/2]

#define TYPE (   CODE,
  TYP,
  IOTYP 
)    case CODE: { IOTYP tmp=0; is >> tmp; *reinterpret_cast<TYP*>(p) = tmp; } return