#include <PayloadProxy.h>
Public Member Functions | |
virtual void | invalidateCache () |
const DataT & | operator() () const |
PayloadProxy (cond::DbSession &session, const std::string &token, bool errorPolicy, const char *source=0) | |
PayloadProxy (cond::DbSession &session, bool errorPolicy, const char *source=0) | |
virtual | ~PayloadProxy () |
Protected Member Functions | |
virtual bool | load (cond::DbSession &session, std::string const &itoken) |
Private Attributes | |
cond::PayloadRef< DataT > | m_data |
Definition at line 113 of file PayloadProxy.h.
cond::PayloadProxy< DataT >::PayloadProxy | ( | cond::DbSession & | session, |
bool | errorPolicy, | ||
const char * | source = 0 |
||
) | [inline] |
Reimplemented in cond::PayloadProxy< cond::KeyList >.
Definition at line 116 of file PayloadProxy.h.
: BasePayloadProxy(session, errorPolicy) {}
cond::PayloadProxy< DataT >::PayloadProxy | ( | cond::DbSession & | session, |
const std::string & | token, | ||
bool | errorPolicy, | ||
const char * | source = 0 |
||
) | [inline] |
Reimplemented in cond::PayloadProxy< cond::KeyList >.
Definition at line 121 of file PayloadProxy.h.
: BasePayloadProxy(session, token, errorPolicy) {}
virtual cond::PayloadProxy< DataT >::~PayloadProxy | ( | ) | [inline, virtual] |
Reimplemented in cond::PayloadProxy< cond::KeyList >.
Definition at line 127 of file PayloadProxy.h.
{}
virtual void cond::PayloadProxy< DataT >::invalidateCache | ( | ) | [inline, virtual] |
Implements cond::BasePayloadProxy.
Reimplemented in cond::PayloadProxy< cond::KeyList >.
Definition at line 134 of file PayloadProxy.h.
Referenced by cond::PayloadProxy< cond::KeyList >::invalidateCache().
virtual bool cond::PayloadProxy< DataT >::load | ( | cond::DbSession & | session, |
std::string const & | itoken | ||
) | [inline, protected, virtual] |
Implements cond::BasePayloadProxy.
Reimplemented in cond::PayloadProxy< cond::KeyList >.
Definition at line 141 of file PayloadProxy.h.
Referenced by cond::PayloadProxy< cond::KeyList >::load().
{ return m_data.load(session,itoken); }
const DataT& cond::PayloadProxy< DataT >::operator() | ( | ) | const [inline] |
Reimplemented in cond::PayloadProxy< cond::KeyList >.
Definition at line 130 of file PayloadProxy.h.
{ return (*m_data); }
cond::PayloadRef<DataT> cond::PayloadProxy< DataT >::m_data [private] |
Definition at line 146 of file PayloadProxy.h.
Referenced by cond::PayloadProxy< std::vector< cond::Time_t > >::invalidateCache(), cond::PayloadProxy< std::vector< cond::Time_t > >::load(), and cond::PayloadProxy< std::vector< cond::Time_t > >::operator()().