CMS 3D CMS Logo

Public Types | Public Member Functions | Protected Member Functions | Private Attributes

cond::PayloadProxy< cond::KeyList > Class Template Reference

#include <KeyListProxy.h>

Inheritance diagram for cond::PayloadProxy< cond::KeyList >:
cond::PayloadProxy< std::vector< cond::Time_t > > cond::BasePayloadProxy

List of all members.

Public Types

typedef std::vector< cond::Time_tDataT
typedef PayloadProxy< DataTsuper

Public Member Functions

virtual void invalidateCache ()
virtual void loadMore (CondGetter const &getter)
const cond::KeyListoperator() () const
 PayloadProxy (cond::DbSession &session, const std::string &token, bool errorPolicy, const char *source=0)
virtual ~PayloadProxy ()

Protected Member Functions

virtual bool load (DbSession &sess, std::string const &token)

Private Attributes

std::string m_name
KeyList me

Detailed Description

template<>
class cond::PayloadProxy< cond::KeyList >

Definition at line 11 of file KeyListProxy.h.


Member Typedef Documentation

Definition at line 13 of file KeyListProxy.h.

Definition at line 14 of file KeyListProxy.h.


Constructor & Destructor Documentation

cond::PayloadProxy< cond::KeyList >::PayloadProxy ( cond::DbSession session,
const std::string &  token,
bool  errorPolicy,
const char *  source = 0 
) [inline]

Reimplemented from cond::PayloadProxy< std::vector< cond::Time_t > >.

Definition at line 16 of file KeyListProxy.h.

References LaserTracksInput_cfi::source.

                                                                                   :
      super(session, token, errorPolicy) {
      m_name = source;
    }
virtual cond::PayloadProxy< cond::KeyList >::~PayloadProxy ( ) [inline, virtual]

Reimplemented from cond::PayloadProxy< std::vector< cond::Time_t > >.

Definition at line 22 of file KeyListProxy.h.

{}

Member Function Documentation

virtual void cond::PayloadProxy< cond::KeyList >::invalidateCache ( ) [inline, virtual]
virtual bool cond::PayloadProxy< cond::KeyList >::load ( DbSession sess,
std::string const &  token 
) [inline, protected, virtual]
virtual void cond::PayloadProxy< cond::KeyList >::loadMore ( CondGetter const &  getter) [inline, virtual]

Reimplemented from cond::BasePayloadProxy.

Definition at line 33 of file KeyListProxy.h.

References cond::CondGetter::get().

                                                    {
      me.init(getter.get(m_name));
    }
const cond::KeyList& cond::PayloadProxy< cond::KeyList >::operator() ( ) const [inline]

Reimplemented from cond::PayloadProxy< std::vector< cond::Time_t > >.

Definition at line 25 of file KeyListProxy.h.

                                           {
      return me; 
    }

Member Data Documentation

std::string cond::PayloadProxy< cond::KeyList >::m_name [private]

Definition at line 47 of file KeyListProxy.h.

Definition at line 49 of file KeyListProxy.h.