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

SMListData Class Reference

#include <SMEnumerator.h>

List of all members.

Public Methods

 SMListData ()
 SMListData (const SMListData &sd)
void doHardCopy (const SMListData &)
 ~SMListData ()
SMListData& operator<< (const class WriteEnumeratorElement &e)
SMListData& operator<< (const Chars &c)
void append (SMListData &sd)
void setWriteMode ()
void setReadMode ()
void closeCurrentMode ()
Chars getElementOf (int i)
int numberOfElements () const
Chars getDataFileName () const
int getMode () const

Private Methods

void openFiles (int)
int getBegPosOf (int i)
int getLengthOf (int i)

Private Attributes

fstream dataFile
fstream refFile
Chars dataFileName
Chars refFileName
int number_of_elements
int mode


ostream& operator< (ostream &ostr, const SMListData &s)
istream& operator> (istream &istr, SMListData &s)

Constructor & Destructor Documentation

SMListData::SMListData ( )

SMListData::SMListData ( const SMListData & sd )

SMListData::~SMListData ( ) [inline]

Definition at line 54 of file SMEnumerator.h.

Member Function Documentation

void SMListData::doHardCopy ( const SMListData & )

SMListData& SMListData::operator<< ( const class WriteEnumeratorElement & e )

SMListData& SMListData::operator<< ( const Chars & c )

void SMListData::append ( SMListData & sd )

void SMListData::setWriteMode ( )

Referenced by EnumeratorProblem::EnumeratorProblem().

void SMListData::setReadMode ( )

void SMListData::closeCurrentMode ( )

Referenced by EnumeratorProblem::~EnumeratorProblem(), ~SMListData(), and SMListIterator::~SMListIterator().

Chars SMListData::getElementOf ( int i )

int SMListData::numberOfElements ( ) const [inline]

Definition at line 89 of file SMEnumerator.h.

Referenced by SMListIterator::getNumberOfElements().

Chars SMListData::getDataFileName ( ) const [inline]

Definition at line 92 of file SMEnumerator.h.

int SMListData::getMode ( ) const [inline]

Definition at line 96 of file SMEnumerator.h.

void SMListData::openFiles ( int ) [private]

int SMListData::getBegPosOf ( int i ) [private]

int SMListData::getLengthOf ( int i ) [private]

Friends And Related Function Documentation

ostream & operator< ( ostream & ostr,
const SMListData & s ) [friend]

Definition at line 105 of file SMEnumerator.h.

istream & operator> ( istream & istr,
SMListData & s ) [friend]

Definition at line 112 of file SMEnumerator.h.

Member Data Documentation

fstream SMListData::dataFile [private]

Definition at line 138 of file SMEnumerator.h.

fstream SMListData::refFile [private]

Definition at line 141 of file SMEnumerator.h.

Chars SMListData::dataFileName [private]

Definition at line 144 of file SMEnumerator.h.

Chars SMListData::refFileName [private]

Definition at line 145 of file SMEnumerator.h.

int SMListData::number_of_elements [private]

Definition at line 148 of file SMEnumerator.h.

int SMListData::mode [private]

Definition at line 150 of file SMEnumerator.h.

The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:50:07 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001