CMS 3D CMS Logo

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

#include <GTProxy.h>

Inheritance diagram for cond::persistency::GTProxy::Iterator:

Public Member Functions

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

Private Attributes

GTContainer::const_iterator m_current
 

Detailed Description

Definition at line 37 of file GTProxy.h.

Constructor & Destructor Documentation

cond::persistency::GTProxy::Iterator::Iterator ( )

Definition at line 48 of file GTProxy.cc.

48  :
49  m_current(){
50  }
GTContainer::const_iterator m_current
Definition: GTProxy.h:59
cond::persistency::GTProxy::Iterator::Iterator ( GTContainer::const_iterator  current)
explicit

Definition at line 52 of file GTProxy.cc.

52  :
53  m_current( current ){
54  }
GTContainer::const_iterator m_current
Definition: GTProxy.h:59
cond::persistency::GTProxy::Iterator::Iterator ( const Iterator rhs)

Definition at line 56 of file GTProxy.cc.

56  :
57  m_current( rhs.m_current ){
58  }
GTContainer::const_iterator m_current
Definition: GTProxy.h:59

Member Function Documentation

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

Definition at line 87 of file GTProxy.cc.

References operator==().

87  {
88  return !operator==( rhs );
89  }
bool operator==(const Iterator &rhs) const
Definition: GTProxy.cc:82
cond::GTEntry_t cond::persistency::GTProxy::Iterator::operator* ( )

Definition at line 67 of file GTProxy.cc.

References m_current.

67  {
68  return cond::GTEntry_t( *m_current );
69  }
GTContainer::const_iterator m_current
Definition: GTProxy.h:59
GTProxy::Iterator & cond::persistency::GTProxy::Iterator::operator++ ( )

Definition at line 71 of file GTProxy.cc.

References m_current.

Referenced by operator++().

71  {
72  m_current++;
73  return *this;
74  }
GTContainer::const_iterator m_current
Definition: GTProxy.h:59
GTProxy::Iterator cond::persistency::GTProxy::Iterator::operator++ ( int  )

Definition at line 76 of file GTProxy.cc.

References operator++(), and tmp.

76  {
77  Iterator tmp( *this );
78  operator++();
79  return tmp;
80  }
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
GTProxy::Iterator & cond::persistency::GTProxy::Iterator::operator= ( const Iterator rhs)

Definition at line 60 of file GTProxy.cc.

References m_current.

60  {
61  if( this != &rhs ){
62  m_current = rhs.m_current;
63  }
64  return *this;
65  }
GTContainer::const_iterator m_current
Definition: GTProxy.h:59
bool cond::persistency::GTProxy::Iterator::operator== ( const Iterator rhs) const

Definition at line 82 of file GTProxy.cc.

References m_current.

Referenced by operator!=().

82  {
83  if( m_current != rhs.m_current ) return false;
84  return true;
85  }
GTContainer::const_iterator m_current
Definition: GTProxy.h:59

Member Data Documentation

GTContainer::const_iterator cond::persistency::GTProxy::Iterator::m_current
private

Definition at line 59 of file GTProxy.h.

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