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

CdbBdbNTupleT2P< CdbBdbNTupleConversionRules_UseDefault > Class Template Reference

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

#include <CdbBdbNTupleT2P.hh>

List of all members.

Static Public Member Functions

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


Detailed Description

template<>
class CdbBdbNTupleT2P< 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 != CdbBdbNTupleT2P<>::convert( pObjectRef, tuplePtr, hintRef )) { std::cout << "error: failed to convert a transient n-tuple into a persistent." << std::endl; ... }

Definition at line 78 of file CdbBdbNTupleT2P.hh.


Member Function Documentation

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

Try to convert.

See also:
CdbBdbNTupleConversionImpl::to_persistent()

Definition at line 88 of file CdbBdbNTupleT2P.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