#ifndef __INTFAMILY__ #define __INTFAMILY__ class IntFamily { private: int parent ; int *childList ; int numChildList ; // Number of actual children int sizChildList ; // Size of childList array public: IntFamily(int Parent) ; // Creates family with no children IntFamily() ; // No children, Parent is 0 void addChild(int NewChild) ; // Adds new child to the family int getParent() const ; // Returns parent of family int getSize() const ; // Returns size of family int getChild(int I) const; // Returns I'th child of family ~IntFamily() ; // deconstructor } ; ostream& operator<<(ostream&, const IntFamily&) ; #endif