#include <GenEvent.h>
Public Member Functions | |
vertex_const_iterator (const std::map< int, HepMC::GenVertex *, std::greater< int > >::const_iterator &i) | |
constructor requiring vertex information | |
vertex_const_iterator () | |
vertex_const_iterator (const vertex_const_iterator &i) | |
copy constructor | |
virtual | ~vertex_const_iterator () |
vertex_const_iterator & | operator= (const vertex_const_iterator &i) |
make a copy | |
GenVertex * | operator * (void) const |
return a pointer to a GenVertex | |
vertex_const_iterator & | operator++ (void) |
Pre-fix increment. | |
vertex_const_iterator | operator++ (int) |
Post-fix increment. | |
bool | operator== (const vertex_const_iterator &a) const |
equality | |
bool | operator!= (const vertex_const_iterator &a) const |
inequality | |
Protected Attributes | |
std::map< int, HepMC::GenVertex *, std::greater< int > >::const_iterator | m_map_iterator |
const iterator to a vertex map |
Definition at line 256 of file GenEvent.h.
HepMC::GenEvent::vertex_const_iterator::vertex_const_iterator | ( | const std::map< int, HepMC::GenVertex *, std::greater< int > >::const_iterator & | i | ) | [inline] |
constructor requiring vertex information
Definition at line 261 of file GenEvent.h.
00264 : m_map_iterator(i) {}
HepMC::GenEvent::vertex_const_iterator::vertex_const_iterator | ( | ) | [inline] |
HepMC::GenEvent::vertex_const_iterator::vertex_const_iterator | ( | const vertex_const_iterator & | i | ) | [inline] |
virtual HepMC::GenEvent::vertex_const_iterator::~vertex_const_iterator | ( | ) | [inline, virtual] |
vertex_const_iterator& HepMC::GenEvent::vertex_const_iterator::operator= | ( | const vertex_const_iterator & | i | ) | [inline] |
make a copy
Definition at line 271 of file GenEvent.h.
00272 { m_map_iterator = i.m_map_iterator; return *this; }
GenVertex* HepMC::GenEvent::vertex_const_iterator::operator * | ( | void | ) | const [inline] |
return a pointer to a GenVertex
Definition at line 274 of file GenEvent.h.
00274 { return m_map_iterator->second; }
vertex_const_iterator& HepMC::GenEvent::vertex_const_iterator::operator++ | ( | void | ) | [inline] |
Pre-fix increment.
Definition at line 276 of file GenEvent.h.
00277 { ++m_map_iterator; return *this; }
vertex_const_iterator HepMC::GenEvent::vertex_const_iterator::operator++ | ( | int | ) | [inline] |
Post-fix increment.
Definition at line 279 of file GenEvent.h.
00280 { vertex_const_iterator out(*this); ++(*this); return out; }
bool HepMC::GenEvent::vertex_const_iterator::operator== | ( | const vertex_const_iterator & | a | ) | const [inline] |
equality
Definition at line 282 of file GenEvent.h.
00283 { return m_map_iterator == a.m_map_iterator; }
bool HepMC::GenEvent::vertex_const_iterator::operator!= | ( | const vertex_const_iterator & | a | ) | const [inline] |
inequality
Definition at line 285 of file GenEvent.h.
00286 { return !(m_map_iterator == a.m_map_iterator); }
std::map<int,HepMC::GenVertex*,std::greater<int> >::const_iterator HepMC::GenEvent::vertex_const_iterator::m_map_iterator [protected] |