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 Reflex::Type& 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 Reflex::Type& 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 Reflex::Type& 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 Reflex::Type& objectType, MappingElement& mapping, ContainerSchema& contSchema );
63 
65 
67 
69 
71 
72  private:
76  };
77 
78 
79 }
80 
81 #endif
82 
83 
Reflex::Type m_objectType
bool build(DataElement &offset, IRelationalData &relationalData)
void write(int oid, const void *data)
Writes a data element.
char * address
Definition: mlp_lapack.h:14
ContainerSchema & m_schema
void setRecordId(const std::vector< int > &identity)
void update(int oid, const void *data)
Updates a data element.
IRelationalUpdater * newUpdater()
STLContainerReader m_reader
PVectorUpdater(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Constructor.
PVectorReader(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Constructor.
unsigned int offset(bool)
PVectorWriter(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Constructor.
void read(void *address)
Reads a data element.
STLContainerWriter m_writer
MappingElement & m_mapping
PVectorStreamer(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
IRelationalReader * newReader()
RelationalBuffer * m_buffer
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
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)