ATLAS Offline Software
Loading...
Searching...
No Matches
ITPCnvSvc Class Referenceabstract

#include <ITPCnvSvc.h>

Inheritance diagram for ITPCnvSvc:
Collaboration diagram for ITPCnvSvc:

Public Member Functions

 DeclareInterfaceID (ITPCnvSvc, 1, 0)
virtual ~ITPCnvSvc ()
 Destructor:
virtual ITPCnvBaseload_tpcnv (const std::string &cls)=0
 load the T/P converter class named cls return NULL on failure.
virtual ITPCnvBaset2p_cnv (const std::string &transClassName, Athena::TPCnvType::Value type=Athena::TPCnvType::Athena)=0
 return the T/P converter for a transient class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointer
virtual ITPCnvBaset2p_cnv (const CLID &transClid, Athena::TPCnvType::Value type=Athena::TPCnvType::Athena)=0
 return the T/P converter for a transient class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointer
virtual ITPCnvBasep2t_cnv (const std::string &persClassName, Athena::TPCnvType::Value type=Athena::TPCnvType::Athena)=0
 return the T/P converter for a persistent class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointer
virtual std::unique_ptr< ITPCnvBaset2p_cnv_unique (const std::string &transClassName) const =0
 return the T/P converter for a transient class (NULL if failure) Ownership is returned to the caller.
virtual std::unique_ptr< ITPCnvBaset2p_cnv_unique (const CLID transClid) const =0
 Return the T/P converter for a transient class.

Detailed Description

Definition at line 27 of file ITPCnvSvc.h.

Constructor & Destructor Documentation

◆ ~ITPCnvSvc()

ITPCnvSvc::~ITPCnvSvc ( )
virtual

Destructor:

Definition at line 20 of file ITPCnvSvc.cxx.

21{
22}

Member Function Documentation

◆ DeclareInterfaceID()

ITPCnvSvc::DeclareInterfaceID ( ITPCnvSvc ,
1 ,
0  )

◆ load_tpcnv()

virtual ITPCnvBase * ITPCnvSvc::load_tpcnv ( const std::string & cls)
pure virtual

load the T/P converter class named cls return NULL on failure.

the converter is OWNED by the T/P converter service

◆ p2t_cnv()

virtual ITPCnvBase * ITPCnvSvc::p2t_cnv ( const std::string & persClassName,
Athena::TPCnvType::Value type = Athena::TPCnvType::Athena )
pure virtual

return the T/P converter for a persistent class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointer

◆ t2p_cnv() [1/2]

virtual ITPCnvBase * ITPCnvSvc::t2p_cnv ( const CLID & transClid,
Athena::TPCnvType::Value type = Athena::TPCnvType::Athena )
pure virtual

return the T/P converter for a transient class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointer

◆ t2p_cnv() [2/2]

virtual ITPCnvBase * ITPCnvSvc::t2p_cnv ( const std::string & transClassName,
Athena::TPCnvType::Value type = Athena::TPCnvType::Athena )
pure virtual

return the T/P converter for a transient class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointer

◆ t2p_cnv_unique() [1/2]

virtual std::unique_ptr< ITPCnvBase > ITPCnvSvc::t2p_cnv_unique ( const CLID transClid) const
pure virtual

Return the T/P converter for a transient class.

Returns null on failure (with no warning printed). Ownership is returned to the caller.

◆ t2p_cnv_unique() [2/2]

virtual std::unique_ptr< ITPCnvBase > ITPCnvSvc::t2p_cnv_unique ( const std::string & transClassName) const
pure virtual

return the T/P converter for a transient class (NULL if failure) Ownership is returned to the caller.


The documentation for this class was generated from the following files: