Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since 7a434f was             a58c16, checked in by Frederik Heber <heber@…>, 10 years ago | 
        
          | 
Replaced World::getAllAtoms() by const version where possible.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            508 bytes | 
      
      
| Rev | Line |  | 
|---|
| [a58c16] | 1 | #ifndef ATOMNAMEDESCRIPTOR_IMPL_HPP | 
|---|
|  | 2 | #define ATOMNAMEDESCRIPTOR_IMPL_HPP | 
|---|
|  | 3 |  | 
|---|
|  | 4 | // include config.h | 
|---|
|  | 5 | #ifdef HAVE_CONFIG_H | 
|---|
|  | 6 | #include <config.h> | 
|---|
|  | 7 | #endif | 
|---|
|  | 8 |  | 
|---|
|  | 9 | #include <string> | 
|---|
|  | 10 |  | 
|---|
|  | 11 | #include "Descriptors/AtomDescriptor_impl.hpp" | 
|---|
|  | 12 |  | 
|---|
|  | 13 | class AtomNameDescriptor_impl : public AtomDescriptor_impl | 
|---|
|  | 14 | { | 
|---|
|  | 15 | public: | 
|---|
|  | 16 | AtomNameDescriptor_impl(const std::string _name); | 
|---|
|  | 17 | virtual ~AtomNameDescriptor_impl(); | 
|---|
|  | 18 |  | 
|---|
|  | 19 | bool predicate(std::pair<atomId_t,const atom*> atom) const; | 
|---|
|  | 20 |  | 
|---|
|  | 21 | private: | 
|---|
|  | 22 | const std::string name; | 
|---|
|  | 23 | }; | 
|---|
|  | 24 |  | 
|---|
|  | 25 | #endif //ATOMNAMEDESCRIPTOR_IMPL_HPP | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.