Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Atlfast::TransportedParticleCollection Class Reference

#include <TransportedParticleCollection.h>

Collaboration diagram for Atlfast::TransportedParticleCollection:

Collaboration graph
[legend]
List of all members.

Public Methods

 TransportedParticleCollection ()
 ~TransportedParticleCollection ()
void push_back (TransportedParticle *part)
std::vector< const TransportedParticle
* >::iterator 
begin ()
std::vector< const TransportedParticle
* >::iterator 
end ()
std::vector< const TransportedParticle
* >::const_iterator 
begin () const
std::vector< const TransportedParticle
* >::const_iterator 
end () const

Private Attributes

std::vector< const TransportedParticle * > m_vector

Constructor & Destructor Documentation

Atlfast::TransportedParticleCollection::TransportedParticleCollection   [inline]
 

Definition at line 23 of file TransportedParticleCollection.h.

00023 {}

Atlfast::TransportedParticleCollection::~TransportedParticleCollection   [inline]
 

Definition at line 24 of file TransportedParticleCollection.h.

References m_vector.

00024                                     {
00025       std::vector<const TransportedParticle*>::iterator itr = m_vector.begin();
00026       for (; itr != m_vector.end(); ++itr) delete (*itr);
00027     } 

Member Function Documentation

void Atlfast::TransportedParticleCollection::push_back TransportedParticle   part [inline]
 

Definition at line 28 of file TransportedParticleCollection.h.

References m_vector.

Referenced by Atlfast::MagField::operator()().

00028                                              {
00029       m_vector.push_back(part);
00030     }

std::vector<const TransportedParticle*>::iterator Atlfast::TransportedParticleCollection::begin   [inline]
 

Definition at line 31 of file TransportedParticleCollection.h.

References m_vector.

Referenced by Atlfast::CellMaker::execute().

00031                                                          {
00032       return m_vector.begin();
00033     }

std::vector<const TransportedParticle*>::iterator Atlfast::TransportedParticleCollection::end   [inline]
 

Definition at line 34 of file TransportedParticleCollection.h.

References m_vector.

Referenced by Atlfast::CellMaker::execute().

00034                                                        {
00035       return m_vector.end();
00036     }

std::vector<const TransportedParticle*>::const_iterator Atlfast::TransportedParticleCollection::begin   const [inline]
 

Definition at line 37 of file TransportedParticleCollection.h.

References m_vector.

00037                                                                      {
00038       return m_vector.begin();
00039     }

std::vector<const TransportedParticle*>::const_iterator Atlfast::TransportedParticleCollection::end   const [inline]
 

Definition at line 40 of file TransportedParticleCollection.h.

References m_vector.

00040                                                                    {
00041       return m_vector.end();
00042     }

Member Data Documentation

std::vector<const TransportedParticle*> Atlfast::TransportedParticleCollection::m_vector [private]
 

Definition at line 45 of file TransportedParticleCollection.h.

Referenced by begin(), end(), push_back(), and ~TransportedParticleCollection().


The documentation for this class was generated from the following file:
Generated on Tue Mar 18 11:19:01 2003 for AtlfastAlgs by doxygen1.3-rc1