#ifndef MATADOR_RESOLVER_PRODUCER_HPP #define MATADOR_RESOLVER_PRODUCER_HPP #include "matador/object/abstract_type_resolver.hpp" #include namespace matador::sql { class executor; class object_resolver_producer { public: virtual ~object_resolver_producer() = default; virtual std::shared_ptr produce(executor &exec) = 0; [[nodiscard]] const std::type_index& type() const; protected: explicit object_resolver_producer(const std::type_index &type); private: std::type_index type_; }; } #endif //MATADOR_RESOLVER_PRODUCER_HPP