Apache Mesos
Public Member Functions | Static Public Member Functions | List of all members
cgroups::blkio::Device Class Reference

#include <cgroups.hpp>

Public Member Functions

constexpr Device (dev_t device)
 
unsigned int getMajor () const
 
unsigned int getMinor () const
 
bool operator== (const Device &that) const
 
bool operator!= (const Device &that) const
 
 operator dev_t () const
 

Static Public Member Functions

static Try< Deviceparse (const std::string &s)
 

Constructor & Destructor Documentation

constexpr cgroups::blkio::Device::Device ( dev_t  device)
inline

Member Function Documentation

unsigned int cgroups::blkio::Device::getMajor ( ) const
unsigned int cgroups::blkio::Device::getMinor ( ) const
cgroups::blkio::Device::operator dev_t ( ) const
inline
bool cgroups::blkio::Device::operator!= ( const Device that) const
inline
bool cgroups::blkio::Device::operator== ( const Device that) const
inline
static Try<Device> cgroups::blkio::Device::parse ( const std::string &  s)
static

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