HepMC Reference Documentation

HepMC

HepMC::GenEvent::vertex_const_iterator Class Reference

const vertex iterator More...

#include <GenEvent.h>

List of all members.

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_iteratoroperator= (const vertex_const_iterator &i)
 make a copy
GenVertexoperator * (void) const
 return a pointer to a GenVertex
vertex_const_iteratoroperator++ (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


Detailed Description

const vertex iterator

HepMC::GenEvent::vertex_const_iterator is used to iterate over all vertices in the event.

Definition at line 310 of file GenEvent.h.


Constructor & Destructor Documentation

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 315 of file GenEvent.h.

HepMC::GenEvent::vertex_const_iterator::vertex_const_iterator (  )  [inline]

Definition at line 319 of file GenEvent.h.

HepMC::GenEvent::vertex_const_iterator::vertex_const_iterator ( const vertex_const_iterator i  )  [inline]

copy constructor

Definition at line 321 of file GenEvent.h.

virtual HepMC::GenEvent::vertex_const_iterator::~vertex_const_iterator (  )  [inline, virtual]

Definition at line 323 of file GenEvent.h.


Member Function Documentation

GenVertex* HepMC::GenEvent::vertex_const_iterator::operator * ( void   )  const [inline]

return a pointer to a GenVertex

Definition at line 328 of file GenEvent.h.

References m_map_iterator.

bool HepMC::GenEvent::vertex_const_iterator::operator!= ( const vertex_const_iterator a  )  const [inline]

inequality

Definition at line 339 of file GenEvent.h.

References m_map_iterator.

vertex_const_iterator HepMC::GenEvent::vertex_const_iterator::operator++ ( int   )  [inline]

Post-fix increment.

Definition at line 333 of file GenEvent.h.

vertex_const_iterator& HepMC::GenEvent::vertex_const_iterator::operator++ ( void   )  [inline]

Pre-fix increment.

Definition at line 330 of file GenEvent.h.

References m_map_iterator.

vertex_const_iterator& HepMC::GenEvent::vertex_const_iterator::operator= ( const vertex_const_iterator i  )  [inline]

make a copy

Definition at line 325 of file GenEvent.h.

References m_map_iterator.

bool HepMC::GenEvent::vertex_const_iterator::operator== ( const vertex_const_iterator a  )  const [inline]

equality

Definition at line 336 of file GenEvent.h.

References m_map_iterator.


Member Data Documentation

std::map<int,HepMC::GenVertex*,std::greater<int> >::const_iterator HepMC::GenEvent::vertex_const_iterator::m_map_iterator [protected]

const iterator to a vertex map

Definition at line 344 of file GenEvent.h.

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


The documentation for this class was generated from the following file:
Generated on Thu Jan 7 13:10:18 2010 for HepMC by  doxygen 1.4.7