SegFault_gcc4.6
      
      
        
          | Last change
 on this file since 15c75f8 was             56f73b, checked in by Frederik Heber <heber@…>, 15 years ago | 
        
          | 
Added config.h also to all header files, code check test ascertain this in the future.
 as we want to use config.h to pass stuff such as MEMDEBUG, NDEBUG,
LOG_OBSERVER, we have to make sure that it is present in each and every
file.
split up CodeChecks/testsuite.at: each test has its own .at file.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            579 bytes | 
      
      
| Rev | Line |  | 
|---|
| [57adc7] | 1 | #ifndef MOLECULEIDDESCRIPTOR_IMPL_HPP | 
|---|
|  | 2 | #define MOLECULEIDDESCRIPTOR_IMPL_HPP | 
|---|
|  | 3 |  | 
|---|
| [56f73b] | 4 | // include config.h | 
|---|
|  | 5 | #ifdef HAVE_CONFIG_H | 
|---|
|  | 6 | #include <config.h> | 
|---|
|  | 7 | #endif | 
|---|
|  | 8 |  | 
|---|
|  | 9 |  | 
|---|
| [57adc7] | 10 | #include "Descriptors/MoleculeDescriptor_impl.hpp" | 
|---|
|  | 11 |  | 
|---|
|  | 12 | class MoleculeIdDescriptor_impl : public MoleculeDescriptor_impl | 
|---|
|  | 13 | { | 
|---|
|  | 14 | public: | 
|---|
|  | 15 | MoleculeIdDescriptor_impl(moleculeId_t _id); | 
|---|
|  | 16 | virtual ~MoleculeIdDescriptor_impl(); | 
|---|
|  | 17 |  | 
|---|
|  | 18 | bool predicate(std::pair<moleculeId_t,molecule*> molecule); | 
|---|
|  | 19 |  | 
|---|
|  | 20 | protected: | 
|---|
|  | 21 | virtual molecule *find(); | 
|---|
|  | 22 | virtual std::vector<molecule*> findAll(); | 
|---|
|  | 23 | private: | 
|---|
|  | 24 | moleculeId_t id; | 
|---|
|  | 25 | }; | 
|---|
|  | 26 |  | 
|---|
|  | 27 | #endif //MOLECULEIDDESCRIPTOR_IMPL_HPP | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.