factory.h
Go to the documentation of this file.
1 #ifndef FACTORY_H
2 #define FACTORY_H
3 
4 #include <iostream>
5 #include <stdexcept>
6 #include "bike.h"
7 #include "urban.h"
8 #include "delivery.h"
9 #include "bikes.h"
10 
11 using namespace std;
12 
22 {
23  friend class Bikes;
24 
25  private:
26  static Bike* make( istream& in ) throw ( invalid_argument );
27 
28 }; // BikeFactory class
29 
30 #endif // FACTORY_H
31 
Definition: bikes.h:26
Definition: bike.h:19
Definition: factory.h:21