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

Constructor & Destructor Documentation

◆ DeleteBuffer()

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

Definition at line 654 of file DbCore.h.

654 : m_data(), m_whereClause("") {}

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

657  {
658  f_add_condition_data<Column>(m_data, m_whereClause, param, condition);
659  }

References goodZToMuMu_cfi::condition, m_data, and m_whereClause.

◆ addWhereCondition() [2/2]

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

Definition at line 662 of file DbCore.h.

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

References goodZToMuMu_cfi::condition, and m_whereClause.

◆ get()

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

◆ whereClause()

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

Definition at line 668 of file DbCore.h.

668 { return m_whereClause; }

References m_whereClause.

Member Data Documentation

◆ m_data

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

Definition at line 671 of file DbCore.h.

Referenced by addWhereCondition(), and get().

◆ m_whereClause

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

Definition at line 672 of file DbCore.h.

Referenced by addWhereCondition(), and whereClause().

cond::persistency::DeleteBuffer::m_whereClause
std::string m_whereClause
Definition: DbCore.h:672
cond::persistency::DeleteBuffer::m_data
coral::AttributeList m_data
Definition: DbCore.h:671
goodZToMuMu_cfi.condition
condition
Definition: goodZToMuMu_cfi.py:37