mirror of https://github.com/Icinga/icinga2.git
parent
a16ef350e2
commit
c2b18d4f35
|
@ -99,10 +99,21 @@ private:
|
||||||
int m_Index;
|
int m_Index;
|
||||||
mutable shared_ptr<T> m_Current;
|
mutable shared_ptr<T> m_Current;
|
||||||
|
|
||||||
void increment(void) {
|
void increment(void)
|
||||||
|
{
|
||||||
m_Index++;
|
m_Index++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void decrement(void)
|
||||||
|
{
|
||||||
|
m_Index--;
|
||||||
|
}
|
||||||
|
|
||||||
|
void advance(int n)
|
||||||
|
{
|
||||||
|
m_Index += n;
|
||||||
|
}
|
||||||
|
|
||||||
bool equal(const DynamicTypeIterator<T>& other) const
|
bool equal(const DynamicTypeIterator<T>& other) const
|
||||||
{
|
{
|
||||||
ASSERT(other.m_Type == m_Type);
|
ASSERT(other.m_Type == m_Type);
|
||||||
|
|
Loading…
Reference in New Issue