18 m_operations.push_back( std::make_pair(newOperation,
false) );
24 m_operations.push_back( std::make_pair(newOperation,
false) );
30 m_operations.push_back( std::make_pair(newOperation,
false) );
37 m_operations.push_back( std::make_pair(newOperation,addToResult) );
44 m_operations.push_back( std::make_pair(newOperation,addToResult) );
51 m_volatileBuffers.push_back( newBuffer );
56 m_blobBuffer.push_back( blob );
60 for( std::vector< std::pair<IRelationalOperation*,bool> >::const_iterator iOp = m_operations.begin();
61 iOp != m_operations.end(); ++iOp ){
65 for( std::vector<RelationalBuffer*>::const_iterator iV = m_volatileBuffers.begin() ;
66 iV != m_volatileBuffers.end(); ++iV ){
69 m_volatileBuffers.clear();
76 std::vector< std::pair<IRelationalOperation*,bool> >::const_iterator iOp = m_operations.begin();
77 if( iOp != m_operations.end() ){
79 go = ok || !(iOp->first)->isRequired();
80 ret = ret && (ok || !iOp->second);
83 for( ; iOp != m_operations.end(); ++iOp ){
86 go = ok || !(iOp->first)->isRequired();
87 ret = ret && (ok || !iOp->second);
89 (iOp->first)->
reset();
92 for( std::vector<RelationalBuffer*>::iterator iV = m_volatileBuffers.begin() ;
93 iV != m_volatileBuffers.end(); ++iV ){
97 m_volatileBuffers.clear();
tuple ret
prodAgent to be discontinued
virtual ~RelationalBuffer()
RelationalBuffer & addVolatileBuffer()
RelationalBuffer(coral::ISchema &schema)
InsertOperation & newInsert(const std::string &tableName)
BulkInsertOperation & newBulkInsert(const std::string &tableName)
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
MultiRecordInsertOperation & newMultiRecordInsert(const std::string &tableName)
UpdateOperation & newUpdate(const std::string &tableName, bool addToResult=false)
void storeBlob(boost::shared_ptr< coral::Blob > blob)
void reset(double vett[256])
DeleteOperation & newDelete(const std::string &tableName, bool addToResult=false)