query/source/core/object/abstract_collection_resolve...

23 lines
650 B
C++

#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