Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

McEventCnv Class Reference

#include <McEventCnv.h>

Inheritance diagram for McEventCnv:

Converter< Ty1, Ty2 > Converter< Ty1, Ty2 > List of all members.

Public Types

typedef Ty2 destination
typedef Ty2 destination
typedef Ty1 source
typedef Ty1 source

Public Member Functions

StatusCode createObj (IOpaqueAddress *pAddr, DataObject *&pObj)
StatusCode createObj (IOpaqueAddress *pAddr, DataObject *&pObj)
destinationoperator (const source &) const
destinationoperator (const source &) const
virtual long repSvcType () const
virtual long repSvcType () const

Static Public Member Functions

const CLID & classID ()
const CLID & classID ()
unsigned char storageType ()
 Storage type and class ID.
unsigned char storageType ()
 Storage type and class ID.

Protected Member Functions

virtual destinationconvert (const source &) const =0
virtual destinationconvert (const source &) const =0
 McEventCnv (ISvcLocator *svcloc)
 McEventCnv (ISvcLocator *svcloc)

Friends

class CnvFactory<McEventCnv>

Member Typedef Documentation

template<class Ty1, class Ty2>
typedef Ty2 Converter< Ty1, Ty2 >::destination [inherited]
 

template<class Ty1, class Ty2>
typedef Ty2 Converter< Ty1, Ty2 >::destination [inherited]
 

template<class Ty1, class Ty2>
typedef Ty1 Converter< Ty1, Ty2 >::source [inherited]
 

template<class Ty1, class Ty2>
typedef Ty1 Converter< Ty1, Ty2 >::source [inherited]
 


Constructor & Destructor Documentation

McEventCnv::McEventCnv ISvcLocator *  svcloc  )  [protected]
 

00013                                           :
00014   Converter(McCnvSvc::storageType(), classID(), svcloc) { 
00015 }

McEventCnv::McEventCnv ISvcLocator *  svcloc  )  [protected]
 


Member Function Documentation

const CLID& McEventCnv::classID  )  [inline, static]
 

00030                                {
00031     return CLID_Event;
00032   }                 

const CLID& McEventCnv::classID  )  [inline, static]
 

00030                                {
00031     return CLID_Event;
00032   }                 

template<class Ty1, class Ty2>
virtual destination* Converter< Ty1, Ty2 >::convert const source  )  const [protected, pure virtual, inherited]
 

template<class Ty1, class Ty2>
virtual destination* Converter< Ty1, Ty2 >::convert const source  )  const [protected, pure virtual, inherited]
 

StatusCode McEventCnv::createObj IOpaqueAddress *  pAddr,
DataObject *&  pObj
 

StatusCode McEventCnv::createObj IOpaqueAddress *  pAddr,
DataObject *&  pObj
 

00018                                                               {
00019   McAddress *pMcAddr;
00020   pMcAddr = dynamic_cast<McAddress*>(pAddr);
00021  
00022   Event::EventHeader *eventHeader = new Event::EventHeader;
00023   eventHeader->setEventNumber(pMcAddr->eventNumber());
00024   eventHeader->setRunNumber(pMcAddr->runNumber());
00025   pObj = eventHeader;
00026 
00027   return StatusCode::SUCCESS;    
00028 }

template<class Ty1, class Ty2>
destination* Converter< Ty1, Ty2 >::operator const source  )  const [inline, inherited]
 

template<class Ty1, class Ty2>
destination* Converter< Ty1, Ty2 >::operator const source  )  const [inline, inherited]
 

virtual long McEventCnv::repSvcType  )  const [virtual]
 

long McEventCnv::repSvcType  )  const [virtual]
 

00035                                   {
00036   return McCnvSvc::storageType();
00037 }

unsigned char McEventCnv::storageType  )  [static]
 

Storage type and class ID.

unsigned char McEventCnv::storageType  )  [static]
 

Storage type and class ID.

00031                                       {
00032   return McCnvSvc::storageType();
00033 }    


Friends And Related Function Documentation

CnvFactory<McEventCnv> [friend]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:22:18 2011 for BOSS6.5.5 by  doxygen 1.3.9.1