EmployeeNode Class Reference

#include <EmployeeNode.h>

List of all members.


Detailed Description

Node for employee list.

Sample to start off database class.

Author:
Dave Musicant


Public Member Functions

 EmployeeNode ()
 Constructor.
 ~EmployeeNode ()
 Destructor.
void setName (char *nameIn)
 Sets the name.
void setSalary (int salaryIn)
 Sets the salary.
void setNextNode (EmployeeNode *nextIn)
 Sets the next node pointer to another employee node.
char * getName ()
 Gets the name.
int getSalary ()
 Gets the salary.
EmployeeNodegetNextNode ()
 Gets the next node.
void printEmployee ()
 Prints out the information for this employee to the screen.


Member Function Documentation

char* EmployeeNode::getName (  ) 

Gets the name.

Returns:
the name.

EmployeeNode* EmployeeNode::getNextNode (  ) 

Gets the next node.

Returns:
a pointer to the next node.

int EmployeeNode::getSalary (  ) 

Gets the salary.

Returns:
the salary.

void EmployeeNode::setName ( char *  nameIn  ) 

Sets the name.

Parameters:
nameIn the name to be copied in.

void EmployeeNode::setNextNode ( EmployeeNode nextIn  ) 

Sets the next node pointer to another employee node.

Parameters:
nextIn pointer to another node.

void EmployeeNode::setSalary ( int  salaryIn  ) 

Sets the salary.

Parameters:
salaryIn the salary to be copied in.


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