source: src/Descriptors/AtomOrderDescriptor_impl.hpp@ 11cc05

Last change on this file since 11cc05 was 61c364, checked in by Frederik Heber <heber@…>, 13 years ago

Added AtomOrderDescription along with SelectionAtomByOrder.

  • Property mode set to 100644
File size: 559 bytes
Line 
1#ifndef ATOMORDERDESCRIPTOR_IMPL_HPP
2#define ATOMORDERDESCRIPTOR_IMPL_HPP
3
4// include config.h
5#ifdef HAVE_CONFIG_H
6#include <config.h>
7#endif
8
9
10#include "Descriptors/AtomDescriptor_impl.hpp"
11
12class AtomOrderDescriptor_impl : public AtomDescriptor_impl
13{
14public:
15 AtomOrderDescriptor_impl(int _id);
16 virtual ~AtomOrderDescriptor_impl();
17
18 bool predicate(std::pair<atomId_t,atom*> atom);
19
20protected:
21 virtual atom *find();
22 virtual std::vector<atom*> findAll();
23
24 World::AtomSet& getAtoms();
25
26private:
27 int id;
28};
29
30#endif //ATOMORDERDESCRIPTOR_IMPL_HPP
Note: See TracBrowser for help on using the repository browser.