ATLAS Offline Software
|
Functions | |
template<class DATA > | |
DATA * | prepareForWrite (DATA *d, std::unique_ptr< DATA > &) |
Called before serializing an object to BS. More... | |
template<class DV > | |
ViewVector< DV > * | prepareForWrite (ViewVector< DV > *d, std::unique_ptr< ViewVector< DV > > &holder) |
Called before serializing an object to BS. More... | |
template<class DATA > | |
DATA * | finishRead (DATA *d) |
Called after an object has been read from BS. More... | |
template<class DV > | |
ViewVector< DV > *finishRead | NO_SANITIZE_UNDEFINED (ViewVector< DV > *d) |
Called after an object has been read from BS. More... | |
DATA* TrigSerialization::finishRead | ( | DATA * | d | ) |
Called after an object has been read from BS.
d | The object read. |
This generic version simply returns the input object unaltered.
Definition at line 105 of file TrigSerializeConverter.h.
ViewVector<DV>* finishRead TrigSerialization::NO_SANITIZE_UNDEFINED | ( | ViewVector< DV > * | d | ) |
Called after an object has been read from BS.
d | The object read. |
This version is specialized for ViewVector
. It handles schema evolution and clears the persistent data.
Definition at line 119 of file TrigSerializeConverter.h.
DATA* TrigSerialization::prepareForWrite | ( | DATA * | d, |
std::unique_ptr< DATA > & | |||
) |
Called before serializing an object to BS.
d | The object being serialized. |
holder | A unique_ptr to hold a newly-created object. |
This generic version simply returns the input object unaltered.
Definition at line 72 of file TrigSerializeConverter.h.
ViewVector<DV>* TrigSerialization::prepareForWrite | ( | ViewVector< DV > * | d, |
std::unique_ptr< ViewVector< DV > > & | holder | ||
) |
Called before serializing an object to BS.
d | The object being serialized. |
holder | A unique_ptr to hold a newly-created object. |
This version is specialized for ViewVector
. A copy of the object is made, and setClearOnPersistent
called on the copy. The copy is returned, as well as being assigned to the unique_ptr
so that it will get deleted after serialization.
Definition at line 89 of file TrigSerializeConverter.h.