|
PPL Assignment
IRM2015006
|
#include <array_search.h>


Public Member Functions | |
| ArraySearch (std::vector< Boy * > boylist) | |
| void | findGirlfriends (std::vector< std::string > namelist, Logger *logger) override |
Private Member Functions | |
| Boy * | linearSearch (std::string name) |
Additional Inherited Members | |
Protected Attributes inherited from Search | |
| std::vector< Boy * > | boyslist |
Class to perform linear search Inherits class Search, public
Definition at line 9 of file array_search.h.
| ArraySearch::ArraySearch | ( | std::vector< Boy * > | boylist | ) |
Constructor which initialises boylist
Definition at line 13 of file array_search.cpp.
|
overridevirtual |
overriden method to find girlfriends, here, by linear search
Implements Search.
Definition at line 19 of file array_search.cpp.

|
private |
Function which implements linear search
Definition at line 4 of file array_search.cpp.
