Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since f01bb3 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
           | 
        
      
      
| Rev | Line |   | 
|---|
| [92d756] | 1 | #ifndef MOLECULEORDERDESCRIPTOR_IMPL_HPP
 | 
|---|
 | 2 | #define MOLECULEORDERDESCRIPTOR_IMPL_HPP
 | 
|---|
 | 3 | 
 | 
|---|
| [56f73b] | 4 | // include config.h
 | 
|---|
 | 5 | #ifdef HAVE_CONFIG_H
 | 
|---|
 | 6 | #include <config.h>
 | 
|---|
 | 7 | #endif
 | 
|---|
 | 8 | 
 | 
|---|
 | 9 | 
 | 
|---|
| [92d756] | 10 | #include "Descriptors/MoleculeDescriptor_impl.hpp"
 | 
|---|
 | 11 | 
 | 
|---|
 | 12 | class MoleculeOrderDescriptor_impl : public MoleculeDescriptor_impl
 | 
|---|
 | 13 | {
 | 
|---|
 | 14 | public:
 | 
|---|
 | 15 |   MoleculeOrderDescriptor_impl(int _id);
 | 
|---|
 | 16 |   virtual ~MoleculeOrderDescriptor_impl();
 | 
|---|
 | 17 | 
 | 
|---|
| [97445f] | 18 |   bool predicate(const std::pair<moleculeId_t,const molecule*> _molecule) const;
 | 
|---|
| [92d756] | 19 | 
 | 
|---|
 | 20 | protected:
 | 
|---|
 | 21 |   virtual molecule *find();
 | 
|---|
| [97445f] | 22 |   virtual const molecule *find() const;
 | 
|---|
| [92d756] | 23 |   virtual std::vector<molecule*> findAll();
 | 
|---|
| [97445f] | 24 |   virtual std::vector<const molecule*> findAll() const;
 | 
|---|
| [ea7a50] | 25 | 
 | 
|---|
 | 26 |   World::MoleculeSet& getMolecules();
 | 
|---|
| [97445f] | 27 |   const World::MoleculeSet& getMolecules() const;
 | 
|---|
| [ea7a50] | 28 | 
 | 
|---|
| [92d756] | 29 | private:
 | 
|---|
 | 30 |   int id;
 | 
|---|
 | 31 | };
 | 
|---|
 | 32 | 
 | 
|---|
 | 33 | #endif //MOLECULEORDERDESCRIPTOR_IMPL_HPP
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.