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

Constructor & Destructor Documentation

◆ DeleteBuffer()

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

Definition at line 655 of file DbCore.h.

655 : m_data(), m_whereClause("") {}
coral::AttributeList m_data
Definition: DbCore.h:672

Member Function Documentation

◆ addWhereCondition() [1/2]

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

Definition at line 658 of file DbCore.h.

References m_data, and m_whereClause.

658  {
659  f_add_condition_data<Column>(m_data, m_whereClause, param, condition);
660  }
coral::AttributeList m_data
Definition: DbCore.h:672

◆ addWhereCondition() [2/2]

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

Definition at line 663 of file DbCore.h.

References m_whereClause.

663  {
664  f_add_condition<Column1, Column2>(m_whereClause, condition);
665  }

◆ get()

const coral::AttributeList& cond::persistency::DeleteBuffer::get ( ) const
inline

◆ whereClause()

const std::string& cond::persistency::DeleteBuffer::whereClause ( ) const
inline

Definition at line 669 of file DbCore.h.

References m_whereClause.

669 { return m_whereClause; }

Member Data Documentation

◆ m_data

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

Definition at line 672 of file DbCore.h.

Referenced by addWhereCondition(), and get().

◆ m_whereClause

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

Definition at line 673 of file DbCore.h.

Referenced by addWhereCondition(), and whereClause().