EmployeeList Class Reference

#include <EmployeeList.h>

List of all members.


Detailed Description

List of employees.

Sample to start off database class.

Author:
Dave Musicant


Public Member Functions

 EmployeeList ()
 Constructor.
 ~EmployeeList ()
 Destructor.
void readFromFile (char *filename)
 Reads records from file into linked list.
void writeToFile (char *filename)
 Writes out the current employee linked list to the indicated file, using the file format as indicated in the assignment.
void print ()
 Prints out the linked list in a human readable way to the screen.


Member Function Documentation

void EmployeeList::readFromFile ( char *  filename  ) 

Reads records from file into linked list.

The linked list is always kept in order sorted by employee name, so this method traverses the linked list and finds the appropriate location.

Parameters:
filename Name of the input file.


Generated on Tue Aug 28 14:45:07 2007 for WarmupAssignment by  doxygen 1.4.7