7 #include "CoralBase/Attribute.h"
18 for( std::vector<MappingElement>::const_iterator iMe = mappingList.begin();
19 iMe != mappingList.end(); ++iMe ){
34 for( std::vector<const MappingElement*>::iterator iMe = m_mappings.begin();
35 iMe != m_mappings.end(); iMe++ ){
36 std::vector<std::pair<std::string,std::string> > tableHierarchy = (*iMe)->tableHierarchy();
37 size_t sz = tableHierarchy.size();
38 for(
size_t i=1;
i<sz+1;
i++ ){
41 m_operations.push_back(&delOperation);
47 for( std::vector<DeleteOperation*>::const_iterator iDel = m_operations.begin();
48 iDel != m_operations.end(); ++iDel ){
49 coral::AttributeList& whereData = (*iDel)->whereData();
50 whereData.begin()->data<
int>() = itemId;
virtual ~RelationalDeleter()
Destructor.
std::vector< const MappingElement * > m_mappings
U second(std::pair< T, U > const &p)
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
void build(RelationalBuffer &buffer)
RelationalDeleter(MappingElement &dataMapping)
DeleteOperation & newDelete(const std::string &tableName, bool addToResult=false)