CMS 3D CMS Logo

Public Member Functions | Private Attributes

cond::IOVElement Class Reference

#include <IOVElement.h>

List of all members.

Public Member Functions

 IOVElement ()
 IOVElement (cond::Time_t it)
 IOVElement (cond::Time_t it, std::string const &iwrapper)
bool operator== (IOVElement const &rh) const
cond::Time_t sinceTime () const
std::string const & token () const
std::string const & wrapperToken () const

Private Attributes

cond::Time_t m_sinceTime
std::string m_wrapper

Detailed Description

Element of an IOV Sequence include the since time, token to the wrapper

Definition at line 11 of file IOVElement.h.


Constructor & Destructor Documentation

cond::IOVElement::IOVElement ( ) [inline]

Definition at line 13 of file IOVElement.h.

{}
cond::IOVElement::IOVElement ( cond::Time_t  it) [inline]

Definition at line 15 of file IOVElement.h.

: m_sinceTime(it){}
cond::IOVElement::IOVElement ( cond::Time_t  it,
std::string const &  iwrapper 
) [inline]

Definition at line 17 of file IOVElement.h.

                                         :
      m_sinceTime(it),m_wrapper(iwrapper){}

Member Function Documentation

bool cond::IOVElement::operator== ( IOVElement const &  rh) const [inline]

Definition at line 25 of file IOVElement.h.

References sinceTime(), and wrapperToken().

                                                 {
      return sinceTime()==rh.sinceTime()
        &&  wrapperToken()==rh.wrapperToken();
    }
cond::Time_t cond::IOVElement::sinceTime ( ) const [inline]

Definition at line 21 of file IOVElement.h.

References m_sinceTime.

Referenced by cond::IOVSequence::find(), operator==(), and cond::IOVSequence::sortMe().

{return m_sinceTime;}
std::string const& cond::IOVElement::token ( ) const [inline]

Definition at line 22 of file IOVElement.h.

References m_wrapper.

{return m_wrapper;}
std::string const& cond::IOVElement::wrapperToken ( ) const [inline]

Definition at line 23 of file IOVElement.h.

References m_wrapper.

Referenced by operator==().

{return m_wrapper;}

Member Data Documentation

Definition at line 32 of file IOVElement.h.

Referenced by sinceTime().

std::string cond::IOVElement::m_wrapper [private]

Definition at line 33 of file IOVElement.h.

Referenced by token(), and wrapperToken().