Go to the source code of this file.
| Classes | |
| class | CapabilityUtils::CapabilityException | 
| Namespaces | |
| CapabilityUtils | |
| Shared code for the Capabilities Registry and the python bindings to the Capabilities system. | |
| Typedefs | |
| typedef std::variant< bool, int, std::string > | CapabilityUtils::Type | 
| A capability can have a bool, int, or string value.  More... | |
| typedef std::tuple< CheckState, std::string, std::string > | CapabilityUtils::Result | 
| Result from a capability check: the state, the reason, and the documentation.  More... | |
| typedef std::map< std::string, std::pair< Type, std::string > > | CapabilityUtils::Registry | 
| The registry that stores the registered capabilities.  More... | |
| Enumerations | |
| enum | CapabilityUtils::CheckState { CapabilityUtils::CERTAIN_FAIL = 0, CapabilityUtils::POSSIBLE_FAIL = 1, CapabilityUtils::UNKNOWN = 2, CapabilityUtils::POSSIBLE_PASS = 3, CapabilityUtils::CERTAIN_PASS = 4, CapabilityUtils::PARSE_FAIL = 5 } | 
| Return state for check.  More... | |
| Functions | |
| Result | CapabilityUtils::check (std::string requirements, const Registry &capabilities) | 
| Checks if a set of requirements is satisified by the given capability registry.  More... | |
 1.8.14
 1.8.14