#include <CdbBdbNTupleP2T.hh>
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). | |
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.
|
||||||||||||||||
|
Try to convert (from a generic CdbObject) (regular pointer version).
Definition at line 178 of file CdbBdbNTupleP2T.hh. |
|
||||||||||||||||
|
Try to convert (from a generic CdbObject).
Definition at line 164 of file CdbBdbNTupleP2T.hh. |
|
||||||||||||||||
|
Try to convert (from a persistent reference) (regular pointer version).
Definition at line 153 of file CdbBdbNTupleP2T.hh. |
|
||||||||||||||||
|
Try to convert (from a persistent reference).
Definition at line 139 of file CdbBdbNTupleP2T.hh. |
1.3-rc3