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

Public Member Functions

 cofmeterstatsarray (uint8_t ofp_version=OFP_VERSION_UNKNOWN)
 
 cofmeterstatsarray (const cofmeterstatsarray &mstats)
 
cofmeterstatsarrayoperator= (const cofmeterstatsarray &mstats)
 
bool operator== (const cofmeterstatsarray &mstats)
 
cofmeterstatsarrayoperator+= (const cofmeterstatsarray &mstats)
 
virtual size_t length () const
 
virtual void pack (uint8_t *buf=(uint8_t *) 0, size_t buflen=0)
 
virtual void unpack (uint8_t *buf, size_t buflen)
 
size_t size () const
 
void clear ()
 
uint8_t get_version () const
 
void set_version (uint8_t ofp_version)
 
const std::map< unsigned int,
cofmeter_stats_reply > & 
get_mstats () const
 
std::map< unsigned int,
cofmeter_stats_reply > & 
set_mstats ()
 
cofmeter_stats_replyadd_meter_stats (unsigned int index=0)
 
void drop_meter_stats (unsigned int index=0)
 
cofmeter_stats_replyset_meter_stats (unsigned int index=0)
 
const cofmeter_stats_replyget_meter_stats (unsigned int index=0) const
 
bool has_meter_stats (unsigned int index=0) const
 

Friends

std::ostream & operator<< (std::ostream &os, cofmeterstatsarray const &mstats)
 

Member Function Documentation

size_t cofmeterstatsarray::length ( ) const
virtual

returns length of packet in packed state


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