#include <fahrzeug.h>
Definition at line 5 of file fahrzeug.h.
◆ Fahrzeug()
| Fahrzeug::Fahrzeug |
( |
int |
kg | ) |
|
|
explicit |
Default constructor
- Parameters
-
Definition at line 3 of file fahrzeug.cpp.
◆ ~Fahrzeug()
◆ classname()
| virtual std::string Fahrzeug::classname |
( |
| ) |
const |
|
inlinevirtual |
◆ Get_kg()
| int Fahrzeug::Get_kg |
( |
| ) |
const |
|
inline |
Access dead weight
- Returns
- dead weight of vehicle in kg
Definition at line 19 of file fahrzeug.h.
◆ verbrauch()
| virtual float Fahrzeug::verbrauch |
( |
| ) |
const |
|
pure virtual |
Fuel consumption
- Returns
- fuel consumption liter per 100 km
Implemented in Smart, Opel, Raba, and MAN.
The documentation for this class was generated from the following files: