test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PVectorStreamer.h
Go to the documentation of this file.
1 #ifndef INCLUDE_ORA_PVECTORSTREAMER_H
2 #define INCLUDE_ORA_PVECTORSTREAMER_H
3 
4 #include "STLContainerStreamer.h"
5 
6 namespace ora {
7 
9 
10  public:
12  PVectorWriter( const edm::TypeWithDict& objectType, MappingElement& mapping, ContainerSchema& contSchema );
13  virtual ~PVectorWriter();
14 
15  bool build( DataElement& offset, IRelationalData& relationalData, RelationalBuffer& operationBuffer );
16  void setRecordId( const std::vector<int>& identity );
17  void write( int oid,const void* data );
18 
19  private:
21  };
22 
24 
25  public:
26 
28  PVectorUpdater(const edm::TypeWithDict& objectType, MappingElement& mapping, ContainerSchema& contSchema );
29  virtual ~PVectorUpdater();
30 
31  bool build( DataElement& offset, IRelationalData& relationalData, RelationalBuffer& operationBuffer);
32  void setRecordId( const std::vector<int>& identity );
33  void update( int oid,const void* data );
34 
35  private:
38  };
39 
41 
42  public:
43 
45  PVectorReader(const edm::TypeWithDict& objectType, MappingElement& mapping, ContainerSchema& contSchema );
46 
47  virtual ~PVectorReader();
48 
49  bool build( DataElement& offset, IRelationalData& relationalData );
50  void select( int oid );
51  void setRecordId( const std::vector<int>& identity );
52  void read( void* address );
53  void clear();
54 
55  private:
57  };
58 
60  {
61  public:
62  PVectorStreamer( const edm::TypeWithDict& objectType, MappingElement& mapping, ContainerSchema& contSchema );
63 
65 
67 
69 
71 
72  private:
76  };
77 
78 
79 }
80 
81 #endif
82 
83 
bool build(DataElement &offset, IRelationalData &relationalData)
void write(int oid, const void *data)
Writes a data element.
ContainerSchema & m_schema
void setRecordId(const std::vector< int > &identity)
void update(int oid, const void *data)
Updates a data element.
IRelationalUpdater * newUpdater()
PVectorUpdater(const edm::TypeWithDict &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Constructor.
STLContainerReader m_reader
PVectorReader(const edm::TypeWithDict &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Constructor.
edm::TypeWithDict m_objectType
PVectorStreamer(const edm::TypeWithDict &objectType, MappingElement &mapping, ContainerSchema &contSchema)
void read(void *address)
Reads a data element.
STLContainerWriter m_writer
PVectorWriter(const edm::TypeWithDict &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Constructor.
MappingElement & m_mapping
IRelationalReader * newReader()
RelationalBuffer * m_buffer
STLContainerWriter m_writer
bool build(DataElement &offset, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
bool build(DataElement &offset, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
void setRecordId(const std::vector< int > &identity)
IRelationalWriter * newWriter()
void setRecordId(const std::vector< int > &identity)
void select(int oid)