HDTree  0.5.2
HDTree C++ API
Constants.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <string>
9 
10 namespace hdtree {
11 
15 struct constants {
17  inline static const std::string TYPE_ATTR_NAME = "__type__";
19  inline static const std::string VERS_ATTR_NAME = "__version__";
21  inline static const std::string SIZE_NAME = "__size__";
22 };
23 
24 } // namespace hdtree
Geant4 does a GLOBAL definition of the keyword TRUE.
Definition: Atomic.cxx:3
Structure constants vital to serialization method.
Definition: Constants.h:15
static const std::string TYPE_ATTR_NAME
the name of the HDF5 object attribute that holds the event object type
Definition: Constants.h:17
static const std::string SIZE_NAME
the name of the size dataset for variable-length types
Definition: Constants.h:21
static const std::string VERS_ATTR_NAME
the name of the hdtree version attribute
Definition: Constants.h:19