Static Public Member Functions | |
| CdbStatus | to_transient (CdbNTuple< T, NCOL > *&thePtr, const ooRef(BdbObject)&thePersRef) |
| Try to convert into a transient form. | |
| CdbStatus | to_persistent (ooRef(BdbObject)&thePersRef, const CdbCPtr< CdbNTuple< T, NCOL > > &thePtr, const BdbRefAny &theHintRef) |
| Try to produce a persistent object out of a transient tuple. | |
This class will perform the actual conversion operations based on the persistent class specified as its template parameter.
DESIGN NOTES:
The model of a class passed as a value of the 'PERSISTENT' parameter must be the same one as in case of the "CdbBdbNTupleP" class except signatures for constructors (the issue of different constructors will be solved later).
Definition at line 44 of file CdbBdbNTupleConversionImpl.cc.
|
||||||||||||||||||||
|
Try to produce a persistent object out of a transient tuple. The method will attempt to use the specified persistent type to store the contents of the specified transient tuple. Definition at line 161 of file CdbBdbNTupleConversionImpl.cc. References CdbStatus::Error, CdbStatus::IllegalParameters, and CdbStatus::Success. |
|
||||||||||||||||
|
Try to convert into a transient form. The method will check if the specified reference matches the specified persistent type as well as parameters of the transient n-tuple. Definition at line 51 of file CdbBdbNTupleConversionImpl.cc. References CdbNTuple< T, NCOL >::append_row(), CdbNTupleFactoryFE::createSimple(), CdbStatus::Error, CdbStatus::IllegalParameters, CdbBdbSchemaUtils::instance(), ooRef(), CdbStatus::Success, and CdbBdbSchemaUtils::typeNumberToClassName(). |
1.3-rc3