1 /* $XConsortium: IListBase.h /main/1 1996/07/29 16:53:26 cde-hp $ */
2 // Copyright (c) 1994 James Clark
3 // See the file COPYING for copying permission.
5 #ifndef IListBase_INCLUDED
6 #define IListBase_INCLUDED 1
12 namespace SP_NAMESPACE {
15 class SP_API IListBase {
22 Boolean empty() const;
25 void swap(IListBase &);
29 friend class IListIterBase;
33 IListBase::IListBase() : head_(0)
38 IListBase::IListBase(Link *head) : head_(head)
43 void IListBase::insert(Link *p)
50 Link *IListBase::head() const
56 Boolean IListBase::empty() const
62 Link *IListBase::get()
70 void IListBase::swap(IListBase &list)
81 #endif /* not IListBase_INCLUDED */