collection resolver progress
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef MATADOR_RESOLVER_PRODUCER_HPP
|
||||
#define MATADOR_RESOLVER_PRODUCER_HPP
|
||||
|
||||
#include "matador/object/object_resolver.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace matador::sql {
|
||||
class executor;
|
||||
class object_resolver_producer {
|
||||
public:
|
||||
virtual ~object_resolver_producer() = default;
|
||||
virtual std::shared_ptr<object::abstract_type_resolver> 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
|
||||
Reference in New Issue
Block a user