Apache Mesos
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
routing::Handle Class Reference

#include <handle.hpp>

Inheritance diagram for routing::Handle:
routing::filter::U32Handle

Public Member Functions

constexpr Handle (uint32_t _handle)
 
constexpr Handle (uint16_t primary, uint16_t secondary)
 
constexpr Handle (const Handle &parent, uint16_t id)
 
constexpr bool operator== (const Handle &that) const
 
constexpr bool operator!= (const Handle &that) const
 
constexpr uint16_t primary () const
 
constexpr uint16_t secondary () const
 
constexpr uint32_t get () const
 

Static Public Member Functions

static Try< Handleparse (const std::string &str)
 

Protected Attributes

uint32_t handle
 

Constructor & Destructor Documentation

constexpr routing::Handle::Handle ( uint32_t  _handle)
inlineexplicit
constexpr routing::Handle::Handle ( uint16_t  primary,
uint16_t  secondary 
)
inline
constexpr routing::Handle::Handle ( const Handle parent,
uint16_t  id 
)
inline

Member Function Documentation

constexpr uint32_t routing::Handle::get ( ) const
inline
constexpr bool routing::Handle::operator!= ( const Handle that) const
inline
constexpr bool routing::Handle::operator== ( const Handle that) const
inline
static Try<Handle> routing::Handle::parse ( const std::string &  str)
static
constexpr uint16_t routing::Handle::primary ( ) const
inline
constexpr uint16_t routing::Handle::secondary ( ) const
inline

Member Data Documentation

uint32_t routing::Handle::handle
protected

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