Capability

class Capability

Class represents the Capability. An instance of Capability is defined by the module name and revision along with the set of enabled features defined in this modules as well as the list of deviations which target nodes defined by this module.

std::string module

The module.

std::string revision

The revision.

std::vector<std::string> features

List of features defined in this module that are enabled.

std::vector<std::string> deviations

List of deviations that target nodes defined by this module.

Capability(const std::string &mod, const std::string &rev)
Capability(const std::string &mod, const std::string &rev, const std::vector<std::string> &f, const std::vector<std::string> &d)
Capability(const Capability &cap)
Capability(Capability &&cap)
Capability &operator=(const Capability &cap)
Capability &operator=(Capability &&cap)
bool operator==(const Capability &cap)