Apache Mesos
Public Member Functions | Friends | List of all members
mesos::internal::capabilities::ProcessCapabilities Class Reference

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


std::ostream & operator<< (std::ostream &stream, const ProcessCapabilities &processCapabilities)

Detailed Description

Encapsulation of capability value sets.

Member Function Documentation

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
bool mesos::internal::capabilities::ProcessCapabilities::operator== ( const ProcessCapabilities right) const
void mesos::internal::capabilities::ProcessCapabilities::set ( const Type type,
const std::set< Capability > &  capabilities 

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const ProcessCapabilities processCapabilities 

The documentation for this class was generated from the following file: