1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2023-02-08
- * Changed: 2024-05-24
- *
- * */
- #ifndef LS_STD_NULL_POINTER_EVALUATOR_HPP
- #define LS_STD_NULL_POINTER_EVALUATOR_HPP
- #include <ls-std/core/interface/IEvaluator.hpp>
- #include <ls-std/os/dynamic-goal.hpp>
- #include <memory>
- #include <string>
- /*
- * @class(name: 'NullPointerEvaluator', package: 'Core')
- * */
- namespace ls::std::core
- {
- class LS_STD_DYNAMIC_GOAL NullPointerEvaluator : public ls::std::core::interface_type::IEvaluator
- {
- public:
- explicit NullPointerEvaluator(const ::std::shared_ptr<void> &_argument);
- explicit NullPointerEvaluator(const ::std::shared_ptr<void> &_argument, ::std::string _message);
- ~NullPointerEvaluator() noexcept override;
- void evaluate() override;
- private:
- ::std::shared_ptr<void> argument{};
- ::std::string message{};
- };
- }
- #endif
|