relation completer progress
This commit is contained in:
@@ -43,21 +43,21 @@ std::shared_ptr<attribute_definition> basic_object_info::reference_column() cons
|
||||
return pk_column_;
|
||||
}
|
||||
|
||||
void basic_object_info::register_relation_endpoint(const std::type_index &tindex, const relation_endpoint &endpoint) {
|
||||
relation_endpoints_.insert(std::make_pair(tindex, endpoint));
|
||||
void basic_object_info::register_relation_endpoint(const std::type_index &type, const relation_endpoint &endpoint) {
|
||||
relation_endpoints_.insert(std::make_pair(type, endpoint));
|
||||
}
|
||||
|
||||
void basic_object_info::unregister_relation_endpoint(const std::type_index &tindex) {
|
||||
relation_endpoints_.erase(tindex);
|
||||
void basic_object_info::unregister_relation_endpoint(const std::type_index &type) {
|
||||
relation_endpoints_.erase(type);
|
||||
}
|
||||
|
||||
basic_object_info::const_endpoint_iterator
|
||||
basic_object_info::find_relation_endpoint(const std::type_index &tindex) const {
|
||||
return relation_endpoints_.find(tindex);
|
||||
basic_object_info::find_relation_endpoint(const std::type_index &type) const {
|
||||
return relation_endpoints_.find(type);
|
||||
}
|
||||
|
||||
basic_object_info::endpoint_iterator basic_object_info::find_relation_endpoint(const std::type_index &tindex) {
|
||||
return relation_endpoints_.find(tindex);
|
||||
basic_object_info::endpoint_iterator basic_object_info::find_relation_endpoint(const std::type_index &type) {
|
||||
return relation_endpoints_.find(type);
|
||||
}
|
||||
|
||||
basic_object_info::const_endpoint_iterator basic_object_info::find_relation_endpoint(const std::string &field) const {
|
||||
|
||||
Reference in New Issue
Block a user