19 #ifndef UNITY_SCOPES_REGISTRY_H
20 #define UNITY_SCOPES_REGISTRY_H
22 #include <unity/scopes/Object.h>
23 #include <unity/scopes/RegistryProxyFwd.h>
24 #include <unity/scopes/ScopeMetadata.h>
virtual MetadataMap list()=0
Returns a map containing the metadata for all scopes.
virtual MetadataMap list_if(std::function< bool(ScopeMetadata const &item)> predicate)=0
Returns a map containing only those scopes for which predicate returns true.
White pages service for available scopes.
Definition: Registry.h:50
virtual ScopeMetadata get_metadata(std::string const &scope_id)=0
Returns the metadata for the scope with the given ID.
The root base class for all proxies.
Definition: Object.h:35
std::map< std::string, ScopeMetadata > MetadataMap
Map for scope ID and metadata pairs.
Definition: Registry.h:42