20 template<
class SURFACE,
class BOUNDS_CNV >
25 throw std::runtime_error(
"BoundSurfaceCnv_p2::persToTrans shouldn't be called any more!");
28 template<
class SURFACE,
class BOUNDS_CNV >
32 SURFACE* transObj = m_surfaceCnv.createTransient( persObj,
log );
33 typename BOUNDS_CNV::Trans_t* bounds = this->createTransFromPStore( &m_boundsCnv, persObj->
m_bounds,
log );
39 template<
class SURFACE,
class BOUNDS_CNV >
44 m_surfaceCnv.transToPers( transObj, persObj,
log );
45 if ((transObj->m_bounds).get() && !
dynamic_cast<const Trk::NoBounds*
>((transObj->m_bounds).get()))
46 persObj->
m_bounds = this->toPersistent( &m_boundsCnv, (transObj->m_bounds).get(),
log );
52 template<
class SURFACE >
57 throw std::runtime_error(
"BoundSurfaceCnv_p2::persToTrans shouldn't be called any more!");
61 template <
class SURFACE >
65 SURFACE* transObj = m_surfaceCnv.createTransient( persObj,
log );
73 template<
class SURFACE >
78 m_surfaceCnv.transToPers( transObj, persObj,
log );
79 if ((transObj->m_bounds).get() && !
dynamic_cast<const Trk::NoBounds*
>((transObj->m_bounds).get()))