Apache Mesos
|
Encapsulation of capability value sets. More...
#include <capabilities.hpp>
Public Member Functions | |
const std::set< Capability > & | get (const Type &type) const |
void | set (const Type &type, const std::set< Capability > &capabilities) |
void | add (const Type &type, const Capability &capability) |
void | drop (const Type &type, const Capability &capability) |
bool | operator== (const ProcessCapabilities &right) const |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const ProcessCapabilities &processCapabilities) |
Encapsulation of capability value sets.
void mesos::internal::capabilities::ProcessCapabilities::add | ( | const Type & | type, |
const Capability & | capability | ||
) |
void mesos::internal::capabilities::ProcessCapabilities::drop | ( | const Type & | type, |
const Capability & | capability | ||
) |
const std::set<Capability>& mesos::internal::capabilities::ProcessCapabilities::get | ( | const Type & | type | ) | const |
|
inline |
void mesos::internal::capabilities::ProcessCapabilities::set | ( | const Type & | type, |
const std::set< Capability > & | capabilities | ||
) |
|
friend |