source: src/Descriptors/MoleculeIdDescriptor_impl.hpp

Candidate_v1.6.1
Last change on this file 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: 693 bytes
RevLine 
[57adc7]1#ifndef MOLECULEIDDESCRIPTOR_IMPL_HPP
2#define MOLECULEIDDESCRIPTOR_IMPL_HPP
3
[56f73b]4// include config.h
5#ifdef HAVE_CONFIG_H
6#include <config.h>
7#endif
8
9
[57adc7]10#include "Descriptors/MoleculeDescriptor_impl.hpp"
11
12class MoleculeIdDescriptor_impl : public MoleculeDescriptor_impl
13{
14public:
15 MoleculeIdDescriptor_impl(moleculeId_t _id);
16 virtual ~MoleculeIdDescriptor_impl();
17
[97445f]18 bool predicate(const std::pair<moleculeId_t,const molecule*> molecule) const;
[57adc7]19
20protected:
21 virtual molecule *find();
[97445f]22 virtual const molecule *find() const;
[57adc7]23 virtual std::vector<molecule*> findAll();
[97445f]24 virtual std::vector<const molecule*> findAll() const;
[57adc7]25private:
26 moleculeId_t id;
27};
28
29#endif //MOLECULEIDDESCRIPTOR_IMPL_HPP
Note: See TracBrowser for help on using the repository browser.