TestDataCar.cpp 522 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-11-14
  6. * Changed: 2023-05-18
  7. *
  8. * */
  9. #include "TestDataCar.hpp"
  10. using std::string_view;
  11. using test::event::TestDataCar;
  12. TestDataCar::TestDataCar() : color("white")
  13. {}
  14. TestDataCar::~TestDataCar() = default;
  15. string_view TestDataCar::getColor() const
  16. {
  17. return this->color;
  18. }
  19. void TestDataCar::setColor(string_view _color)
  20. {
  21. this->color = _color;
  22. }