|
Last change
on this file since eb129c was f058ef, checked in by Tillmann Crueger <crueger@…>, 16 years ago |
|
Added methods to query Molecules by ID
|
-
Property mode
set to
100644
|
|
File size:
509 bytes
|
| Line | |
|---|
| 1 | #ifndef MOLECULEIDDESCRIPTOR_IMPL_HPP
|
|---|
| 2 | #define MOLECULEIDDESCRIPTOR_IMPL_HPP
|
|---|
| 3 |
|
|---|
| 4 | #include "Descriptors/MoleculeDescriptor_impl.hpp"
|
|---|
| 5 |
|
|---|
| 6 | class MoleculeIdDescriptor_impl : public MoleculeDescriptor_impl
|
|---|
| 7 | {
|
|---|
| 8 | public:
|
|---|
| 9 | MoleculeIdDescriptor_impl(moleculeId_t _id);
|
|---|
| 10 | virtual ~MoleculeIdDescriptor_impl();
|
|---|
| 11 |
|
|---|
| 12 | bool predicate(std::pair<moleculeId_t,molecule*> molecule);
|
|---|
| 13 |
|
|---|
| 14 | protected:
|
|---|
| 15 | virtual molecule *find();
|
|---|
| 16 | virtual std::vector<molecule*> findAll();
|
|---|
| 17 | private:
|
|---|
| 18 | moleculeId_t id;
|
|---|
| 19 | };
|
|---|
| 20 |
|
|---|
| 21 | #endif //MOLECULEIDDESCRIPTOR_IMPL_HPP
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.