Main Page
Classes
Files
File List
File Members
urban.h
Go to the documentation of this file.
1
#ifndef URBAN_H
2
#define URBAN_H
3
4
#include <iostream>
5
#include <fstream>
6
#include <string>
7
#include "
bike.h
"
8
9
using namespace
std;
10
18
class
Urban
:
public
Bike
19
{
20
public
:
21
Urban
();
22
Urban
(
string
id
,
string
name,
int
gears )
throw
( invalid_argument );
23
void
setID(
string
id
)
throw
( invalid_argument );
24
virtual
void
print( ostream &out = cout )
const
;
25
virtual
void
read( istream &in )
throw
( invalid_argument );
26
27
};
// Urban class
28
29
#endif // URBAN_H
30
Urban
Definition:
urban.h:18
Bike
Definition:
bike.h:19
bike.h
Copyright © 2019 Mark Maloof. All Rights Reserved. Generated on Thu Jan 31 2019 10:14:42 by
1.8.6