Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CdbBdbNTupleP2T< CdbBdbNTupleConversionRules_UseDefault > Class Template Reference

A specialized version of the above defined conversion class. More...

#include <CdbBdbNTupleP2T.hh>

List of all members.

Static Public Member Functions

template<class T, unsigned int NCOL> CdbStatus convert (CdbCPtr< CdbNTuple< T, NCOL > > &thePtr, const ooRef(BdbObject)&thePersRef)
 Try to convert (from a persistent reference).

template<class T, unsigned int NCOL> CdbStatus convert (CdbNTuple< T, NCOL > *&thePtr, const ooRef(BdbObject)&thePersRef)
 Try to convert (from a persistent reference) (regular pointer version).

template<class T, unsigned int NCOL> CdbStatus convert (CdbCPtr< CdbNTuple< T, NCOL > > &thePtr, const CdbObjectPtr &theObjectPtr)
 Try to convert (from a generic CdbObject).

template<class T, unsigned int NCOL> CdbStatus convert (CdbNTuple< T, NCOL > *&thePtr, const CdbObjectPtr &theObjectPtr)
 Try to convert (from a generic CdbObject) (regular pointer version).


Detailed Description

template<>
class CdbBdbNTupleP2T< CdbBdbNTupleConversionRules_UseDefault >

A specialized version of the above defined conversion class.

This class is used when default conversion rules for alements of the class seems to be sufficient. Here is an example of how it can be used:

ooRef(BdbObject) pObjectRef; // A persistent object to be created CdbCPtr< CdbNTuple< float, 3 > > tuplePtr = ...; // Have a pointer pointing onto an existing tuple BdbRefAny hintRef = ...; // Obtain a placement and clustering hint

if( CdbStatus::Success != CdbBdbNTupleP2T<>::convert( pObjectRef, tuplePtr, hintRef )) { std::cout << "error: failed to convert a transient n-tuple into a persistent." << std::endl; ... }

Definition at line 130 of file CdbBdbNTupleP2T.hh.


Member Function Documentation

template<class T, unsigned int NCOL>
CdbStatus CdbBdbNTupleP2T< CdbBdbNTupleConversionRules_UseDefault >::convert CdbNTuple< T, NCOL > *&    thePtr,
const CdbObjectPtr   theObjectPtr
[inline, static]
 

Try to convert (from a generic CdbObject) (regular pointer version).

Definition at line 178 of file CdbBdbNTupleP2T.hh.

template<class T, unsigned int NCOL>
CdbStatus CdbBdbNTupleP2T< CdbBdbNTupleConversionRules_UseDefault >::convert CdbCPtr< CdbNTuple< T, NCOL > > &    thePtr,
const CdbObjectPtr   theObjectPtr
[inline, static]
 

Try to convert (from a generic CdbObject).

Definition at line 164 of file CdbBdbNTupleP2T.hh.

template<class T, unsigned int NCOL>
CdbStatus CdbBdbNTupleP2T< CdbBdbNTupleConversionRules_UseDefault >::convert CdbNTuple< T, NCOL > *&    thePtr,
const ooRef(BdbObject)&    thePersRef
[inline, static]
 

Try to convert (from a persistent reference) (regular pointer version).

Definition at line 153 of file CdbBdbNTupleP2T.hh.

template<class T, unsigned int NCOL>
CdbStatus CdbBdbNTupleP2T< CdbBdbNTupleConversionRules_UseDefault >::convert CdbCPtr< CdbNTuple< T, NCOL > > &    thePtr,
const ooRef(BdbObject)&    thePersRef
[inline, static]
 

Try to convert (from a persistent reference).

Definition at line 139 of file CdbBdbNTupleP2T.hh.


The documentation for this class was generated from the following file:
Generated on Mon Dec 5 18:22:18 2005 for CDB by doxygen1.3-rc3