#include <EmployeeNode.h>
Sample to start off database class.
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. | |
EmployeeNode * | getNextNode () |
Gets the next node. | |
void | printEmployee () |
Prints out the information for this employee to the screen. |
char* EmployeeNode::getName | ( | ) |
Gets the name.
EmployeeNode* EmployeeNode::getNextNode | ( | ) |
Gets the next node.
int EmployeeNode::getSalary | ( | ) |
Gets the salary.
void EmployeeNode::setName | ( | char * | nameIn | ) |
Sets the name.
nameIn | the name to be copied in. |
void EmployeeNode::setNextNode | ( | EmployeeNode * | nextIn | ) |
Sets the next node pointer to another employee node.
nextIn | pointer to another node. |
void EmployeeNode::setSalary | ( | int | salaryIn | ) |
Sets the salary.
salaryIn | the salary to be copied in. |