![]() |
ATLAS Offline Software
|
Classes | |
| class | ExcCaughtException |
| Exception — Caught an exception during conversion. More... | |
| class | ExcNoDictForClass |
| Exception — Can't find dictionary information for class. More... | |
| class | ExcUnsupportedVersion |
| Exception — Unsupported persistent version of CLASS found. More... | |
| class | TPCnvElt |
| Helper for calling a TP converter from an Athena converter. More... | |
| class | TPCnvElt< CNV, T_TPCnvNull< TRANS > > |
| Helper for calling a TP converter from an Athena converter. More... | |
| class | TPCnvList |
| Helper for calling TP converters from an Athena converter. More... | |
Functions | |
| void | debugCreateTransient (CLID clid) |
Called by templated converters at the start of createTransient. More... | |
| void | debugCreatePersistent (CLID clid) |
Called by templated converters at the start of createPersistent. More... | |
| void | throwExcNoDictForClass (const std::type_info &ti) |
| Throw a AthenaPoolCnvSvc::ExcNoDictForClass exception. More... | |
| void | throwExcUnsupportedVersion (const std::type_info &ti, const Guid &guid) |
| Throw a AthenaPoolCnvSvc::ExcUnsupportedVersion exception. More... | |
| void | throwExcCaughtException (const char *fnname, const char *action, const std::exception &ex, const std::type_info &ti, const std::string &key) |
| Throw a AthenaPoolCnvSvc::ExcCaughtException exception. More... | |
| template<class TPCNV , typename std::enable_if_t< std::is_base_of_v< ITPConverter, TPCNV > > * = nullptr> | |
| std::unique_ptr< typename TPCNV::Pers_t > | createPersistent (TPCNV &cnv, const typename TPCNV::Trans_t *transObj, const std::string &key, MsgStream &log) |
| Create a persistent object from a transient object. More... | |
| template<class TPCNV , typename std::enable_if_t< std::is_base_of_v< ITPConverter, TPCNV > > * = nullptr> | |
| std::unique_ptr< typename TPCNV::Trans_t > | createTransient (TPCNV &cnv, const typename TPCNV::Pers_t *persObj, const std::string &key, MsgStream &log) |
| Create a transient object from a persistent object. More... | |
| Guid | guidFromTypeinfo (const std::type_info &ti) |
Given a type_info, get the corresponding pool guid. More... | |
| void | debugCreateTransient ([[maybe_unused]] CLID clid) |
Called by templated converters at the start of createTransient. More... | |
| void | debugCreatePersistent ([[maybe_unused]] CLID clid) |
Called by templated converters at the start of createPersistent. More... | |
| std::string | excNoDictForClass_format (const std::type_info &ti) |
| Helper: format exception error string. More... | |
| std::string | excUnsupportedVersion_format (const std::type_info &ti, const Guid &guid) |
| Helper: format exception error string. More... | |
| std::string | excCaughtException_format (const char *fnname, const char *action, const std::exception &ex, const std::type_info &ti, const std::string &key) |
| Helper: format exception error string. More... | |
| std::unique_ptr<typename TPCNV::Pers_t> AthenaPoolCnvSvc::createPersistent | ( | TPCNV & | cnv, |
| const typename TPCNV::Trans_t * | transObj, | ||
| const std::string & | key, | ||
| MsgStream & | log | ||
| ) |
Create a persistent object from a transient object.
| cnv | The TP converter to call. |
| transObj | The transient object to convert. |
| The | SG key of the object. |
| log | For logging messages. |
This version is used when CNV derives from ITPConverter. We call TPCNV::createPersistentWithKey().
| cnv | The TP converter to call. |
| transObj | The transient object to convert. |
| The | SG key of the object. |
| log | For logging messages. |
This version is used when CNV does not derivce from ITPConverter. We create the persistent object directly and call TPCnv::transToPers().
Definition at line 53 of file T_AthenaPoolCreateFuncs.h.
| std::unique_ptr<typename TPCNV::Trans_t> AthenaPoolCnvSvc::createTransient | ( | TPCNV & | cnv, |
| const typename TPCNV::Pers_t * | persObj, | ||
| const std::string & | key, | ||
| MsgStream & | log | ||
| ) |
Create a transient object from a persistent object.
| cnv | The TP converter to call. |
| persObj | The persistent object to convert. |
| The | SG key of the object. |
| log | For logging messages. |
This version is used when CNV derives from ITPConverter. We call TPCNV::createTransientWithKey().
| cnv | The TP converter to call. |
| persObj | The persistent object to convert. |
| The | SG key of the object. |
| log | For logging messages. |
This version is used when CNV does not derivce from ITPConverter. We create the transient object directly and call TPCnv::persToTrans().
Definition at line 100 of file T_AthenaPoolCreateFuncs.h.
| void AthenaPoolCnvSvc::debugCreatePersistent | ( | [[maybe_unused] ] CLID | clid | ) |
Called by templated converters at the start of createPersistent.
| clid | The CLID of the class being converted. |
Definition at line 37 of file Database/AthenaPOOL/AthenaPoolCnvSvc/src/debug.cxx.
| void AthenaPoolCnvSvc::debugCreatePersistent | ( | CLID | clid | ) |
Called by templated converters at the start of createPersistent.
| clid | The CLID of the class being converted. |
| void AthenaPoolCnvSvc::debugCreateTransient | ( | [[maybe_unused] ] CLID | clid | ) |
Called by templated converters at the start of createTransient.
| clid | The CLID of the class being converted. |
Definition at line 26 of file Database/AthenaPOOL/AthenaPoolCnvSvc/src/debug.cxx.
| void AthenaPoolCnvSvc::debugCreateTransient | ( | CLID | clid | ) |
Called by templated converters at the start of createTransient.
| clid | The CLID of the class being converted. |
| std::string AthenaPoolCnvSvc::excCaughtException_format | ( | const char * | fnname, |
| const char * | action, | ||
| const std::exception & | ex, | ||
| const std::type_info & | ti, | ||
| const std::string & | key | ||
| ) |
Helper: format exception error string.
Definition at line 92 of file Database/AthenaPOOL/AthenaPoolCnvSvc/src/exceptions.cxx.
| std::string AthenaPoolCnvSvc::excNoDictForClass_format | ( | const std::type_info & | ti | ) |
Helper: format exception error string.
Definition at line 24 of file Database/AthenaPOOL/AthenaPoolCnvSvc/src/exceptions.cxx.
| std::string AthenaPoolCnvSvc::excUnsupportedVersion_format | ( | const std::type_info & | ti, |
| const Guid & | guid | ||
| ) |
Helper: format exception error string.
Definition at line 56 of file Database/AthenaPOOL/AthenaPoolCnvSvc/src/exceptions.cxx.
Given a type_info, get the corresponding pool guid.
| ti | type_info to look for. |
Throws an exception on errors.
Definition at line 30 of file TPCnvElt.cxx.
| void AthenaPoolCnvSvc::throwExcCaughtException | ( | const char * | fnname, |
| const char * | action, | ||
| const std::exception & | ex, | ||
| const std::type_info & | ti, | ||
| const std::string & | key | ||
| ) |
Throw a AthenaPoolCnvSvc::ExcCaughtException exception.
| fnname | Name of the function being executed. |
| action | What we were doing when we caught the exception. |
| ex | The caught exception. |
| ti | The class being thinned. |
| key | Key of the class being thinned. |
Will also print a stack trace if exctrace is enabled.
Definition at line 132 of file Database/AthenaPOOL/AthenaPoolCnvSvc/src/exceptions.cxx.
| void AthenaPoolCnvSvc::throwExcNoDictForClass | ( | const std::type_info & | ti | ) |
Throw a AthenaPoolCnvSvc::ExcNoDictForClass exception.
| ti | The requested class. |
Definition at line 46 of file Database/AthenaPOOL/AthenaPoolCnvSvc/src/exceptions.cxx.
Throw a AthenaPoolCnvSvc::ExcUnsupportedVersion exception.
| ti | The class being read. |
| guid | The GUID of the persistent class. |
Definition at line 82 of file Database/AthenaPOOL/AthenaPoolCnvSvc/src/exceptions.cxx.
1.8.18