Searched refs:Dependent (Results 1 – 1 of 1) sorted by relevance
64 class Dependent : public Person { class66 …Dependent(const std::string& name, unsigned age, Education* education = 0) : Person(name, age), ed… in Dependent() function in Dependent67 …Dependent(const Dependent& rhs) : Person(rhs), education_(0) { education_ = (rhs.education_ == 0) … in Dependent() function in Dependent68 virtual ~Dependent();70 Dependent& operator=(const Dependent& rhs) { in operator =()98 Dependent::~Dependent() { in ~Dependent()107 void AddDependent(const Dependent& dependent) { in AddDependent()122 …for (std::vector<Dependent>::const_iterator dependentItr = dependents_.begin(); dependentItr != de… in Serialize()130 std::vector<Dependent> dependents_;141 … employees.back().AddDependent(Dependent("Lua YIP", 3, new Education("Happy Kindergarten", 3.5))); in main()[all …]