Apache Mesos
Public Types | Public Member Functions | Static Public Member Functions | List of all members
mesos::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::Attributes::const_iterator
typedef google::protobuf::RepeatedPtrField<Attribute>::iterator mesos::Attributes::iterator

Constructor & Destructor Documentation

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

Member Function Documentation

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

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