network::statistics Struct Reference

#include <network.hpp>

List of all members.

Public Member Functions

 statistics ()
void fresh_current (size_t len)
void transfer (size_t size)
bool operator== (const statistics &stats) const
bool operator!= (const statistics &stats) const

Public Attributes

size_t total
size_t current
size_t current_max


Detailed Description

Definition at line 173 of file network.hpp.


Constructor & Destructor Documentation

network::statistics::statistics (  )  [inline]

Definition at line 175 of file network.hpp.


Member Function Documentation

void network::statistics::fresh_current ( size_t  len  )  [inline]

Definition at line 176 of file network.hpp.

References current, and current_max.

void network::statistics::transfer ( size_t  size  )  [inline]

Definition at line 181 of file network.hpp.

References current, and total.

bool network::statistics::operator== ( const statistics stats  )  const [inline]

Definition at line 186 of file network.hpp.

References current, current_max, and total.

Referenced by operator!=().

bool network::statistics::operator!= ( const statistics stats  )  const [inline]

Definition at line 190 of file network.hpp.

References operator==().


Member Data Documentation

Definition at line 194 of file network.hpp.

Referenced by operator==(), and transfer().

Definition at line 195 of file network.hpp.

Referenced by fresh_current(), dialogs::network_data_dialog(), operator==(), and transfer().

Definition at line 196 of file network.hpp.

Referenced by fresh_current(), dialogs::network_data_dialog(), and operator==().


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs