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::IOVElementProxy Class Reference

#include <IOVProxy.h>

Public Member Functions

cond::DbSessiondb () const
 
 IOVElementProxy ()
 
 IOVElementProxy (cond::DbSession &dbSession)
 
 IOVElementProxy (cond::Time_t is, cond::Time_t it, std::string const &itoken, cond::DbSession &dbSession)
 
void set (cond::Time_t is, cond::Time_t it, std::string const &itoken)
 
void set (IOV const &v, int i)
 
cond::Time_t since () const
 
cond::Time_t till () const
 
std::string const & token () const
 
std::string const & wrapperToken () const
 

Private Attributes

cond::DbSession m_dbSession
 
cond::Time_t m_since
 
cond::Time_t m_till
 
std::string m_token
 

Detailed Description

Definition at line 19 of file IOVProxy.h.

Constructor & Destructor Documentation

cond::IOVElementProxy::IOVElementProxy ( )
inline

Definition at line 21 of file IOVProxy.h.

cond::Time_t m_since
Definition: IOVProxy.h:45
cond::Time_t m_till
Definition: IOVProxy.h:46
cond::DbSession m_dbSession
Definition: IOVProxy.h:48
const Time_t invalidTime(0)
cond::IOVElementProxy::IOVElementProxy ( cond::DbSession dbSession)
inlineexplicit

Definition at line 22 of file IOVProxy.h.

22  :
cond::Time_t m_since
Definition: IOVProxy.h:45
cond::Time_t m_till
Definition: IOVProxy.h:46
cond::DbSession m_dbSession
Definition: IOVProxy.h:48
const Time_t invalidTime(0)
cond::IOVElementProxy::IOVElementProxy ( cond::Time_t  is,
cond::Time_t  it,
std::string const &  itoken,
cond::DbSession dbSession 
)
inline

Definition at line 24 of file IOVProxy.h.

27  :
28  m_since(is), m_till(it), m_token(itoken), m_dbSession( dbSession ){}
cond::Time_t m_since
Definition: IOVProxy.h:45
cond::Time_t m_till
Definition: IOVProxy.h:46
std::string m_token
Definition: IOVProxy.h:47
cond::DbSession m_dbSession
Definition: IOVProxy.h:48

Member Function Documentation

cond::DbSession& cond::IOVElementProxy::db ( ) const
inline

Definition at line 42 of file IOVProxy.h.

References m_dbSession.

Referenced by cond::BasePayloadProxy::make(), and cond::PayLoadInspector< DataT >::PayLoadInspector().

42 { return m_dbSession; }
cond::DbSession m_dbSession
Definition: IOVProxy.h:48
void cond::IOVElementProxy::set ( cond::Time_t  is,
cond::Time_t  it,
std::string const &  itoken 
)
inline

Definition at line 30 of file IOVProxy.h.

References m_since, m_till, and m_token.

Referenced by cond::BasePayloadProxy::loadFor(), cond::BasePayloadProxy::make(), and cond::IOVProxy::IterHelp::operator()().

32  {
33  m_since=is; m_till=it; m_token=itoken;
34  }
cond::Time_t m_since
Definition: IOVProxy.h:45
cond::Time_t m_till
Definition: IOVProxy.h:46
std::string m_token
Definition: IOVProxy.h:47
void cond::IOVElementProxy::set ( IOV const &  v,
int  i 
)
cond::Time_t cond::IOVElementProxy::since ( ) const
inline
cond::Time_t cond::IOVElementProxy::till ( ) const
inline
std::string const& cond::IOVElementProxy::token ( ) const
inline
std::string const& cond::IOVElementProxy::wrapperToken ( ) const
inline

Definition at line 41 of file IOVProxy.h.

References m_token.

Referenced by BOOST_PYTHON_MODULE().

41 {return m_token;}
std::string m_token
Definition: IOVProxy.h:47

Member Data Documentation

cond::DbSession cond::IOVElementProxy::m_dbSession
mutableprivate

Definition at line 48 of file IOVProxy.h.

Referenced by db().

cond::Time_t cond::IOVElementProxy::m_since
private

Definition at line 45 of file IOVProxy.h.

Referenced by set(), and since().

cond::Time_t cond::IOVElementProxy::m_till
private

Definition at line 46 of file IOVProxy.h.

Referenced by set(), and till().

std::string cond::IOVElementProxy::m_token
private

Definition at line 47 of file IOVProxy.h.

Referenced by set(), token(), and wrapperToken().