Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 248675489bf60a79eee353c253a8d500 > files > 58

OpenSP-debug-1.5.2-5mdv2009.0.i586.rpm

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