source: src/Descriptors/MoleculePtrDescriptor_impl.hpp@ ff4fff9

CombiningParticlePotentialParsing
Last change on this file since ff4fff9 was 97445f, checked in by Frederik Heber <heber@…>, 9 years ago

World::getMolecules..() now has const versions as well.

  • Property mode set to 100644
File size: 546 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(const molecule * ptr);
18 virtual ~MoleculePtrDescriptor_impl();
19
20 bool predicate(const std::pair<moleculeId_t,const molecule*> molecule) const;
21
22private:
23 const molecule * ptr;
24};
25
26#endif //MOLECULEPTRDESCRIPTOR_IMPL_HPP
Note: See TracBrowser for help on using the repository browser.