#include <Entry.h>
- Author
- Henry M. Walker *
- Date
- January 11, 2023 *
◆ Entry() [1/2]
- Author
- Henry M. Walker *
- Date
- January 11, 2023 *
◆ Entry() [2/2]
Entry::Entry |
( |
std::string |
first, |
|
|
std::string |
last, |
|
|
std::string |
eAddress |
|
) |
| |
- Parameters
-
first | a person's first name * |
last | a person's last name * |
eAddress | a person's email address *
|
◆ ~Entry()
◆ comesBefore() [1/2]
bool Entry::comesBefore |
( |
Entry |
otherEntry | ) |
|
- Parameters
-
otherEntry | an entry to be compared with this object *
|
- Returns
- true if Entry's first/last names come before parameter's names * in directory order *
◆ comesBefore() [2/2]
bool Entry::comesBefore |
( |
std::string |
first, |
|
|
std::string |
second |
|
) |
| |
- Parameters
-
first | a person's first name * |
last | a person's last name *
|
- Returns
- true if Entry's first/last names come before parameter names * in directory order *
◆ equals() [1/2]
bool Entry::equals |
( |
Entry |
otherEntry | ) |
|
-
- Parameters
-
otherEntry | an entry to be compared with this object * |
- Returns
- true if this Entr'sy names match those of the parameter *
- Parameters
-
first | a person's first name * |
last | a person's last name * |
- Returns
- true if Entry's first/last names come before parameter names * in directory order *
◆ equals() [2/2]
bool Entry::equals |
( |
std::string |
first, |
|
|
std::string |
second |
|
) |
| |
- Parameters
-
first | a person's first name * |
last | a person's last name *
|
- Returns
- true if Entry names match first and last name strings *
◆ print()
std::ostream & Entry::print |
( |
std::ostream & |
os | ) |
const |
|
virtual |
- Parameters
-
os | output stream which will receive the formatted Entry data *
- @ewmrk by being a virtual function, implementations in subclasses * will be interpreted via polymorphism *
|
- Returns
- formatted string on the given output stream *
Reimplemented in Faculty, Staff, and Student.
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const Entry & |
ent |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: