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"
Go to the source code of this file.
|
#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 |
|
Wrapper for ROOT types.
- Author
- scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
- Date
- Jun, 2014
Definition in file Type.cxx.
◆ 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 |