STXXL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::stream::counter< ValueType > Struct Template Reference

Detailed Description

template<class ValueType>
struct stxxl::stream::counter< ValueType >

Counter for creating tuple indexes for example.

Examples:
examples/applications/skew3.cpp.

Definition at line 636 of file tuple.h.

Public Types

typedef ValueType value_type
 

Public Member Functions

 counter (const value_type &start=0)
 
bool empty () const
 
const value_typeoperator* () const
 
counteroperator++ ()
 

Protected Attributes

value_type m_count
 

Member Typedef Documentation

template<class ValueType >
typedef ValueType stxxl::stream::counter< ValueType >::value_type

Definition at line 639 of file tuple.h.

Constructor & Destructor Documentation

template<class ValueType >
stxxl::stream::counter< ValueType >::counter ( const value_type start = 0)
inline

Definition at line 645 of file tuple.h.

Member Function Documentation

template<class ValueType >
bool stxxl::stream::counter< ValueType >::empty ( ) const
inline

Definition at line 660 of file tuple.h.

template<class ValueType >
const value_type& stxxl::stream::counter< ValueType >::operator* ( ) const
inline

Definition at line 649 of file tuple.h.

template<class ValueType >
counter& stxxl::stream::counter< ValueType >::operator++ ( )
inline

Definition at line 654 of file tuple.h.

Member Data Documentation

template<class ValueType >
value_type stxxl::stream::counter< ValueType >::m_count
protected

Definition at line 642 of file tuple.h.


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