I created this class, which represents a set of shapes:
class CompoundShape : public Shape { private: std::vector>