CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
cond::persistency::RunInfoProxy::Iterator Class Reference

#include <RunInfoProxy.h>

Inheritance diagram for cond::persistency::RunInfoProxy::Iterator:

Public Member Functions

 Iterator ()
 
 Iterator (RunInfoData::const_iterator current)
 
 Iterator (const Iterator &rhs)
 
bool operator!= (const Iterator &rhs) const
 
cond::RunInfo_t operator* ()
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
Iteratoroperator= (const Iterator &rhs)
 
bool operator== (const Iterator &rhs) const
 

Private Attributes

RunInfoData::const_iterator m_current
 

Detailed Description

Definition at line 31 of file RunInfoProxy.h.

Constructor & Destructor Documentation

cond::persistency::RunInfoProxy::Iterator::Iterator ( )

Definition at line 21 of file RunInfoProxy.cc.

21  :
22  m_current(){
23  }
RunInfoData::const_iterator m_current
Definition: RunInfoProxy.h:53
cond::persistency::RunInfoProxy::Iterator::Iterator ( RunInfoData::const_iterator  current)
explicit

Definition at line 25 of file RunInfoProxy.cc.

25  :
26  m_current( current ){
27  }
RunInfoData::const_iterator m_current
Definition: RunInfoProxy.h:53
cond::persistency::RunInfoProxy::Iterator::Iterator ( const Iterator rhs)

Definition at line 29 of file RunInfoProxy.cc.

29  :
30  m_current( rhs.m_current ){
31  }
RunInfoData::const_iterator m_current
Definition: RunInfoProxy.h:53

Member Function Documentation

bool cond::persistency::RunInfoProxy::Iterator::operator!= ( const Iterator rhs) const

Definition at line 60 of file RunInfoProxy.cc.

References operator==().

60  {
61  return !operator==( rhs );
62  }
bool operator==(const Iterator &rhs) const
Definition: RunInfoProxy.cc:55
cond::RunInfo_t cond::persistency::RunInfoProxy::Iterator::operator* ( )

Definition at line 40 of file RunInfoProxy.cc.

References m_current.

40  {
41  return cond::RunInfo_t( *m_current );
42  }
RunInfoData::const_iterator m_current
Definition: RunInfoProxy.h:53
RunInfoProxy::Iterator & cond::persistency::RunInfoProxy::Iterator::operator++ ( )

Definition at line 44 of file RunInfoProxy.cc.

References m_current.

Referenced by operator++().

44  {
45  m_current++;
46  return *this;
47  }
RunInfoData::const_iterator m_current
Definition: RunInfoProxy.h:53
RunInfoProxy::Iterator cond::persistency::RunInfoProxy::Iterator::operator++ ( int  )

Definition at line 49 of file RunInfoProxy.cc.

References operator++(), and tmp.

49  {
50  Iterator tmp( *this );
51  operator++();
52  return tmp;
53  }
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
RunInfoProxy::Iterator & cond::persistency::RunInfoProxy::Iterator::operator= ( const Iterator rhs)

Definition at line 33 of file RunInfoProxy.cc.

References m_current.

33  {
34  if( this != &rhs ){
35  m_current = rhs.m_current;
36  }
37  return *this;
38  }
RunInfoData::const_iterator m_current
Definition: RunInfoProxy.h:53
bool cond::persistency::RunInfoProxy::Iterator::operator== ( const Iterator rhs) const

Definition at line 55 of file RunInfoProxy.cc.

References m_current.

Referenced by operator!=().

55  {
56  if( m_current != rhs.m_current ) return false;
57  return true;
58  }
RunInfoData::const_iterator m_current
Definition: RunInfoProxy.h:53

Member Data Documentation

RunInfoData::const_iterator cond::persistency::RunInfoProxy::Iterator::m_current
private

Definition at line 53 of file RunInfoProxy.h.

Referenced by operator*(), operator++(), operator=(), and operator==().