Skip to content
Snippets Groups Projects
Commit c080d019 authored by Fabian Tërnava's avatar Fabian Tërnava
Browse files

Rebuild type members from aron type

parent 2dbbb666
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,8 @@ namespace armarx
type(o)
{
CheckAronPtrForNull("AronDictTypeNavigator", "AronDictTypeNavigator", getPath(), o);
acceptedTypeNavigator = FromAronType(o->acceptedType);
}
void AronDictTypeNavigator::setAcceptedType(const AronTypeNavigatorPtr& a)
......
......@@ -44,6 +44,8 @@ namespace armarx
type(o)
{
CheckAronPtrForNull("AronListTypeNavigator", "AronListTypeNavigator", getPath(), o);
acceptedTypeNavigator = FromAronType(o->acceptedType);
}
// static methods
......
......@@ -46,6 +46,11 @@ namespace armarx
type(o)
{
CheckAronPtrForNull("AronObjectTypeNavigator", "AronObjectTypeNavigator", getPath(), o);
for(const auto& [key, t] : o->elementTypes)
{
acceptedTypeNavigators[key] = FromAronType(t);
}
}
// static methods
......
......@@ -45,6 +45,11 @@ namespace armarx
type(o)
{
CheckAronPtrForNull("AronTupleTypeNavigator", "AronTupleTypeNavigator", getPath(), o);
for (const auto& t : type->elementTypes)
{
acceptedTypeNavigators.push_back(FromAronType(t));
}
}
type::AronTupleTypePtr AronTupleTypeNavigator::toAronTupleTypePtr() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment