// Copyright (c) 1994 James Clark // See the file COPYING for copying permission. #ifndef OwnerTable_INCLUDED #define OwnerTable_INCLUDED 1 #include "PointerTable.h" #ifdef SP_NAMESPACE namespace SP_NAMESPACE { #endif template class OwnerTable : public PointerTable { public: OwnerTable() { } ~OwnerTable(); void clear(); void swap(OwnerTable &x) { PointerTable::swap(x); } private: OwnerTable(const OwnerTable &); void operator=(const OwnerTable &); }; template class OwnerTableIter : public PointerTableIter { public: OwnerTableIter(const OwnerTable &table) : PointerTableIter(table) { } }; template class CopyOwnerTable : public OwnerTable { public: CopyOwnerTable() { } CopyOwnerTable(const CopyOwnerTable &tab) { *this = tab; } void operator=(const CopyOwnerTable &tab); }; #ifdef SP_NAMESPACE } #endif #endif /* not OwnerTable_INCLUDED */ #ifdef SP_DEFINE_TEMPLATES #include "OwnerTable.cxx" #endif