ATLAS Offline Software
Public Member Functions | List of all members
SG::CopyConversionBase Class Referenceabstract

Base class for copy conversions. More...

#include <BaseInfo.h>

Inheritance diagram for SG::CopyConversionBase:
Collaboration diagram for SG::CopyConversionBase:

Public Member Functions

virtual ~CopyConversionBase ()
 Destructor. More...
 
virtual void * create () const =0
 Create an instance of the destination class. More...
 
virtual void destroy (void *p) const =0
 Destroy an instance of the destination class. More...
 
virtual void convertUntyped (const void *src, void *dst) const =0
 Convert the contents of an instance of the source class SRC to an instance of the destination class DST. More...
 

Detailed Description

Base class for copy conversions.

Definition at line 383 of file Control/AthenaKernel/AthenaKernel/BaseInfo.h.

Constructor & Destructor Documentation

◆ ~CopyConversionBase()

virtual SG::CopyConversionBase::~CopyConversionBase ( )
inlinevirtual

Destructor.

Definition at line 387 of file Control/AthenaKernel/AthenaKernel/BaseInfo.h.

387 {}

Member Function Documentation

◆ convertUntyped()

virtual void SG::CopyConversionBase::convertUntyped ( const void *  src,
void *  dst 
) const
pure virtual

Convert the contents of an instance of the source class SRC to an instance of the destination class DST.

Implemented in SG::CopyConversion< SRC, DST >, SG::CopyConversion< IParticleLinkContainer, IParticleContainer >, and SG::CopyConversion< INav4MomLinkContainer, INavigable4MomentumCollection >.

◆ create()

virtual void* SG::CopyConversionBase::create ( ) const
pure virtual

Create an instance of the destination class.

Implemented in SG::CopyConversion< SRC, DST >.

◆ destroy()

virtual void SG::CopyConversionBase::destroy ( void *  p) const
pure virtual

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