Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since 399c69 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:
            528 bytes | 
      
      
| Line |  | 
|---|
| 1 | #ifndef MOLECULENAMEDESCRIPTOR_IMPL_HPP | 
|---|
| 2 | #define MOLECULENAMEDESCRIPTOR_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 |  | 
|---|
| 12 | class MoleculeNameDescriptor_impl : public MoleculeDescriptor_impl | 
|---|
| 13 | { | 
|---|
| 14 | public: | 
|---|
| 15 | MoleculeNameDescriptor_impl(std::string _name); | 
|---|
| 16 | virtual ~MoleculeNameDescriptor_impl(); | 
|---|
| 17 |  | 
|---|
| 18 | bool predicate(const std::pair<moleculeId_t,const molecule*> molecule) const; | 
|---|
| 19 |  | 
|---|
| 20 | private: | 
|---|
| 21 | std::string name; | 
|---|
| 22 | }; | 
|---|
| 23 |  | 
|---|
| 24 | #endif //MOLECULENAMEDESCRIPTOR_IMPL_HPP | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.