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