#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) | |
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 100 of file PayloadProxy.h.
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 103 of file PayloadProxy.h.
: BasePayloadProxy(session, token, errorPolicy) {}
virtual cond::PayloadProxy< DataT >::~PayloadProxy | ( | ) | [inline, virtual] |
Reimplemented in cond::PayloadProxy< cond::KeyList >.
Definition at line 109 of file PayloadProxy.h.
{}
virtual void cond::PayloadProxy< DataT >::invalidateCache | ( | ) | [inline, virtual] |
Implements cond::BasePayloadProxy.
Reimplemented in cond::PayloadProxy< cond::KeyList >.
Definition at line 116 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 123 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 112 of file PayloadProxy.h.
{ return (*m_data); }
cond::PayloadRef<DataT> cond::PayloadProxy< DataT >::m_data [private] |
Definition at line 128 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()().