SegFault_gcc4.6
      
      
        
          | Last change
 on this file since 15c75f8 was             b49568, checked in by Frederik Heber <heber@…>, 14 years ago | 
        
          | 
Added new descriptor AtomOfMolecule.
 also added new unit test function.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            500 bytes | 
      
      
| Rev | Line |  | 
|---|
| [b49568] | 1 | #ifndef ATOMOFMOLECULEDESCRIPTOR_IMPL_HPP | 
|---|
|  | 2 | #define ATOMOFMOLECULEDESCRIPTOR_IMPL_HPP | 
|---|
|  | 3 |  | 
|---|
|  | 4 | // include config.h | 
|---|
|  | 5 | #ifdef HAVE_CONFIG_H | 
|---|
|  | 6 | #include <config.h> | 
|---|
|  | 7 | #endif | 
|---|
|  | 8 |  | 
|---|
|  | 9 |  | 
|---|
|  | 10 | #include "Descriptors/AtomDescriptor_impl.hpp" | 
|---|
|  | 11 |  | 
|---|
|  | 12 | class AtomOfMoleculeDescriptor_impl : public AtomDescriptor_impl | 
|---|
|  | 13 | { | 
|---|
|  | 14 | public: | 
|---|
|  | 15 | AtomOfMoleculeDescriptor_impl(moleculeId_t _id); | 
|---|
|  | 16 | virtual ~AtomOfMoleculeDescriptor_impl(); | 
|---|
|  | 17 |  | 
|---|
|  | 18 | bool predicate(std::pair<atomId_t,atom*> atom); | 
|---|
|  | 19 |  | 
|---|
|  | 20 | private: | 
|---|
|  | 21 | moleculeId_t id; | 
|---|
|  | 22 | }; | 
|---|
|  | 23 |  | 
|---|
|  | 24 | #endif //ATOMOFMOLECULEDESCRIPTOR_IMPL_HPP | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.