// Copyright (C) 1991 - 1999 Rational Software Corporation

#if defined (_MSC_VER) && (_MSC_VER >= 1000)
#pragma once
#endif
#ifndef _INC_ITERATOR_471B576C00BB_INCLUDED
#define _INC_ITERATOR_471B576C00BB_INCLUDED

//##ModelId=471B576C00BB
template<class T>
class Iterator 
{
public:
	//##ModelId=471B58080251
	virtual bool hasNext() = 0;

	virtual bool hasPrevious() = 0;

	//##ModelId=471B581E007D
	virtual T next() = 0;

	virtual T previous() = 0;
	
	virtual T first() = 0;

	virtual T last() = 0;

	virtual T current() = 0;

	virtual bool endNext() = 0;

	virtual bool endPrevious() = 0;

	virtual ~Iterator() {}

};

#endif /* _INC_ITERATOR_471B576C00BB_INCLUDED */
Соседние файлы в папке LAB1_CONSOLE - final