|  | The Gaudi Framework
    v28r2
    | 
#include <GaudiMP/TESSerializer.h>


| Public Member Functions | |
| TESSerializer (IDataProviderSvc *svc, IAddressCreator *ac) | |
| Constructor.  More... | |
| void | dumpBuffer (TBufferFile &) | 
| Dump TES contents listed in m_itemList/m_optItemList to a TBufferFile.  More... | |
| void | loadBuffer (TBufferFile &) | 
| Rebuild TES from items in a TBufferFile.  More... | |
| void | addItem (const std::string &path) | 
| add an item to the TESSerializer's list (#notation)  More... | |
| void | addOptItem (const std::string &path) | 
| add an item to the TESSerializer's optional list (#notation)  More... | |
| bool | analyse (IRegistry *dir, int level) override | 
| Analysis callback.  More... | |
| void | checkItems () | 
| print out the contents of m_itemList and m_optItemList (std::cout)  More... | |
| virtual | ~TESSerializer () | 
|  Public Member Functions inherited from IDataStoreAgent | |
| virtual | ~IDataStoreAgent ()=default | 
| destructor  More... | |
| Protected Member Functions | |
| void | addItem (Items &itms, const std::string &descriptor) | 
| Add item to the list of items to be serialized (#notation)  More... | |
| DataStoreItem * | findItem (const std::string &path) | 
| Find single item identified by its path (exact match)  More... | |
| Private Types | |
| typedef std::vector< DataStoreItem * > | Items | 
| typedef std::vector< std::string > | ItemNames | 
| typedef std::vector< DataObject * > | Objects | 
| Private Attributes | |
| IDataProviderSvc * | m_TES | 
| TES pointer.  More... | |
| IDataManagerSvc * | m_TESMgr | 
| TES pointer.  More... | |
| ItemNames | m_itemNames | 
| Vector of item names.  More... | |
| Items | m_itemList | 
| Vector of items to be saved to this stream (DataStoreItem ptrs)  More... | |
| ItemNames | m_optItemNames | 
| Vector of item names (std::strings)  More... | |
| Items | m_optItemList | 
| Vector of optional items to be saved to this stream (DataStoreItem ptrs)  More... | |
| DataStoreItem * | m_currentItem | 
| Current item while traversing the TES tree.  More... | |
| Objects | m_objects | 
| Selected list of Objects to be serialized (DataObject ptrs)  More... | |
| std::map< std::string, TClass * > | m_classMap | 
| Map of gROOT class information.  More... | |
| bool | m_verifyItems | 
| Boolean Flag as used by GaudiSvc/PersistencySvc/OutputStreamer.  More... | |
| bool | m_strict | 
| Boolean Flag used to determine error tolerance.  More... | |
| IAddressCreator * | m_addressCreator | 
| IAddress Creator for Opaque Addresses.  More... | |
Definition at line 31 of file TESSerializer.h.
| 
 | private | 
Definition at line 33 of file TESSerializer.h.
| 
 | private | 
Definition at line 32 of file TESSerializer.h.
| 
 | private | 
Definition at line 34 of file TESSerializer.h.
| GaudiMP::TESSerializer::TESSerializer | ( | IDataProviderSvc * | svc, | 
| IAddressCreator * | ac | ||
| ) | 
Constructor.
Definition at line 56 of file TESSerializer.cpp.
| 
 | inlinevirtual | 
Definition at line 57 of file TESSerializer.h.
| void GaudiMP::TESSerializer::addItem | ( | const std::string & | path | ) | 
add an item to the TESSerializer's list (#notation)
Add item to serialization list; ie append to std::vector of DataStoreItems.
Definition at line 374 of file TESSerializer.cpp.
| 
 | protected | 
Add item to the list of items to be serialized (#notation)
Add item to output streamer list (protected)
Definition at line 327 of file TESSerializer.cpp.
| void GaudiMP::TESSerializer::addOptItem | ( | const std::string & | path | ) | 
add an item to the TESSerializer's optional list (#notation)
Add optional item to output streamer list.
Definition at line 380 of file TESSerializer.cpp.
| 
 | overridevirtual | 
Analysis callback.
Implements IDataStoreAgent.
Definition at line 45 of file TESSerializer.cpp.
| void GaudiMP::TESSerializer::checkItems | ( | ) | 
print out the contents of m_itemList and m_optItemList (std::cout)
Uses cout to print the contents of the mandatory and optional item lists.
Definition at line 386 of file TESSerializer.cpp.
| void GaudiMP::TESSerializer::dumpBuffer | ( | TBufferFile & | buffer | ) | 
Dump TES contents listed in m_itemList/m_optItemList to a TBufferFile.
Serialize contents of TES to a TBufferFile.
Definition at line 67 of file TESSerializer.cpp.
| 
 | protected | 
Find single item identified by its path (exact match)
Definition at line 399 of file TESSerializer.cpp.
| void GaudiMP::TESSerializer::loadBuffer | ( | TBufferFile & | buffer | ) | 
Rebuild TES from items in a TBufferFile.
Reconstruct the TES from a given TBufferFile.
The next is equivalent to ReadObjectAny(cl) except of the 'magic!!'
Definition at line 192 of file TESSerializer.cpp.
| 
 | private | 
IAddress Creator for Opaque Addresses.
Definition at line 91 of file TESSerializer.h.
| 
 | private | 
Map of gROOT class information.
Definition at line 85 of file TESSerializer.h.
| 
 | private | 
Current item while traversing the TES tree.
Definition at line 80 of file TESSerializer.h.
| 
 | private | 
Vector of items to be saved to this stream (DataStoreItem ptrs)
Definition at line 74 of file TESSerializer.h.
| 
 | private | 
Vector of item names.
Definition at line 72 of file TESSerializer.h.
| 
 | private | 
Selected list of Objects to be serialized (DataObject ptrs)
Definition at line 82 of file TESSerializer.h.
| 
 | private | 
Vector of optional items to be saved to this stream (DataStoreItem ptrs)
Definition at line 78 of file TESSerializer.h.
| 
 | private | 
Vector of item names (std::strings)
Definition at line 76 of file TESSerializer.h.
| 
 | private | 
Boolean Flag used to determine error tolerance.
Definition at line 89 of file TESSerializer.h.
| 
 | private | 
TES pointer.
Definition at line 68 of file TESSerializer.h.
| 
 | private | 
TES pointer.
Definition at line 70 of file TESSerializer.h.
| 
 | private | 
Boolean Flag as used by GaudiSvc/PersistencySvc/OutputStreamer.
Definition at line 87 of file TESSerializer.h.