Public Member Functions | Private Attributes | Static Private Attributes

test_utils::timing Class Reference

#include <play_scenario.hpp>

List of all members.

Public Member Functions

 timing ()
 timing (const size_t &t)
timing operator++ ()
timing operator++ (int)
 operator size_t & ()
timing operator+ (const size_t &t) const
timing operator+ (const int &t) const
timingoperator+= (const size_t &t)
timingoperator+= (const int &t)

Private Attributes

size_t time_

Static Private Attributes

static const size_t step_size = 2

Detailed Description

Definition at line 32 of file play_scenario.hpp.


Constructor & Destructor Documentation

test_utils::timing::timing (  )  [inline]

Definition at line 36 of file play_scenario.hpp.

Referenced by operator+().

Here is the caller graph for this function:

test_utils::timing::timing ( const size_t &  t  )  [inline]

Definition at line 37 of file play_scenario.hpp.


Member Function Documentation

test_utils::timing::operator size_t & (  )  [inline]

Definition at line 51 of file play_scenario.hpp.

References time_.

timing test_utils::timing::operator+ ( const size_t &  t  )  const [inline]

Definition at line 54 of file play_scenario.hpp.

References step_size, time_, and timing().

Here is the call graph for this function:

timing test_utils::timing::operator+ ( const int &  t  )  const [inline]

Definition at line 57 of file play_scenario.hpp.

timing test_utils::timing::operator++ ( int   )  [inline]

Definition at line 44 of file play_scenario.hpp.

References operator++().

Here is the call graph for this function:

timing test_utils::timing::operator++ (  )  [inline]

Definition at line 39 of file play_scenario.hpp.

References step_size, and time_.

Referenced by operator++().

Here is the caller graph for this function:

timing& test_utils::timing::operator+= ( const size_t &  t  )  [inline]

Definition at line 60 of file play_scenario.hpp.

References step_size, and time_.

timing& test_utils::timing::operator+= ( const int &  t  )  [inline]

Definition at line 64 of file play_scenario.hpp.


Member Data Documentation

const size_t test_utils::timing::step_size = 2 [static, private]

Definition at line 33 of file play_scenario.hpp.

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

size_t test_utils::timing::time_ [private]

Definition at line 34 of file play_scenario.hpp.

Referenced by operator size_t &(), operator+(), operator++(), and operator+=().


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

Generated by doxygen 1.7.1 on Thu May 24 2012 01:26:09 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs