collection_resolver progress

This commit is contained in:
Sascha Kühl
2026-01-27 16:31:37 +01:00
parent b6cabbe3ed
commit 6205ae81c9
20 changed files with 294 additions and 134 deletions
@@ -0,0 +1,23 @@
#include "matador/object/abstract_collection_resolver.hpp"
namespace matador::object {
const std::type_index& abstract_collection_resolver::root_type() const {
return root_type_;
}
const std::type_index& abstract_collection_resolver::type() const {
return type_;
}
const std::string& abstract_collection_resolver::collection_name() const {
return collection_name_;
}
abstract_collection_resolver::abstract_collection_resolver(const std::type_index& root_type, const std::type_index& type, std::string collection_name)
: root_type_(root_type)
, type_(type)
, collection_name_(std::move(collection_name)) {}
} // namespace matador::object