added session class

This commit is contained in:
Sascha Kühl
2025-02-05 16:14:52 +01:00
parent bc3ffbda10
commit c76aa56440
7 changed files with 322 additions and 1 deletions
+8 -1
View File
@@ -1,5 +1,7 @@
#include "matador/object/basic_object_info.hpp"
#include "matador/object/schema_node.hpp"
#include <algorithm>
namespace matador::object {
@@ -8,6 +10,11 @@ basic_object_info::basic_object_info(schema_node &node, const std::type_index ty
: node_(node)
, type_index_(type_index) {}
std::type_index basic_object_info::type_index() const { return type_index_; }
std::type_index basic_object_info::type_index() const {
return type_index_;
}
std::string basic_object_info::name() const {
return node_.name();
}
} // namespace matador::object