/* * MoleculeOfAtomSelectionDescriptor_impl.hpp * * Created on: Jul 16, 2010 * Author: crueger */ #ifndef MOLECULEOFATOMSELECTIONDESCRIPTOR_IMPL_HPP_ #define MOLECULEOFATOMSELECTIONDESCRIPTOR_IMPL_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "Descriptors/MoleculeDescriptor_impl.hpp" class MoleculeOfAtomSelectionDescriptor_impl : public MoleculeDescriptor_impl{ public: MoleculeOfAtomSelectionDescriptor_impl(); virtual ~MoleculeOfAtomSelectionDescriptor_impl(); bool predicate(const std::pair molecule) const; protected: // need to overide more than the standard methods to make this fast virtual molecule *find(); virtual const molecule *find() const; virtual std::vector findAll(); virtual std::vector findAll() const; World::AtomSet& getSelectedAtoms(); const World::AtomSet& getSelectedAtoms() const; }; #endif /* MOLECULEOFATOMSELECTIONDESCRIPTOR_IMPL_HPP_ */