CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 543 of file DbCore.h.

Constructor & Destructor Documentation

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

Definition at line 546 of file DbCore.h.

546  :
547  m_data(),
548  m_whereClause(""){
549  }
coral::AttributeList m_data
Definition: DbCore.h:568

Member Function Documentation

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

Definition at line 551 of file DbCore.h.

References m_data, and m_whereClause.

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

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

Definition at line 555 of file DbCore.h.

References m_whereClause.

555  {
556  f_add_condition<Column1,Column2>( m_whereClause, condition );
557  }
const coral::AttributeList& cond::persistency::DeleteBuffer::get ( void  ) const
inline
const std::string& cond::persistency::DeleteBuffer::whereClause ( ) const
inline

Definition at line 563 of file DbCore.h.

References m_whereClause.

563  {
564  return m_whereClause;
565  }

Member Data Documentation

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

Definition at line 568 of file DbCore.h.

Referenced by addWhereCondition(), and get().

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

Definition at line 569 of file DbCore.h.

Referenced by addWhereCondition(), and whereClause().