Allow converting std::vector to SG::PackedContainer.
More...
#include "DataModelAthenaPool/PackedContainerConverter.h"
#include "AthContainers/PackedContainer.h"
#include "RootConversions/TConverterRegistry.h"
#include "TMemberStreamer.h"
#include "TClass.h"
#include "TROOT.h"
#include <vector>
#include <string>
#include <cassert>
Go to the source code of this file.
Allow converting std::vector to SG::PackedContainer.
- Author
- scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
- Date
- Dec, 2014
Definition in file PackedContainerConverter.cxx.
◆ CONVERTER
#define CONVERTER |
( |
|
SRC, |
|
|
|
DST |
|
) |
| |
Value:
("vector<" #SRC ">", \
"SG::PackedContainer<" #DST ",allocator<" #DST "> >", \
new PackedContainerConverter<SRC, DST> ( #SRC)); \
} while (0)
◆ CONVERTER1
◆ CONVERTER2
#define CONVERTER2 |
( |
|
T, |
|
|
|
ALLOC |
|
) |
| |
Value:
(
"vector<" #
T "," #ALLOC
"<" #
T "> >", \
"SG::PackedContainer<" #
T "," #ALLOC
"<" #
T "> >", \
new PackedContainerConverter<T, T, ALLOC<T> > ( #
T, #ALLOC
"<" #
T ">" )); \
} while (0)