Public Member Functions | Public Attributes | Static Public Attributes

network::bandwidth_stats Struct Reference

List of all members.

Public Member Functions

bandwidth_statsoperator+= (const bandwidth_stats &a)

Public Attributes

int out_packets
int out_bytes
int in_packets
int in_bytes
int day

Static Public Attributes

static const size_t type_width = 16
static const size_t packet_width = 7
static const size_t bytes_width = 10

Detailed Description

Definition at line 937 of file network.cpp.


Member Function Documentation

bandwidth_stats& network::bandwidth_stats::operator+= ( const bandwidth_stats a  )  [inline]

Definition at line 946 of file network.cpp.

References in_bytes, in_packets, out_bytes, and out_packets.


Member Data Documentation

const size_t network::bandwidth_stats::bytes_width = 10 [static]

Definition at line 945 of file network.cpp.

Definition at line 942 of file network.cpp.

Definition at line 941 of file network.cpp.

Referenced by operator+=().

Definition at line 940 of file network.cpp.

Referenced by operator+=().

Definition at line 939 of file network.cpp.

Referenced by operator+=().

Definition at line 938 of file network.cpp.

Referenced by operator+=().

const size_t network::bandwidth_stats::packet_width = 7 [static]

Definition at line 944 of file network.cpp.

const size_t network::bandwidth_stats::type_width = 16 [static]

Definition at line 943 of file network.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:24:36 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs