1 /* $XConsortium: StringSet.h /main/1 1996/07/29 17:05:35 cde-hp $ */
2 // Copyright (c) 1994 James Clark
3 // See the file COPYING for copying permission.
5 #ifndef StringSet_INCLUDED
6 #define StringSet_INCLUDED 1
11 #include "OwnerTable.h"
14 namespace SP_NAMESPACE {
19 static inline const StringC &key(const StringC &str) { return str; }
25 Boolean add(const StringC &); // return 1 if already there
26 void swap(StringSet &);
29 StringSet(const StringSet &); // undefined
30 void operator=(const StringSet &); // undefined
31 OwnerTable<StringC, StringC, Hash, StringSetKey> table_;
35 void StringSet::clear()
44 #endif /* not StringSet_INCLUDED */