TestDataMercedesCar.cpp 512 B

123456789101112131415161718192021
  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 <ls_std/boxing/String.hpp>
  10. #include "TestDataMercedesCar.hpp"
  11. ls_std_test::TestDataMercedesCar::TestDataMercedesCar() : TestDataCar()
  12. {
  13. this->setColor("blue");
  14. }
  15. void ls_std_test::TestDataMercedesCar::listen(const Class &_info)
  16. {
  17. this->setColor(dynamic_cast<const ls_std::String&>(_info));
  18. }