schema node analyze progress

This commit is contained in:
Sascha Kühl
2025-02-10 16:04:49 +01:00
parent 504e111491
commit e3e0eb932c
12 changed files with 137 additions and 65 deletions
+9 -5
View File
@@ -5,22 +5,26 @@
#include <algorithm>
namespace matador::object {
basic_object_info::basic_object_info(schema_node &node,
const std::type_index type_index,
basic_object_info::basic_object_info(const std::type_index type_index,
object_definition &&definition,
std::shared_ptr<attribute_definition> &&reference_column)
: node_(node)
, type_index_(type_index)
: type_index_(type_index)
, definition_(std::move(definition))
, reference_column_(std::move(reference_column)) {
}
basic_object_info::basic_object_info(const std::type_index type_index,
std::shared_ptr<attribute_definition> &&reference_column)
: type_index_(type_index)
, reference_column_(std::move(reference_column)) {
}
std::type_index basic_object_info::type_index() const {
return type_index_;
}
std::string basic_object_info::name() const {
return node_.name();
return node_->name();
}
const object_definition &basic_object_info::definition() const {