Colour.cpp 501 B

12345678910111213141516171819202122232425
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2022-05-14
  6. * Changed: 2023-05-15
  7. *
  8. * */
  9. #include "Colour.hpp"
  10. using ls::std::core::Class;
  11. using std::string;
  12. using std::string_view;
  13. using test::event::Colour;
  14. Colour::Colour(string_view _value) : Class("Colour"), value(_value)
  15. {}
  16. Colour::~Colour() noexcept = default;
  17. string_view Colour::getValue() const
  18. {
  19. return this->value;
  20. }