#include <CdbBdbNTupleT2P.hh>
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. | |
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.
|
||||||||||||||||||||
|
Try to convert.
Definition at line 88 of file CdbBdbNTupleT2P.hh. |
1.3-rc3