12 #ifndef ZYPP_BASE_PROVIDENUMERICID_H
13 #define ZYPP_BASE_PROVIDENUMERICID_H
44 template<
class _Derived,
class _NumericIdType>
78 static _NumericIdType _staticCounter = 0;
80 return ++_staticCounter;
93 #endif // ZYPP_BASE_PROVIDENUMERICID_H
ProvideNumericId & operator=(const ProvideNumericId &)
Assign.
ProvideNumericId(const void *const )
No-Id ctor (0).
Base class for objects providing a numeric Id.
ProvideNumericId()
Default ctor.
static _NumericIdType nextId()
Provide the next Id to use.
_NumericIdType numericId() const
const _NumericIdType _numericId
ProvideNumericId(const ProvideNumericId &)
Copy ctor.