Class.hpp 860 B

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