ucommon/counter.h File Reference

Support for various automatic counting objects. More...

#include <ucommon/platform.h>

Include dependency graph for counter.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ucc

Data Structures

class  ucc::counter
 Automatic integer counting class. More...
class  ucc::SeqCounter
 Automatically return a sequence of untyped objects. More...
class  ucc::sequence< T >
 A template to return a sequence of objects of a specified type. More...
class  ucc::toggle
 Automatically toggle a bool on each reference. More...

Typedefs

typedef counter ucc::counter_t
 A convenience typecast for integer counters.
typedef toggle ucc::toggle_t
 A convenience typecast for auto-toggled bools.


Detailed Description

Support for various automatic counting objects.

This header defines templates for various kinds of automatic counting and sequencing objects. Templates are used to allow manipulation of various numerical-like types.

Definition in file counter.h.


Generated on Tue May 17 12:14:59 2011 for UCommon by  doxygen 1.5.6