c7d90ff1ab
- .vimrc added to reflect settings used in the project
30 lines
806 B
C++
30 lines
806 B
C++
#include <QMutableLinkedListIterator>
|
|
|
|
class AbstractProtocol;
|
|
class ProtocolList;
|
|
|
|
class ProtocolListIterator
|
|
{
|
|
private:
|
|
QMutableLinkedListIterator<AbstractProtocol*> *_iter;
|
|
|
|
public:
|
|
ProtocolListIterator(ProtocolList &list);
|
|
~ProtocolListIterator();
|
|
bool findNext(const AbstractProtocol* value) const;
|
|
bool findPrevious(const AbstractProtocol* value);
|
|
bool hasNext() const;
|
|
bool hasPrevious() const;
|
|
void insert(AbstractProtocol* value);
|
|
AbstractProtocol* next();
|
|
AbstractProtocol* peekNext() const;
|
|
AbstractProtocol* peekPrevious() const;
|
|
AbstractProtocol* previous();
|
|
void remove();
|
|
void setValue(AbstractProtocol* value) const;
|
|
void toBack();
|
|
void toFront();
|
|
const AbstractProtocol* value() const;
|
|
AbstractProtocol* value();
|
|
};
|