1 #ifndef BUNDLE_H
2 #define BUNDLE_H
3
4 #include <vector>
5 #include "item.h"
6
7 /**
8 A bundle of items that is again an item.
9 */
10 class Bundle : public Item
11 {
12 public:
13 /**
14 Adds an item to this bundle.
15 @param it the item to add
16 */
17 void add(Item* it);
18 virtual double get_unit_price() const;
19 virtual string get_description() const;
20 virtual int get_quantity() const;
21 private:
22 vector<Item*> items;
23 };
24
25 #endif