Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

InputData Class Reference
[Input/Output Functions]

Class for reading transactions from an ASCII file. More...

#include <Transaction.h>


Public Methods

 InputData (char *filename, int *ITEMBUFFER, bool IS_ASCII)
 Open the input file.

 ~InputData ()
 Close the input file.

int isOpen ()
 Check if the input file is open.

TransactiongetNextTransaction ()
 Get next transaction from the input file.


Data Fields

int * itembuffer
bool isAsciiFile

Private Attributes

ifstream inputFile
 pointer to file input


Detailed Description

Class for reading transactions from an ASCII file.

Definition at line 70 of file Transaction.h.


Field Documentation

ifstream InputData::inputFile [private]
 

pointer to file input

Definition at line 84 of file Transaction.h.

Referenced by getNextTransaction(), InputData(), isOpen(), and ~InputData().

bool InputData::isAsciiFile
 

Definition at line 80 of file Transaction.h.

Referenced by InputData().

int* InputData::itembuffer
 

Definition at line 79 of file Transaction.h.

Referenced by getNextTransaction(), and InputData().


The documentation for this class was generated from the following files:
Generated on Thu Dec 4 15:22:07 2003 for MAFIA by doxygen1.2.18