|
Last change
on this file since 120f8b was 323177, checked in by Tillmann Crueger <crueger@…>, 16 years ago |
|
Rebuilt AtomDescriptors using PIMPL-Idiom and added unittest for descriptors
|
-
Property mode
set to
100644
|
|
File size:
370 bytes
|
| Line | |
|---|
| 1 | #include "Descriptors/AtomIdDescriptor.hpp"
|
|---|
| 2 | #include "Descriptors/AtomDescriptor_impl.hpp"
|
|---|
| 3 |
|
|---|
| 4 | class AtomIdDescriptor_impl : public AtomDescriptor_impl
|
|---|
| 5 | {
|
|---|
| 6 | public:
|
|---|
| 7 | AtomIdDescriptor_impl(int _id);
|
|---|
| 8 | virtual ~AtomIdDescriptor_impl();
|
|---|
| 9 |
|
|---|
| 10 | bool predicate(std::pair<int,atom*> atom);
|
|---|
| 11 |
|
|---|
| 12 | protected:
|
|---|
| 13 | #if 0
|
|---|
| 14 | atom *find();
|
|---|
| 15 | std::vector<atom*> findAll();
|
|---|
| 16 | #endif
|
|---|
| 17 | private:
|
|---|
| 18 | int id;
|
|---|
| 19 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.