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

Constructor & Destructor Documentation

◆ DeleteBuffer()

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

Definition at line 662 of file DbCore.h.

662 : m_data(), m_whereClause("") {}
coral::AttributeList m_data
Definition: DbCore.h:679

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

References m_data, and m_whereClause.

665  {
666  f_add_condition_data<Column>(m_data, m_whereClause, param, condition);
667  }
coral::AttributeList m_data
Definition: DbCore.h:679

◆ addWhereCondition() [2/2]

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

Definition at line 670 of file DbCore.h.

References m_whereClause.

670  {
671  f_add_condition<Column1, Column2>(m_whereClause, condition);
672  }

◆ get()

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

◆ whereClause()

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

Definition at line 676 of file DbCore.h.

References m_whereClause.

676 { return m_whereClause; }

Member Data Documentation

◆ m_data

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

Definition at line 679 of file DbCore.h.

Referenced by addWhereCondition(), and get().

◆ m_whereClause

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

Definition at line 680 of file DbCore.h.

Referenced by addWhereCondition(), and whereClause().