collection_resolver progress
This commit is contained in:
@@ -13,9 +13,15 @@ add_library(matador-core STATIC
|
||||
../../include/matador/net/reactor.hpp
|
||||
../../include/matador/net/select_fd_sets.hpp
|
||||
../../include/matador/net/socket_interrupter.hpp
|
||||
../../include/matador/object/abstract_collection_resolver.hpp
|
||||
../../include/matador/object/abstract_type_resolver.hpp
|
||||
../../include/matador/object/abstract_type_resolver_factory.hpp
|
||||
../../include/matador/object/attribute.hpp
|
||||
../../include/matador/object/basic_object_info.hpp
|
||||
../../include/matador/object/basic_repository.hpp
|
||||
../../include/matador/object/collection_proxy.hpp
|
||||
../../include/matador/object/collection_resolver.hpp
|
||||
../../include/matador/object/collection_resolver_factory.hpp
|
||||
../../include/matador/object/error_code.hpp
|
||||
../../include/matador/object/foreign_node_completer.hpp
|
||||
../../include/matador/object/internal/observer_list_copy_creator.hpp
|
||||
@@ -81,6 +87,7 @@ add_library(matador-core STATIC
|
||||
logger/log_manager.cpp
|
||||
logger/logger.cpp
|
||||
logger/rotating_file_sink.cpp
|
||||
object/abstract_collection_resolver.cpp
|
||||
object/attribute.cpp
|
||||
object/basic_object_info.cpp
|
||||
object/basic_repository.cpp
|
||||
@@ -113,12 +120,6 @@ add_library(matador-core STATIC
|
||||
utils/uuid.cpp
|
||||
utils/value.cpp
|
||||
utils/version.cpp
|
||||
../../include/matador/object/collection_proxy.hpp
|
||||
../../include/matador/object/collection_resolver_factory.hpp
|
||||
../../include/matador/object/collection_resolver.hpp
|
||||
../../include/matador/object/abstract_type_resolver.hpp
|
||||
../../include/matador/object/abstract_type_resolver_factory.hpp
|
||||
../../include/matador/object/container_resolver.hpp
|
||||
)
|
||||
|
||||
target_link_libraries(matador-core ${CMAKE_DL_LIBS})
|
||||
|
||||
@@ -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