test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RelationalDeleter.h
Go to the documentation of this file.
1 #ifndef INCLUDE_ORA_RELATIONALDELETER_H
2 #define INCLUDE_ORA_RELATIONALDELETER_H
3 
4 #include "MappingElement.h"
5 
6 namespace ora {
7 
8  class MappingElement;
9  class RelationalBuffer;
10  class DeleteOperation;
11 
13 
14  public:
15 
16  explicit RelationalDeleter( MappingElement& dataMapping );
17  explicit RelationalDeleter( const std::vector<MappingElement>& mappingList );
18 
20  virtual ~RelationalDeleter();
21 
22  void build( RelationalBuffer& buffer );
23 
24  void clear();
25 
26  void erase( int itemId );
27 
28  private:
29  std::vector<const MappingElement*> m_mappings;
30  std::vector<DeleteOperation*> m_operations;
31 
32  };
33 }
34 
35 #endif
36 
37 
std::vector< DeleteOperation * > m_operations
virtual ~RelationalDeleter()
Destructor.
std::vector< const MappingElement * > m_mappings
void build(RelationalBuffer &buffer)
RelationalDeleter(MappingElement &dataMapping)