#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 110 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 113 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 118 of file PayloadProxy.h.
: BasePayloadProxy(session, token, errorPolicy) {}
virtual cond::PayloadProxy< DataT >::~PayloadProxy | ( | ) | [inline, virtual] |
Reimplemented in cond::PayloadProxy< cond::KeyList >.
Definition at line 124 of file PayloadProxy.h.
{}
virtual void cond::PayloadProxy< DataT >::invalidateCache | ( | ) | [inline, virtual] |
Implements cond::BasePayloadProxy.
Reimplemented in cond::PayloadProxy< cond::KeyList >.
Definition at line 131 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 138 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 127 of file PayloadProxy.h.
{ return (*m_data); }
cond::PayloadRef<DataT> cond::PayloadProxy< DataT >::m_data [private] |
Definition at line 143 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()().