actual/packages/node-libofx/OpenSP-1.5.2/include/IListIter.h
2022-04-28 22:44:38 -04:00

28 lines
542 B
C++

// 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 */