#ifndef GROUPENTRY_H #define GROUPENTRY_H #include #include #include #include "Entry.h" #include "PersonEntry.h" class GroupEntry : public Entry { public: GroupEntry(std::string name); // print the entire group, including its members // precede the name with the "indent" string void print(std::string indent = "") const; // child management void addEntry(const Entry &); void accept(EntryVisitor &) const; private: std::vector _entries; }; #endif