31 :
PassengerRoadVehicle(std::move(ori)), m_model(std::move(ori.m_model)), m_color(std::move(ori.m_color))
52 m_model = std::move(rhs.m_model);
53 m_color = std::move(rhs.m_color);
91 const string s = {
"I'm a bicycle: model = " +
m_model +
", color = " +
m_color};
std::string getModel() const
Return the model of the bike.
Comprehensive include file for all tracer classes.
PassengerRoadVehicle & operator=(PassengerRoadVehicle const &rhs)
Copy assignment.
void setColor(std::string color)
Set the color of the bike.
std::string getColor() const
Return the color of the bike.
~Bicycle() override
Destructor.
void info() const override
Display info on model and color of the bike.
#define COMP_MISC_MEMBER_TRACER
Macro for tracking member scope.
A PassengerRoadVehicle transports one or more passengers.
#define COMP_MISC_LOG_TRACER(MSG)
Macro for inserting log message into tracker output at current severity level.
Header for Bicycle class.
Bicycle & operator=(const Bicycle &rhs)
Copy assignment.
Represents a simple Bicycle.
Bicycle()
Default constructor.
void setModel(std::string model)
Set the model of the bike.