Class.hpp 554 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-07
  6. * Changed: 2021-04-24
  7. *
  8. * */
  9. #ifndef LS_STD_CLASS_HPP
  10. #define LS_STD_CLASS_HPP
  11. #include <string>
  12. namespace ls_std
  13. {
  14. class Class
  15. {
  16. public:
  17. explicit Class(const std::string &_name);
  18. virtual ~Class() = default;
  19. std::string getClassName();
  20. private:
  21. std::string name{};
  22. void _assignClassName(const std::string &_name);
  23. };
  24. }
  25. #endif