Truck Class

Definition

Line 53 of vehicles/vehicles.cm

Inheritance

Constructors & Destructor

public nothrow Truck(const String<char>& model_, const String<char>& registrationNumber_, double speed_, int weight_)

Member Functions

public inline nothrow int Weight() const

Member Variables

private int weight

Constructor& Destructor Details

Truck Constructor

public nothrow Truck(const String<char>& model_, const String<char>& registrationNumber_, double speed_, int weight_)

Definition
Line 56 of vehicles/vehicles.cm


Member Function Details

Weight Member Function

public inline nothrow int Weight()

Definition
Line 59 of vehicles/vehicles.cm