hashRejections.h Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hashRejections.h
Go to the documentation of this file.
1 /* hashRejections.h
2 */
3 #ifndef _HASHREJECTIONS_H
4 #define _HASHREJECTIONS_H
5
6 #include "osl/state/numEffectState.h"
7 #include "osl/hash/hashKey.h"
8 #include <boost/shared_ptr.hpp>
9 #include <boost/scoped_ptr.hpp>
10
11 namespace osl
12 {
13 namespace search
14 {
15 class HashRejections
16 {
17 struct RootTable;
18 struct Table;
19 boost::shared_ptr<RootTable> root_table;
20 boost::scoped_ptr<Table> table;
21 public:
22 HashRejections();
23 HashRejections(const HashRejections&);
24 ~HashRejections();
25 HashRejections& operator=(const HashRejections&);
26
27 void addRejectionRoot(const NumEffectState& parent, const HashKey& key, Move move);
28 void clearRejectionRoot(const NumEffectState& parent, const HashKey& key, Move move);
29 void addRejection(const NumEffectState& parent, const HashKey& key, Move move);
30 void clearRejection(const NumEffectState& parent, const HashKey& key, Move move);
31
32 bool rejectionProbe(const HashKey& cur, const HashKey& parent) const;
33 };
34 }
35 }
36
37 #endif /* _HASHREJECTIONS_H */
38 // ;;; Local Variables:
39 // ;;; mode:c++
40 // ;;; c-basic-offset:2
41 // ;;; End: