12345678910111213141516171819202122232425262728293031323334353637 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2023-02-08
- * Changed: 2024-05-31
- *
- * */
- #ifndef LS_STD_NULL_POINTER_EVALUATOR_HPP
- #define LS_STD_NULL_POINTER_EVALUATOR_HPP
- #include <ls-std/core/definition.hpp>
- #include <ls-std/core/interface/IEvaluator.hpp>
- #include <memory>
- #include <string>
- namespace ls::std::core
- {
- ls_std_class NullPointerEvaluator final : public 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
|