Class.hpp 694 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-07
  6. * Changed: 2024-09-09
  7. *
  8. * */
  9. #ifndef LS_STD_CLASS_HPP
  10. #define LS_STD_CLASS_HPP
  11. #include <ls-std/os/dynamic-goal.hpp>
  12. #include <string>
  13. /*
  14. * @doc: class(name: 'Class', package: 'core')
  15. * */
  16. namespace ls::std::core
  17. {
  18. class LS_STD_DYNAMIC_GOAL Class
  19. {
  20. public:
  21. explicit Class(const ::std::string &_name);
  22. virtual ~Class();
  23. [[nodiscard]] ::std::string getClassName() const;
  24. private:
  25. ::std::string name{};
  26. void _assignClassName(const ::std::string &_name);
  27. };
  28. }
  29. #endif