16#ifndef ATHENAPOOLCNVSVC_T_ATHENAPOOLVIEWVECTORCNV_H
17#define ATHENAPOOLCNVSVC_T_ATHENAPOOLVIEWVECTORCNV_H
27#include "AthLinks/ElementLink.h"
58 typedef std::vector<ElementLink<DV> >
pers2_t;
102 std::vector<pool::Guid>
initGuids (
const std::type_info& ti)
const;
DataVector adapter that acts like it holds const pointers.
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
Helpers for checking error return status codes and reporting errors.
A couple hooks for debugging.
Exceptions that can be thrown from AthenaPoolCnvSvc.
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
Identify view containers to be made persistent.
Compatibility for old converter classes that don't get passed the key.
virtual trans_t * createTransient() override
Read the persistent object and convert it to transient.
std::vector< pool::Guid > m_guids
List of guids for ViewVector classes.
std::vector< pool::Guid > m_guids2
List of guids for std::vector<ElementLink<DV> > classes.
T_AthenaPoolViewVectorCnv(ISvcLocator *svcloc)
Constructor.
T_AthenaPoolCustomCnv< trans_t, pers_t > Base
Base class.
std::vector< pool::Guid > initGuids(const std::type_info &ti) const
Return the set of GUIDs for persistent type ti.
ViewVector< DV > trans_t
The transient and persistent types.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
std::vector< ElementLink< DV > > pers2_t
Alternate persistent type; raw vector of EL.
virtual pers_t * createPersistent(trans_t *trans) override
Convert a transient object to persistent form.
Identify view containers to be made persistent.
Helper to make a vector<EL> from a DataVector.