|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TOYCONVERSION_TOYCONVERTER_H
6 #define TOYCONVERSION_TOYCONVERTER_H
10 #include "GaudiKernel/Converter.h"
11 #include "GaudiKernel/StatusCode.h"
23 template <
typename DATA>
33 return StatusCode::SUCCESS;
46 template <
typename DATA>
50 template <
typename DATA>
55 #endif // TOYCONVERSION_TOYCONVERTER_H
static long int storageType()
static long int storageType()
ToyConverter(ISvcLocator *svcloc)
a toy converter template that creates a default instance of DATA
convert to and from a SG storable
DataObject * asStorable(T *pObject)
virtual StatusCode createObj(IOpaqueAddress *, DataObject *&pO) override
static const CLID & ID()
the CLID of T
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
::StatusCode StatusCode
StatusCode definition for legacy code.
Abstract factory to create the converter.
uint32_t CLID
The Class ID type.
virtual long int repSvcType() const override
static const CLID & classID()