| 
            Last change
 on this file since 6ef48c was             ea7a50, checked in by Frederik Heber <heber@…>, 14 years ago           | 
        
        
          | 
             
Rewrote some of the descriptors such that they access World's AtomSet and MoleculeSet directly. 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            516 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 | 
 | 
|---|
| 12 | class molecule;
 | 
|---|
| 13 | 
 | 
|---|
| 14 | class MoleculePtrDescriptor_impl : public MoleculeDescriptor_impl
 | 
|---|
| 15 | {
 | 
|---|
| 16 | public:
 | 
|---|
| 17 |   MoleculePtrDescriptor_impl(molecule * ptr);
 | 
|---|
| 18 |   virtual ~MoleculePtrDescriptor_impl();
 | 
|---|
| 19 | 
 | 
|---|
| 20 |   bool predicate(std::pair<moleculeId_t,molecule*> molecule);
 | 
|---|
| 21 | 
 | 
|---|
| 22 | private:
 | 
|---|
| 23 |   molecule * ptr;
 | 
|---|
| 24 | };
 | 
|---|
| 25 | 
 | 
|---|
| 26 | #endif //MOLECULEPTRDESCRIPTOR_IMPL_HPP
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.