source: src/Descriptors/MoleculeOrderDescriptor_impl.hpp@ 3aa204

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes
Last change on this file since 3aa204 was 97445f, checked in by Frederik Heber <heber@…>, 10 years ago

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

  • Property mode set to 100644
File size: 784 bytes
Line 
1#ifndef MOLECULEORDERDESCRIPTOR_IMPL_HPP
2#define MOLECULEORDERDESCRIPTOR_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 MoleculeOrderDescriptor_impl : public MoleculeDescriptor_impl
13{
14public:
15 MoleculeOrderDescriptor_impl(int _id);
16 virtual ~MoleculeOrderDescriptor_impl();
17
18 bool predicate(const std::pair<moleculeId_t,const molecule*> _molecule) const;
19
20protected:
21 virtual molecule *find();
22 virtual const molecule *find() const;
23 virtual std::vector<molecule*> findAll();
24 virtual std::vector<const molecule*> findAll() const;
25
26 World::MoleculeSet& getMolecules();
27 const World::MoleculeSet& getMolecules() const;
28
29private:
30 int id;
31};
32
33#endif //MOLECULEORDERDESCRIPTOR_IMPL_HPP
Note: See TracBrowser for help on using the repository browser.