Public Member Functions | |
cofmeterstatsarray (uint8_t ofp_version=OFP_VERSION_UNKNOWN) | |
cofmeterstatsarray (const cofmeterstatsarray &mstats) | |
cofmeterstatsarray & | operator= (const cofmeterstatsarray &mstats) |
bool | operator== (const cofmeterstatsarray &mstats) |
cofmeterstatsarray & | operator+= (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_reply & | add_meter_stats (unsigned int index=0) |
void | drop_meter_stats (unsigned int index=0) |
cofmeter_stats_reply & | set_meter_stats (unsigned int index=0) |
const cofmeter_stats_reply & | get_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) |
|
virtual |
returns length of packet in packed state