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

Last change on this file since 11cc05 was 56f73b, checked in by Frederik Heber <heber@…>, 14 years ago

Added config.h also to all header files, code check test ascertain this in the future.

  • as we want to use config.h to pass stuff such as MEMDEBUG, NDEBUG, LOG_OBSERVER, we have to make sure that it is present in each and every file.
  • split up CodeChecks/testsuite.at: each test has its own .at file.
  • Property mode set to 100644
File size: 519 bytes
RevLine 
[f16a4b]1#ifndef ATOMIDDESCRIPTOR_IMPL_HPP
2#define ATOMIDDESCRIPTOR_IMPL_HPP
3
[56f73b]4// include config.h
5#ifdef HAVE_CONFIG_H
6#include <config.h>
7#endif
8
9
[7a1ce5]10#include "Descriptors/AtomDescriptor_impl.hpp"
11
12class AtomIdDescriptor_impl : public AtomDescriptor_impl
13{
14public:
[7042f45]15 AtomIdDescriptor_impl(atomId_t _id);
[7a1ce5]16 virtual ~AtomIdDescriptor_impl();
17
[24a5e0]18 bool predicate(std::pair<atomId_t,atom*> atom);
[7a1ce5]19
20protected:
[f16a4b]21 virtual atom *find();
22 virtual std::vector<atom*> findAll();
[7a1ce5]23private:
[7042f45]24 atomId_t id;
[7a1ce5]25};
[f16a4b]26
27#endif //ATOMIDDESCRIPTOR_IMPL_HPP
Note: See TracBrowser for help on using the repository browser.