actual/packages/node-libofx/OpenSP-1.5.2/include/IListIter.h

29 lines
542 B
C
Raw Normal View History

2022-04-29 02:44:38 +00:00
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#ifndef IListIter_INCLUDED
#define IListIter_INCLUDED 1
#include "IListIterBase.h"
#include "IList.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
template<class T>
class IListIter : private IListIterBase {
public:
IListIter(const IList<T> &list) : IListIterBase(list) { }
T *cur() const { return (T *)IListIterBase::cur(); }
IListIterBase::next;
IListIterBase::done;
};
#ifdef SP_NAMESPACE
}
#endif
#endif /* not IListIter_INCLUDED */