source: molecuilder/src/Descriptors/AtomIdDescriptor_impl.hpp@ a5471c

Last change on this file since a5471c was a5471c, checked in by Tillmann Crueger <crueger@…>, 16 years ago

Added iterator structure that allows iterating over selected atoms in the World.

  • Property mode set to 100644
File size: 326 bytes
Line 
1#include "Descriptors/AtomDescriptor_impl.hpp"
2
3class AtomIdDescriptor_impl : public AtomDescriptor_impl
4{
5public:
6 AtomIdDescriptor_impl(int _id);
7 virtual ~AtomIdDescriptor_impl();
8
9 bool predicate(std::pair<int,atom*> atom);
10
11protected:
12#if 0
13 atom *find();
14 std::vector<atom*> findAll();
15#endif
16private:
17 int id;
18};
Note: See TracBrowser for help on using the repository browser.