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

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

Rewrote some of the descriptors such that they access World's AtomSet and MoleculeSet directly.

  • Property mode set to 100644
File size: 516 bytes
Line 
1#ifndef MOLECULEPTRDESCRIPTOR_IMPL_HPP
2#define MOLECULEPTRDESCRIPTOR_IMPL_HPP
3
4// include config.h
5#ifdef HAVE_CONFIG_H
6#include <config.h>
7#endif
8
9
10#include "Descriptors/MoleculeDescriptor_impl.hpp"
11
12class molecule;
13
14class MoleculePtrDescriptor_impl : public MoleculeDescriptor_impl
15{
16public:
17 MoleculePtrDescriptor_impl(molecule * ptr);
18 virtual ~MoleculePtrDescriptor_impl();
19
20 bool predicate(std::pair<moleculeId_t,molecule*> molecule);
21
22private:
23 molecule * ptr;
24};
25
26#endif //MOLECULEPTRDESCRIPTOR_IMPL_HPP
Note: See TracBrowser for help on using the repository browser.