/* * RandomNumberValidators.hpp * * Created on: May 10, 2012 * Author: heber */ #ifndef RANDOMNUMBERVALIDATORS_HPP_ #define RANDOMNUMBERVALIDATORS_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include "Parameters/Validators/DiscreteValidator.hpp" /** This validator checks whether the given string contains the name of a * present \ref RandomNumberDistribution. */ class RandomNumberDistributionNameValidator : public DiscreteValidator { public: RandomNumberDistributionNameValidator(); bool isValid(const std::string & _value) const; const std::vector &getValidValues() const; bool operator==(const Validator &_instance) const; Validator< std::string >* clone() const; private: mutable std::vector currentList; }; /** This validator checks whether the given string contains the name of a * present \ref RandomNumberEngine. */ class RandomNumberEngineNameValidator : public DiscreteValidator { public: RandomNumberEngineNameValidator(); bool isValid(const std::string & _value) const; const std::vector &getValidValues() const; bool operator==(const Validator &_instance) const; Validator< std::string >* clone() const; private: mutable std::vector currentList; }; #endif /* RANDOMNUMBERVALIDATORs_HPP_ */