ESyS-Particle  2.3.2
esys::lsm::ConnectionReader Class Reference

#include <GeometryReader.h>

Inheritance diagram for esys::lsm::ConnectionReader:
Collaboration diagram for esys::lsm::ConnectionReader:

Public Member Functions

 ConnectionReader (std::istream &iStream)
virtual void initialise ()
- Public Member Functions inherited from esys::lsm::IterativeReader< IStreamIterator< SimpleConnectionData > >
 IterativeReader (std::istream &iStream)
virtual ~IterativeReader ()
int getNumElements () const
bool isInitialised () const
IteratorgetIterator ()

Additional Inherited Members

- Public Types inherited from esys::lsm::IterativeReader< IStreamIterator< SimpleConnectionData > >
typedef IStreamIterator
< SimpleConnectionData
Iterator
- Protected Types inherited from esys::lsm::IterativeReader< IStreamIterator< SimpleConnectionData > >
typedef std::auto_ptr< IteratorIteratorAutoPtr
- Protected Member Functions inherited from esys::lsm::IterativeReader< IStreamIterator< SimpleConnectionData > >
void setNumElements (int numElements)
std::istream & getIStream ()
const std::istream & getIStream () const
virtual IteratorcreateNewIterator ()

Detailed Description

Creates iterator for parsing particle-connection data from a stream.

Constructor & Destructor Documentation

esys::lsm::ConnectionReader::ConnectionReader ( std::istream &  iStream)

Constructs reader.

Member Function Documentation

void esys::lsm::ConnectionReader::initialise ( )
virtual

Reads from iStream to determine the number of connections expected in the stream and creates an iterator.

Reimplemented from esys::lsm::IterativeReader< IStreamIterator< SimpleConnectionData > >.

References esys::lsm::IterativeReader< IStreamIterator< SimpleConnectionData > >::getIStream(), and esys::lsm::IterativeReader< IStreamIterator< SimpleConnectionData > >::setNumElements().

Here is the call graph for this function:


The documentation for this class was generated from the following files: