CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
cond::IOVElement Class Reference

#include <IOVElement.h>

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.

13 {}
cond::IOVElement::IOVElement ( cond::Time_t  it)
inline

Definition at line 15 of file IOVElement.h.

15 : m_sinceTime(it){}
cond::Time_t m_sinceTime
Definition: IOVElement.h:32
cond::IOVElement::IOVElement ( cond::Time_t  it,
std::string const &  iwrapper 
)
inline

Definition at line 17 of file IOVElement.h.

18  :
19  m_sinceTime(it),m_wrapper(iwrapper){}
cond::Time_t m_sinceTime
Definition: IOVElement.h:32
std::string m_wrapper
Definition: IOVElement.h:33

Member Function Documentation

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

Definition at line 25 of file IOVElement.h.

References sinceTime(), and wrapperToken().

25  {
26  return sinceTime()==rh.sinceTime()
27  && wrapperToken()==rh.wrapperToken();
28  }
cond::Time_t sinceTime() const
Definition: IOVElement.h:21
std::string const & wrapperToken() const
Definition: IOVElement.h:23
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().

21 {return m_sinceTime;}
cond::Time_t m_sinceTime
Definition: IOVElement.h:32
std::string const& cond::IOVElement::token ( ) const
inline

Definition at line 22 of file IOVElement.h.

References m_wrapper.

22 {return m_wrapper;}
std::string m_wrapper
Definition: IOVElement.h:33
std::string const& cond::IOVElement::wrapperToken ( ) const
inline

Definition at line 23 of file IOVElement.h.

References m_wrapper.

Referenced by operator==().

23 {return m_wrapper;}
std::string m_wrapper
Definition: IOVElement.h:33

Member Data Documentation

cond::Time_t cond::IOVElement::m_sinceTime
private

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().