1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/base/Counter.h
12 #ifndef ZYPP_BASE_COUNTER_H
13 #define ZYPP_BASE_COUNTER_H
17 ///////////////////////////////////////////////////////////////////
19 { /////////////////////////////////////////////////////////////////
21 ///////////////////////////////////////////////////////////////////
23 // CLASS NAME : Counter
25 /** Integral type with initial value \c 0.
31 Counter( _IntT value_r = _IntT(0) )
32 : _value( _IntT( value_r ) )
38 operator const _IntT &() const
44 ///////////////////////////////////////////////////////////////////
46 /////////////////////////////////////////////////////////////////
48 ///////////////////////////////////////////////////////////////////
49 #endif // ZYPP_BASE_COUNTER_H