Ignore:
Timestamp:
Feb 16, 2010, 4:24:07 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
120f8b
Parents:
973c03
Message:

Rebuilt AtomDescriptors using PIMPL-Idiom and added unittest for descriptors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Descriptors/AtomIdDescriptor.hpp

    r973c03 r323177  
    1111#include "Descriptors/AtomDescriptor.hpp"
    1212
    13 class AtomIdDescriptor : public AtomDescriptor
    14 {
    15 public:
    16   AtomIdDescriptor(int _id);
    17   virtual ~AtomIdDescriptor();
    18 
    19   bool predicate(std::pair<int,atom*> atom);
    20 
    21   virtual desc_ptr clone() const;
    22 
    23 protected:
    24 #if 0
    25   atom *find();
    26   std::vector<atom*> findAll();
    27 #endif
    28 private:
    29   int id;
    30 };
     13AtomDescriptor AtomById(int id);
    3114
    3215#endif /* ATOMIDDESCRIPTOR_HPP_ */
Note: See TracChangeset for help on using the changeset viewer.