ATLAS Offline Software
Loading...
Searching...
No Matches
DummyDetElementSurfaceCnv_p1.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DUMMYDETELEMENTSURFACECNV_P1_H
6#define DUMMYDETELEMENTSURFACECNV_P1_H
7
9 : public ITPConverterFor<Trk::Surface>
10{
11public:
12 virtual void persToTransUntyped(const void* /*pers*/, void* /*trans*/, MsgStream& /*log*/) { abort(); }
13 virtual void transToPersUntyped(const void* /*trans*/, void* /*pers*/, MsgStream& /*log*/) { abort(); }
14 virtual void reservePStorage( size_t /*size*/ ) { abort(); }
15 virtual TPObjRef virt_toPersistent( const TransBase_t* /*trans*/, MsgStream& /*log*/) { abort(); }
16 virtual TPObjRef virt_toPersistentWithKey( const TransBase_t* /*trans*/, const std::string& /*key*/, MsgStream& /*log*/) { abort(); }
17 virtual Trk::DetElementSurface* virt_createTransFromPStore( unsigned /*index*/, MsgStream &/*log*/ ) { return 0; }
18 virtual Trk::DetElementSurface* virt_createTransFromPStoreWithKey( unsigned /*index*/, const std::string& /*key*/, MsgStream &/*log*/ ) { return 0; }
19 virtual void pstoreToTrans( unsigned /*index*/, TransBase_t* /*transObj*/, MsgStream& /*log*/) { abort(); }
20 virtual const std::type_info& persistentTInfo() const { return typeid(void*); }
21};
22
23#endif/*DUMMYDETELEMENTSURFACECNV_P1_H*/
virtual const std::type_info & persistentTInfo() const
return C++ type id of the persistent class this converter is for
virtual Trk::DetElementSurface * virt_createTransFromPStore(unsigned, MsgStream &)
Internal interface method that is used to invoke the real conversion method (createTransient) in the ...
virtual void reservePStorage(size_t)
Reserve 'size' elements for persistent storage.
virtual void pstoreToTrans(unsigned, TransBase_t *, MsgStream &)
Internal interface method that is used to invoke the real conversion method (persToTrans) in the deri...
virtual Trk::DetElementSurface * virt_createTransFromPStoreWithKey(unsigned, const std::string &, MsgStream &)
Internal interface method that is used to invoke the real conversion method (createTransient) in the ...
virtual TPObjRef virt_toPersistent(const TransBase_t *, MsgStream &)
Internal interface method that is used to invoke the real conversion method (toPersistent_impl) in th...
virtual void persToTransUntyped(const void *, void *, MsgStream &)
Convert persistent object representation to transient.
virtual TPObjRef virt_toPersistentWithKey(const TransBase_t *, const std::string &, MsgStream &)
Internal interface method that is used to invoke the real conversion method (toPersistent_impl) in th...
virtual void transToPersUntyped(const void *, void *, MsgStream &)
Convert transient object representation to persistent.
This class is an object reference used in Athena persistent data model.
Definition TPObjRef.h:20