12345678910111213141516171819202122232425262728293031323334353637383940 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2020-08-07
- * Changed: 2024-09-11
- *
- * */
- #ifndef LS_STD_CLASS_HPP
- #define LS_STD_CLASS_HPP
- #include <ls-std/os/dynamic-goal.hpp>
- #include <string>
- /*
- * @doc: class(name: 'Class', package: 'core')
- * @doc: core.Class.description('This class represents a base class offering minimal reflection on the class name.')
- * */
- namespace ls::std::core
- {
- class LS_STD_DYNAMIC_GOAL Class
- {
- public:
- explicit Class(const ::std::string &_name);
- virtual ~Class();
- [[nodiscard]] ::std::string getClassName() const;
- private:
- ::std::string name{};
- void _assignClassName(const ::std::string &_name);
- };
- }
- #endif
|