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 547 of file DbCore.h.

Constructor & Destructor Documentation

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

Definition at line 550 of file DbCore.h.

550  :
551  m_data(),
552  m_whereClause(""){
553  }
coral::AttributeList m_data
Definition: DbCore.h:572

Member Function Documentation

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

Definition at line 555 of file DbCore.h.

References m_data, and m_whereClause.

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

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

Definition at line 559 of file DbCore.h.

References m_whereClause.

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

Definition at line 567 of file DbCore.h.

References m_whereClause.

567  {
568  return m_whereClause;
569  }

Member Data Documentation

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

Definition at line 572 of file DbCore.h.

Referenced by addWhereCondition(), and get().

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

Definition at line 573 of file DbCore.h.

Referenced by addWhereCondition(), and whereClause().