HerdSoftware
0.1.1
|
Persistence service adding HERD-specific behavior to RootPersistenceService. More...
#include <persistence/HerdRootPersistenceService.h>
Public Member Functions | |
bool | BookGlobalObject (const std::string &objName, const std::string &objStore) override |
Prevent booking an object with the same name used for file header object. More... | |
bool | EndOfProcessing () override |
Saves the #FileHeader and then calls EA::RootPersistenceService::EndOfProcessing(). More... | |
std::unique_ptr< PersistenceService > | Copy (const std::string &name, const std::string &output) override |
Creates a copy of the persistence service. More... | |
Persistence service adding HERD-specific behavior to RootPersistenceService.
This class adds some HERD-specific bits to the RootPersistenceService provided by EventAnalysis. Currently it automatically saves a #FileHeader global object.
|
override |
Prevent booking an object with the same name used for file header object.
Returns false if the objName is "fileHeader" since this name is reserved for the #FileHeader object; otherwise the object is booked.
objName | The name of the booked object. |
objStore | The store holding the booked object. |
|
override |
Creates a copy of the persistence service.
This method creates a copy of the Herd Root persistence service. It is needed to use HerdRootPersistenceService in PersistenceAlgos.
name | The name of the copied Herd Root persistence service. |
output | The name of the output file for the copied persistence service. |
|
override |
Saves the #FileHeader and then calls EA::RootPersistenceService::EndOfProcessing().