/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Member Functions | Protected Attributes
TemporalDataObjectCnv Class Reference

#include <TemporalDataObjectCnv.h>

Inheritance diagram for TemporalDataObjectCnv:
Inheritance graph
[legend]
Collaboration diagram for TemporalDataObjectCnv:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TemporalDataObjectCnv (ISvcLocator *svc)
virtual ~TemporalDataObjectCnv ()
StatusCode PerToTran (const PerTemporalDataObject &tobj, DayaBay::TemporalDataObject &dobj)
 Copy data from TObject based class of type TType to DataObject based class of type DOType.
StatusCode TranToPer (const DayaBay::TemporalDataObject &dobj, PerTemporalDataObject &tobj)
 Copy data from DataObject based class of type DOType to TObject based class of type TType.
PerType & getPerInputObject ()
PerType & getPerOutputObject ()
const RootIOBaseObjectgetBaseInputObject ()
const RootIOBaseObjectgetBaseOutputObject ()
virtual StatusCode PerToTran (const PerType &pobj, TranType &tobj)=0
virtual StatusCode TranToPer (const TranType &tobj, PerType &pobj)=0
virtual StatusCode TranObjectToPerObject (DataObject &dat, const RootOutputAddress &)
virtual StatusCode PerObjectToTranObject (DataObject *&dat)
virtual RootInputStreammakeInputStream (const RootInputAddress &ria)
virtual RootOutputStreammakeOutputStream (const RootOutputAddress &ria)
virtual long repSvcType () const
virtual StatusCode initialize ()
virtual StatusCode finalize ()
virtual StatusCode createObj (IOpaqueAddress *addr, DataObject *&dat)
virtual StatusCode createRep (DataObject *pObject, IOpaqueAddress *&refpAddress)
virtual StatusCode fillRepRefs (IOpaqueAddress *pAddress, DataObject *pObject)
virtual StatusCode fillObjRefs (IOpaqueAddress *pAddress, DataObject *pObject)
int commit (const RootOutputAddress &roa)
RootIOBaseCnvotherConverter (int clID)

Static Public Member Functions

static const CLID & classID ()
static StatusCode toTran (const PerTemporalDataObject &tobj, DayaBay::TemporalDataObject &dobj)
 Static method to do conversion.
static StatusCode toPer (const DayaBay::TemporalDataObject &dobj, PerTemporalDataObject &tobj)
static unsigned char storageType ()
static const InterfaceID & interfaceID ()

Protected Attributes

std::string m_perclassName
PerType * m_perInObj
PerType * m_perOutObj
IRootIOSvcm_rioSvc
IConversionSvc * m_cnvSvc
RootInputStreamm_ris

Detailed Description

Definition at line 10 of file TemporalDataObjectCnv.h.


Constructor & Destructor Documentation

TemporalDataObjectCnv::TemporalDataObjectCnv ( ISvcLocator *  svc)

Definition at line 8 of file TemporalDataObjectCnv.cc.

TemporalDataObjectCnv::~TemporalDataObjectCnv ( ) [virtual]

Definition at line 13 of file TemporalDataObjectCnv.cc.

{
}

Member Function Documentation

static const CLID& TemporalDataObjectCnv::classID ( ) [inline, static]

Definition at line 14 of file TemporalDataObjectCnv.h.

                                 {
        return DayaBay::CLID_TemporalDataObject;
    }
StatusCode TemporalDataObjectCnv::toTran ( const PerTemporalDataObject tobj,
DayaBay::TemporalDataObject dobj 
) [static]

Static method to do conversion.

Definition at line 18 of file TemporalDataObjectCnv.cc.

{
    dobj.setEarliest(tobj.earliest);
    dobj.setLatest(tobj.latest);
    return StatusCode::SUCCESS;
}
StatusCode TemporalDataObjectCnv::toPer ( const DayaBay::TemporalDataObject dobj,
PerTemporalDataObject tobj 
) [static]

Definition at line 26 of file TemporalDataObjectCnv.cc.

{
    tobj.earliest = dobj.earliest();
    tobj.latest = dobj.latest();
    return StatusCode::SUCCESS;
}
StatusCode TemporalDataObjectCnv::PerToTran ( const PerTemporalDataObject tobj,
DayaBay::TemporalDataObject dobj 
)

Copy data from TObject based class of type TType to DataObject based class of type DOType.

Definition at line 35 of file TemporalDataObjectCnv.cc.

{
    return TemporalDataObjectCnv::toTran(tobj,dobj);
}
StatusCode TemporalDataObjectCnv::TranToPer ( const DayaBay::TemporalDataObject dobj,
PerTemporalDataObject tobj 
)

Copy data from DataObject based class of type DOType to TObject based class of type TType.

Definition at line 41 of file TemporalDataObjectCnv.cc.

{
    return TemporalDataObjectCnv::toPer(dobj,tobj);
}
PerType & RootIOTypedCnv< class, class >::getPerInputObject ( ) [inherited]
PerType & RootIOTypedCnv< class, class >::getPerOutputObject ( ) [inherited]
const RootIOBaseObject * RootIOTypedCnv< class, class >::getBaseInputObject ( ) [virtual, inherited]

Implements RootIOBaseCnv.

const RootIOBaseObject * RootIOTypedCnv< class, class >::getBaseOutputObject ( ) [virtual, inherited]

Implements RootIOBaseCnv.

virtual StatusCode RootIOTypedCnv< class, class >::PerToTran ( const PerType &  pobj,
TranType &  tobj 
) [pure virtual, inherited]
virtual StatusCode RootIOTypedCnv< class, class >::TranToPer ( const TranType &  tobj,
PerType &  pobj 
) [pure virtual, inherited]
virtual StatusCode RootIOTypedCnv< class, class >::TranObjectToPerObject ( DataObject &  dat,
const RootOutputAddress  
) [virtual, inherited]

Implements RootIOBaseCnv.

virtual StatusCode RootIOTypedCnv< class, class >::PerObjectToTranObject ( DataObject *&  dat) [virtual, inherited]

Implements RootIOBaseCnv.

virtual RootInputStream * RootIOTypedCnv< class, class >::makeInputStream ( const RootInputAddress ria) [virtual, inherited]

Implements RootIOBaseCnv.

virtual RootOutputStream * RootIOTypedCnv< class, class >::makeOutputStream ( const RootOutputAddress ria) [virtual, inherited]

Implements RootIOBaseCnv.

virtual long RootIOTypedCnv< class, class >::repSvcType ( ) const [virtual, inherited]

Reimplemented from RootIOBaseCnv.

virtual StatusCode RootIOTypedCnv< class, class >::initialize ( ) [virtual, inherited]

Reimplemented from RootIOBaseCnv.

virtual StatusCode RootIOTypedCnv< class, class >::finalize ( ) [virtual, inherited]

Reimplemented from RootIOBaseCnv.

virtual StatusCode RootIOTypedCnv< class, class >::createObj ( IOpaqueAddress *  addr,
DataObject *&  dat 
) [virtual, inherited]

Reimplemented from RootIOBaseCnv.

virtual StatusCode RootIOTypedCnv< class, class >::createRep ( DataObject *  pObject,
IOpaqueAddress *&  refpAddress 
) [virtual, inherited]

Reimplemented from RootIOBaseCnv.

virtual StatusCode RootIOTypedCnv< class, class >::fillRepRefs ( IOpaqueAddress *  pAddress,
DataObject *  pObject 
) [virtual, inherited]

Reimplemented from RootIOBaseCnv.

virtual StatusCode RootIOTypedCnv< class, class >::fillObjRefs ( IOpaqueAddress *  pAddress,
DataObject *  pObject 
) [virtual, inherited]

Reimplemented from RootIOBaseCnv.

int RootIOTypedCnv< class, class >::commit ( const RootOutputAddress roa) [inherited]

Reimplemented from RootIOBaseCnv.

RootIOBaseCnv * RootIOTypedCnv< class, class >::otherConverter ( int  clID) [inherited]

Reimplemented from RootIOBaseCnv.

static unsigned char RootIOTypedCnv< class, class >::storageType ( ) [static, inherited]

Reimplemented from RootIOBaseCnv.

static const InterfaceID & RootIOTypedCnv< class, class >::interfaceID ( ) [static, inherited]

Reimplemented from RootIOBaseCnv.


Member Data Documentation

std::string RootIOTypedCnv< class, class >::m_perclassName [protected, inherited]
PerType * RootIOTypedCnv< class, class >::m_perInObj [protected, inherited]
PerType * RootIOTypedCnv< class, class >::m_perOutObj [protected, inherited]
IRootIOSvc * RootIOTypedCnv< class, class >::m_rioSvc [protected, inherited]

Reimplemented from RootIOBaseCnv.

IConversionSvc * RootIOTypedCnv< class, class >::m_cnvSvc [protected, inherited]

Reimplemented from RootIOBaseCnv.

RootInputStream * RootIOTypedCnv< class, class >::m_ris [protected, inherited]

Reimplemented from RootIOBaseCnv.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:58:27 for PerBaseEvent by doxygen 1.7.4