gfactory
Loading...
Searching...
No Matches
FordFactory.cc
Go to the documentation of this file.
1#include "FordFactory.h"
2
3#include <iostream>
4using namespace std;
5
6void Ford::go() {
7 cout << " Factory car ford fordVar[1] " << fordVar[1] << std::endl;
8}
9
10Ford::Ford(const std::shared_ptr<GOptions>& gopts) : Car(gopts) {
11 cout << " Instantiating Ford" << endl;
12 fordVar[0] = 100;
13 fordVar[1] = 200;
14}
Definition Car.h:11
Ford(const std::shared_ptr< GOptions > &)
double fordVar[2]
Definition FordFactory.h:14
void go()
Definition FordFactory.cc:6