ATLAS Offline Software
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 {
11 public:
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*/
ITPConverterFor
Definition: TPConverter.h:37
DummyDetElementSurfaceCnv_p1::transToPersUntyped
virtual void transToPersUntyped(const void *, void *, MsgStream &)
Convert transient object representation to persistent.
Definition: DummyDetElementSurfaceCnv_p1.h:13
DummyDetElementSurfaceCnv_p1::pstoreToTrans
virtual void pstoreToTrans(unsigned, TransBase_t *, MsgStream &)
Internal interface method that is used to invoke the real conversion method (persToTrans) in the deri...
Definition: DummyDetElementSurfaceCnv_p1.h:19
TPObjRef
Definition: TPObjRef.h:20
DummyDetElementSurfaceCnv_p1::virt_createTransFromPStore
virtual Trk::DetElementSurface * virt_createTransFromPStore(unsigned, MsgStream &)
Internal interface method that is used to invoke the real conversion method (createTransient) in the ...
Definition: DummyDetElementSurfaceCnv_p1.h:17
DummyDetElementSurfaceCnv_p1::virt_toPersistent
virtual TPObjRef virt_toPersistent(const TransBase_t *, MsgStream &)
Internal interface method that is used to invoke the real conversion method (toPersistent_impl) in th...
Definition: DummyDetElementSurfaceCnv_p1.h:15
Trk::DetElementSurface
Definition: DetElementSurface.h:32
DummyDetElementSurfaceCnv_p1
Definition: DummyDetElementSurfaceCnv_p1.h:10
DummyDetElementSurfaceCnv_p1::persToTransUntyped
virtual void persToTransUntyped(const void *, void *, MsgStream &)
Convert persistent object representation to transient.
Definition: DummyDetElementSurfaceCnv_p1.h:12
DummyDetElementSurfaceCnv_p1::virt_createTransFromPStoreWithKey
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 ...
Definition: DummyDetElementSurfaceCnv_p1.h:18
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
DummyDetElementSurfaceCnv_p1::virt_toPersistentWithKey
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...
Definition: DummyDetElementSurfaceCnv_p1.h:16
DummyDetElementSurfaceCnv_p1::reservePStorage
virtual void reservePStorage(size_t)
Reserve 'size' elements for persistent storage.
Definition: DummyDetElementSurfaceCnv_p1.h:14
DummyDetElementSurfaceCnv_p1::persistentTInfo
virtual const std::type_info & persistentTInfo() const
return C++ type id of the persistent class this converter is for
Definition: DummyDetElementSurfaceCnv_p1.h:20