1 // $Id: gc_set_util.h,v 1.4 2011/03/08 19:22:00 bobgian Exp $
2 
3 /*
4   Copyright 2002  Mary Kuhner, Jon Yamato, and Joseph Felsenstein
5 
6   This software is distributed free of charge for non-commercial use
7   and is copyrighted.  Of course, we do not guarantee that the software
8   works, and are not responsible for any damage you may cause or have.
9 */
10 
11 #ifndef GC_SET_UTIL_H
12 #define GC_SET_UTIL_H
13 
14 #include "wx/string.h"
15 
16 #include <set>
17 #include <vector>
18 
19 class gcIdSet : public std::set<size_t>
20 {
21   public:
22     gcIdSet() ;
23     ~gcIdSet() ;
24     void DebugDump(wxString prefix=wxEmptyString) const;
25     wxString AsString() const;
26 };
27 
28 class gcIdVec : public std::vector<size_t>
29 {
30   public:
31     gcIdVec() ;
32     ~gcIdVec() ;
33     void DebugDump(wxString prefix=wxEmptyString) const;
34     wxString AsString() const;
35 };
36 
37 #endif  // GC_SET_UTIL_H
38 
39 //____________________________________________________________________________________
40