TestDataCar.cpp 468 B

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