Car Class

Definition

Line 35 of vehicles/vehicles.cm

Inheritance

Constructors & Destructor

public nothrow Car(const String<char>& model_, const String<char>& registrationNumber_, double speed_)

Member Functions

public inline nothrow const String<char>& Model() const
public inline nothrow const String<char>& RegistrationNumber() const

Member Variables

private String<char> model
private String<char> registrationNumber

Constructor& Destructor Details

Car Constructor

public nothrow Car(const String<char>& model_, const String<char>& registrationNumber_, double speed_)

Definition
Line 38 of vehicles/vehicles.cm


Member Function Details

Model Member Function

public inline nothrow const String<char>& Model()

Definition
Line 41 of vehicles/vehicles.cm


RegistrationNumber Member Function

public inline nothrow const String<char>& RegistrationNumber()

Definition
Line 45 of vehicles/vehicles.cm