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 Member Functions | Private Attributes
cond::persistency::UpdateBuffer 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="=")
 
const coral::AttributeList & get () const
 
const std::string & setClause () const
 
template<typename... Columns, typename Params >
void setColumnData (const Params &params)
 
template<typename Column1 , typename Column2 >
void setColumnMatch ()
 
 UpdateBuffer ()
 
const std::string & whereClause () const
 

Private Member Functions

template<typename Params , int n, typename C1 , typename... Cs>
void _set (const Params &params)
 
template<typename Params , int n>
void _set (const Params &)
 

Private Attributes

coral::AttributeList m_data
 
std::string m_setClause
 
std::string m_whereClause
 

Detailed Description

Definition at line 490 of file DbCore.h.

Constructor & Destructor Documentation

cond::persistency::UpdateBuffer::UpdateBuffer ( )
inline

Definition at line 506 of file DbCore.h.

Member Function Documentation

template<typename Params , int n, typename C1 , typename... Cs>
void cond::persistency::UpdateBuffer::_set ( const Params &  params)
inlineprivate

Definition at line 493 of file DbCore.h.

template<typename Params , int n>
void cond::persistency::UpdateBuffer::_set ( const Params &  )
inlineprivate

Definition at line 501 of file DbCore.h.

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

Definition at line 521 of file DbCore.h.

Referenced by cond::persistency::GLOBAL_TAG::Table::update().

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

Definition at line 525 of file DbCore.h.

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

Definition at line 529 of file DbCore.h.

Referenced by Options.Options::__getitem__().

const std::string& cond::persistency::UpdateBuffer::setClause ( ) const
inline

Definition at line 533 of file DbCore.h.

template<typename... Columns, typename Params >
void cond::persistency::UpdateBuffer::setColumnData ( const Params &  params)
inline

Definition at line 512 of file DbCore.h.

Referenced by cond::persistency::GLOBAL_TAG::Table::update().

template<typename Column1 , typename Column2 >
void cond::persistency::UpdateBuffer::setColumnMatch ( )
inline

Definition at line 516 of file DbCore.h.

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

Definition at line 537 of file DbCore.h.

Member Data Documentation

coral::AttributeList cond::persistency::UpdateBuffer::m_data
private

Definition at line 542 of file DbCore.h.

std::string cond::persistency::UpdateBuffer::m_setClause
private

Definition at line 543 of file DbCore.h.

std::string cond::persistency::UpdateBuffer::m_whereClause
private

Definition at line 544 of file DbCore.h.