Revised OpenFlow Library  v0.6.0dev
 All Classes Files Functions Variables Friends Groups Pages
Public Member Functions | Friends | List of all members
rofl::openflow::cofbuckets Class Reference

Public Member Functions

 cofbuckets (uint8_t ofp_version=openflow::OFP_VERSION_UNKNOWN)
 
 cofbuckets (cofbuckets const &buckets)
 
cofbucketsoperator= (cofbuckets const &buckets)
 
bool operator== (cofbuckets const &buckets)
 
uint8_t get_version () const
 
void set_version (uint8_t ofp_version)
 
std::map< uint32_t, cofbucket > & set_buckets ()
 
std::map< uint32_t, cofbucket >
const & 
get_buckets () const
 
cofbucketadd_bucket (uint32_t bucket_id)
 
void drop_bucket (uint32_t bucket_id)
 
cofbucketset_bucket (uint32_t bucket_id)
 
cofbucket const & get_bucket (uint32_t bucket_id) const
 
bool has_bucket (uint32_t bucket_id)
 
void clear ()
 
void check_prerequisites () const
 
virtual size_t length () const
 
uint8_t * pack (uint8_t *buf, size_t buflen)
 
void unpack (uint8_t *buf, size_t buflen)
 

Friends

std::ostream & operator<< (std::ostream &os, cofbuckets const &buckets)
 

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