|
Last change
on this file since 88bb6b was 75363b, checked in by Frederik Heber <heber@…>, 14 years ago |
|
Extracted functions from fragmentation_helpers and placed them in KeySet or Graph class.
|
-
Property mode
set to
100644
|
|
File size:
428 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * KeySet.hpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Oct 20, 2011
|
|---|
| 5 | * Author: heber
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef KEYSET_HPP_
|
|---|
| 9 | #define KEYSET_HPP_
|
|---|
| 10 |
|
|---|
| 11 | #ifdef HAVE_CONFIG_H
|
|---|
| 12 | #include <config.h>
|
|---|
| 13 | #endif
|
|---|
| 14 |
|
|---|
| 15 | #include <set>
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | class KeySet : public std::set<int>
|
|---|
| 19 | {
|
|---|
| 20 | public:
|
|---|
| 21 | KeySet();
|
|---|
| 22 | ~KeySet();
|
|---|
| 23 |
|
|---|
| 24 | bool operator<(const KeySet &a) const;
|
|---|
| 25 |
|
|---|
| 26 | bool ScanBufferIntoKeySet(char *buffer);
|
|---|
| 27 | };
|
|---|
| 28 |
|
|---|
| 29 | typedef std::pair<KeySet::iterator, bool> KeySetTestPair;
|
|---|
| 30 |
|
|---|
| 31 | #endif /* KEYSET_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.