12#ifndef ZYPP_CORE_BASE_PROVIDENUMERICID_H 
   13#define ZYPP_CORE_BASE_PROVIDENUMERICID_H 
   44    template<
class TDerived, 
class TNumericIdType>
 
   70        { 
if ( &rhs != 
this ) { 
_numericId = rhs._numericId;  } 
return *
this; }
 
 
   85          static TNumericIdType _staticCounter = 0;
 
   87          return ++_staticCounter;
 
 
 
Easy-to use interface to the ZYPP dependency resolver.
const TNumericIdType _numericId
static TNumericIdType nextId()
Provide the next Id to use.
ProvideNumericId(const void *const)
No-Id ctor (0).
ProvideNumericId & operator=(ProvideNumericId &&rhs) noexcept
Move Assign.
TNumericIdType numericId() const
ProvideNumericId(const ProvideNumericId &)
Copy ctor.
ProvideNumericId(ProvideNumericId &&rhs) noexcept
Move ctor.
ProvideNumericId()
Default ctor.
ProvideNumericId & operator=(const ProvideNumericId &)
Assign.