10 root(
"resources", sc )
20 this->providers.insert( std::make_pair( priority, provider ) );
25 for(
auto it = this->providers.begin(); it != this->providers.end(); ++it )
26 if( it->second == provider )
28 this->providers.erase( it );
35 auto & out = context->
out();
37 for(
auto const & p_provider : this->providers )
39 size_t priority = p_provider.first;
42 out <<
"priority " << priority <<
" | " << provider->
cm.
root_name_id() <<
":" << std::endl;
44 std::vector< std::type_index > types;
47 [ & ]( std::type_index type )
49 types.push_back( type );
53 for( std::type_index type : types )
55 out <<
" type " << type.name() <<
":" << std::endl;
60 out <<
" " << path << std::endl;
71 for(
auto & p_provider : this->providers )
72 if( p_provider.second->has_path( path, type ) )
73 return p_provider.second;