TestDataCar.cpp 526 B

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