Racing Web
Car Struct Reference

a race participant More...

#include <Car.h>

Public Member Functions

 Car (const int number, const std::string &car="", const std::string &driver="")
 create a racer More...
 
 Car (const std::string &number, const std::string &car="", const std::string &driver="")
 create a racer More...
 

Data Fields

std::string number
 alphanumeric car number
 
std::string car = ""
 car name ("" represents unspecified)
 
std::string driver = ""
 driver name ("" represents unspecified)
 

Detailed Description

a race participant

Constructor & Destructor Documentation

◆ Car() [1/2]

Car::Car ( const int  number,
const std::string &  car = "",
const std::string &  driver = "" 
)
inlineexplicit

create a racer

Parameters
numbercar number, alphanumeric, only required argument
carname of the car (defaults to "")
drivername of the driver (defaults to "")

◆ Car() [2/2]

Car::Car ( const std::string &  number,
const std::string &  car = "",
const std::string &  driver = "" 
)
inlineexplicit

create a racer

Parameters
numbercar number, alphanumeric, only required argument
carname of the car (defaults to "")
drivername of the driver (defaults to "")

The documentation for this struct was generated from the following file: