ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
IAthenaRootCnvSvc Class Referenceabstract

This class provides the interface between Athena and RootSvc. More...

#include <IAthenaRootCnvSvc.h>

Inheritance diagram for IAthenaRootCnvSvc:
Collaboration diagram for IAthenaRootCnvSvc:

Public Member Functions

virtual ~IAthenaRootCnvSvc ()
 
virtual ITPCnvBasegetTPConverter (const CLID &clid) const =0
 Get T/P converter for a transient class. More...
 
virtual RootType getType (const CLID &clid) const =0
 
virtual RootType getType (const std::type_info &type) const =0
 
virtual const TokenwriteObject (const std::string &key, const RootType &typeDesc, const void *pObj, ITPCnvBase *tpConverter=0)=0
 Write object of a given class to Root, using optional T/P converter. More...
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Retrieve interface ID. More...
 

Detailed Description

This class provides the interface between Athena and RootSvc.

Definition at line 30 of file IAthenaRootCnvSvc.h.

Constructor & Destructor Documentation

◆ ~IAthenaRootCnvSvc()

IAthenaRootCnvSvc::~IAthenaRootCnvSvc ( )
virtual

Definition at line 17 of file IAthenaRootCnvSvc.cxx.

17 {}

Member Function Documentation

◆ getTPConverter()

virtual ITPCnvBase* IAthenaRootCnvSvc::getTPConverter ( const CLID clid) const
pure virtual

Get T/P converter for a transient class.

Implemented in Athena::RootCnvSvc.

◆ getType() [1/2]

virtual RootType IAthenaRootCnvSvc::getType ( const CLID clid) const
pure virtual

RootType-based API Load the class (dictionary) from Root.

Implemented in Athena::RootCnvSvc.

◆ getType() [2/2]

virtual RootType IAthenaRootCnvSvc::getType ( const std::type_info &  type) const
pure virtual

Implemented in Athena::RootCnvSvc.

◆ interfaceID()

static const InterfaceID& IAthenaRootCnvSvc::interfaceID ( )
inlinestatic

Retrieve interface ID.

Definition at line 35 of file IAthenaRootCnvSvc.h.

35  {
36  static const InterfaceID s_iid("IAthenaRootCnvSvc", 1, 0);
37  return s_iid;
38  }

◆ writeObject()

virtual const Token* IAthenaRootCnvSvc::writeObject ( const std::string &  key,
const RootType typeDesc,
const void *  pObj,
ITPCnvBase tpConverter = 0 
)
pure virtual

Write object of a given class to Root, using optional T/P converter.

Implemented in Athena::RootCnvSvc.


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