Gascoigne::Timer Class Reference

#include <timer.h>

List of all members.

Public Member Functions

 Timer ()
 Timer (const Timer &T)
void init (const Timer &T)
void add (const Timer &T)
void add (const std::string &s)
const StopWatchGet (const std::string &s) const
const_iterator begin () const
const_iterator end () const
void start (const std::string &s)
void stop (const std::string &s)
double read (const std::string &s) const
StopWatch total () const

Protected Types

typedef std::map< std::string,
StopWatch >::const_iterator 
const_iterator
typedef std::map< std::string,
StopWatch >::iterator 
iterator

Protected Attributes

std::map< std::string, StopWatchmstpw

Friends

std::ostream & operator<< (std::ostream &os, const Timer &T)


Member Typedef Documentation

typedef std::map<std::string,StopWatch>::const_iterator Gascoigne::Timer::const_iterator [protected]

typedef std::map<std::string,StopWatch>::iterator Gascoigne::Timer::iterator [protected]


Constructor & Destructor Documentation

Gascoigne::Timer::Timer (  ) 

Gascoigne::Timer::Timer ( const Timer T  )  [inline]


Member Function Documentation

void Gascoigne::Timer::add ( const std::string s  )  [inline]

void Gascoigne::Timer::add ( const Timer T  )  [inline]

const_iterator Gascoigne::Timer::begin (  )  const [inline]

const_iterator Gascoigne::Timer::end (  )  const [inline]

const StopWatch& Gascoigne::Timer::Get ( const std::string s  )  const [inline]

void Gascoigne::Timer::init ( const Timer T  )  [inline]

double Gascoigne::Timer::read ( const std::string s  )  const [inline]

void Gascoigne::Timer::start ( const std::string s  )  [inline]

void Gascoigne::Timer::stop ( const std::string s  )  [inline]

StopWatch Gascoigne::Timer::total (  )  const [inline]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Timer T 
) [friend]


Member Data Documentation

std::map<std::string,StopWatch> Gascoigne::Timer::mstpw [protected]


The documentation for this class was generated from the following files:
Generated on Thu Sep 14 10:46:23 2006 for Gascoigne by  doxygen 1.4.7