| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TagCollectionStream.h
Go to the documentation of this file.
1 // $Id: TagCollectionStream.h,v 1.1 2006/08/18 14:50:24 hmd Exp $
2 #ifndef GAUDISVC_PERSISTENCYSVC_TAGCOLLECTIONSTREAM_H
3 #define GAUDISVC_PERSISTENCYSVC_TAGCOLLECTIONSTREAM_H
4
5 // Required for inheritance
6 #include "OutputStream.h"
7 #include "GaudiKernel/NTuple.h"
8
9 // forward declarations
10 class GenericAddress;
11
12
63 class TagCollectionStream : public OutputStream {
64 protected:
65
67 std::string m_addrLeaf;
69 std::string m_addrColName;
71 std::string m_tagName;
73 std::string m_collSvcName;
75 bool m_objectsFirst;
77 INTupleItem* m_addrColumn;
79 std::string m_topLeafName;
81 bool m_isTopLeaf;
83 INTupleSvc* m_collectionSvc;
85 GenericAddress* m_addr;
87 NTuple::Item<IOpaqueAddress*> m_item;
89 virtual StatusCode writeObjects();
91 virtual StatusCode connectAddress();
93 StatusCode writeData();
95 StatusCode writeTuple();
97 StatusCode writeRecord();
98
99 public:
101 TagCollectionStream(const std::string& name, ISvcLocator* pSvcLocator);
103 virtual ~TagCollectionStream();
105 virtual StatusCode initialize();
107 virtual StatusCode finalize();
108 };
109
110 #endif // GAUDISVC_PERSISTENCYSVC_TAGCOLLECTIONSTREAM_H