CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
cond::persistency::DeleteBuffer Class Reference

#include <DbCore.h>

Public Member Functions

template<typename Column , typename P >
void addWhereCondition (const P &param, const std::string condition="=")
 
template<typename Column1 , typename Column2 >
void addWhereCondition (const std::string condition="=")
 
 DeleteBuffer ()
 
const coral::AttributeList & get () const
 
const std::string & whereClause () const
 

Private Attributes

coral::AttributeList m_data
 
std::string m_whereClause
 

Detailed Description

Definition at line 549 of file DbCore.h.

Constructor & Destructor Documentation

cond::persistency::DeleteBuffer::DeleteBuffer ( )
inline

Definition at line 552 of file DbCore.h.

552  :
553  m_data(),
554  m_whereClause(""){
555  }
coral::AttributeList m_data
Definition: DbCore.h:574

Member Function Documentation

template<typename Column , typename P >
void cond::persistency::DeleteBuffer::addWhereCondition ( const P param,
const std::string  condition = "=" 
)
inline

Definition at line 557 of file DbCore.h.

References cond::persistency::RowBuffer< Columns >::m_data.

Referenced by cond::persistency::IOV::Table::erase().

557  {
558  f_add_condition_data<Column>( m_data, m_whereClause, param, condition );
559  }
coral::AttributeList m_data
Definition: DbCore.h:574
template<typename Column1 , typename Column2 >
void cond::persistency::DeleteBuffer::addWhereCondition ( const std::string  condition = "=")
inline

Definition at line 561 of file DbCore.h.

561  {
562  f_add_condition<Column1,Column2>( m_whereClause, condition );
563  }
const coral::AttributeList& cond::persistency::DeleteBuffer::get ( ) const
inline
const std::string& cond::persistency::DeleteBuffer::whereClause ( ) const
inline

Definition at line 569 of file DbCore.h.

569  {
570  return m_whereClause;
571  }

Member Data Documentation

coral::AttributeList cond::persistency::DeleteBuffer::m_data
private

Definition at line 574 of file DbCore.h.

std::string cond::persistency::DeleteBuffer::m_whereClause
private

Definition at line 575 of file DbCore.h.