1 // Copyright (c) 1994 James Clark
2 // See the file COPYING for copying permission.
4 #ifndef IListBase_INCLUDED
5 #define IListBase_INCLUDED 1
11 namespace SP_NAMESPACE {
14 class SP_API IListBase {
21 Boolean empty() const;
24 void swap(IListBase &);
28 friend class IListIterBase;
32 IListBase::IListBase() : head_(0)
37 IListBase::IListBase(Link *head) : head_(head)
42 void IListBase::insert(Link *p)
49 Link *IListBase::head() const
55 Boolean IListBase::empty() const
61 Link *IListBase::get()
69 void IListBase::swap(IListBase &list)
80 #endif /* not IListBase_INCLUDED */