/* * MoleculeIdValidator.hpp * * Created on: May 10, 2012 * Author: heber */ #ifndef MOLECULEIDVALIDATOR_HPP_ #define MOLECULEIDVALIDATOR_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "types.hpp" #include "Parameters/Validators/Validator.hpp" /** This validator checks whether the given molecule id refers to one molecule * currently present in the World. */ class MoleculeIdValidator : public Validator { bool isValid(const moleculeId_t & _value) const; bool operator==(const Validator &_instance) const; Validator< moleculeId_t >* clone() const; }; #endif /* MOLECULEIDVALIDATOR_HPP_ */