collection_resolver progress
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user