ATLAS Offline Software
Loading...
Searching...
No Matches
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

namespace  RootUtils

Macros

#define TYPE(CODE, TYP, IOTYP)
#define TYPE1(CODE, TYP)
#define TYPE(CODE, TYP, IOTYP)
#define TYPE1(CODE, TYP)

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 )
Value:
case CODE: m_ti = &typeid(TYP); break

◆ TYPE [2/2]

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

◆ TYPE1 [1/2]

#define TYPE1 ( CODE,
TYP )
Value:
TYPE(CODE, TYP, TYP)

◆ TYPE1 [2/2]

#define TYPE1 ( CODE,
TYP )
Value:
TYPE(CODE, TYP, TYP)