5#ifndef TOYCONVERSION_TOYCONVERTER_H
6#define TOYCONVERSION_TOYCONVERTER_H
10#include "GaudiKernel/Converter.h"
11#include "GaudiKernel/StatusCode.h"
23template <
typename DATA>
30 virtual StatusCode
createObj(IOpaqueAddress*, DataObject *& pO)
override {
33 return StatusCode::SUCCESS;
46template <
typename DATA>
50template <
typename DATA>
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
uint32_t CLID
The Class ID type.
convert to and from a SG storable
Abstract factory to create the converter.
static long int storageType()
ToyConverter(ISvcLocator *svcloc)
static long int storageType()
virtual long int repSvcType() const override
virtual StatusCode createObj(IOpaqueAddress *, DataObject *&pO) override
static const CLID & classID()
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)