#ifndef FAMILY_H #define FAMILY_H #include #include #include #include "Person.h" using namespace std; class Family { private: vector f; public: Family (); void addFamilyMember (Person p); // "add" a family member by passing in Person object // and storing it in i-th array position Person getFamilyMember (int i) const; // get family member at i-th array position int numFamilyMembers () const; // return the number of family members bool findPerson (string firstName) const; // check if a person with the given firstname is in Family string getParents () const; // return a list of all family members who are parents // (i.e. "Father", "father", "Mother", or "mother" string getChildren () const; // return a list of all family members who are kids }; #endif