Apache Mesos
Public Types | Public Member Functions | Static Public Member Functions | List of all members
mesos::v1::Attributes Class Reference

#include <attributes.hpp>

Public Types

typedef google::protobuf::RepeatedPtrField< Attribute >::iterator iterator
 
typedef google::protobuf::RepeatedPtrField< Attribute >::const_iterator const_iterator
 

Public Member Functions

 Attributes ()
 
 Attributes (const google::protobuf::RepeatedPtrField< Attribute > &_attributes)
 
 Attributes (const Attributes &that)
 
Attributesoperator= (const Attributes &that)
 
bool operator== (const Attributes &that) const
 
bool operator!= (const Attributes &that) const
 
size_t size () const
 
 operator const google::protobuf::RepeatedPtrField< Attribute > & () const
 
void add (const Attribute &attribute)
 
const Attribute get (int index) const
 
const Option< Attribute > get (const Attribute &thatAttribute) const
 
template<typename T >
get (const std::string &name, const T &t) const
 
bool contains (const Attribute &attribute) const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Static Public Member Functions

static Attribute parse (const std::string &name, const std::string &value)
 
static Attributes parse (const std::string &s)
 
static bool isValid (const Attribute &attribute)
 

Member Typedef Documentation

typedef google::protobuf::RepeatedPtrField<Attribute>::const_iterator mesos::v1::Attributes::const_iterator
typedef google::protobuf::RepeatedPtrField<Attribute>::iterator mesos::v1::Attributes::iterator

Constructor & Destructor Documentation

mesos::v1::Attributes::Attributes ( )
inline
mesos::v1::Attributes::Attributes ( const google::protobuf::RepeatedPtrField< Attribute > &  _attributes)
inline
mesos::v1::Attributes::Attributes ( const Attributes that)
inline

Member Function Documentation

void mesos::v1::Attributes::add ( const Attribute &  attribute)
inline
iterator mesos::v1::Attributes::begin ( )
inline
const_iterator mesos::v1::Attributes::begin ( ) const
inline
bool mesos::v1::Attributes::contains ( const Attribute &  attribute) const
iterator mesos::v1::Attributes::end ( )
inline
const_iterator mesos::v1::Attributes::end ( ) const
inline
const Attribute mesos::v1::Attributes::get ( int  index) const
inline
const Option<Attribute> mesos::v1::Attributes::get ( const Attribute &  thatAttribute) const
template<typename T >
T mesos::v1::Attributes::get ( const std::string &  name,
const T &  t 
) const
static bool mesos::v1::Attributes::isValid ( const Attribute &  attribute)
static
mesos::v1::Attributes::operator const google::protobuf::RepeatedPtrField< Attribute > & ( ) const
inline
bool mesos::v1::Attributes::operator!= ( const Attributes that) const
inline
Attributes& mesos::v1::Attributes::operator= ( const Attributes that)
inline
bool mesos::v1::Attributes::operator== ( const Attributes that) const
static Attribute mesos::v1::Attributes::parse ( const std::string &  name,
const std::string &  value 
)
static
static Attributes mesos::v1::Attributes::parse ( const std::string &  s)
static
size_t mesos::v1::Attributes::size ( ) const
inline

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