/* * ShapeNameValidator.hpp * * Created on: Sep 6, 2012 * Author: ankele */ #ifndef SHAPENAMEVALIDATOR_HPP_ #define SHAPENAMEVALIDATOR_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include "Parameters/Validators/Validator.hpp" /** This validator checks whether the given \ref Vector's components are * all in [0,1]. */ class ShapeNameValidator : public Validator { bool isValid(const std::string & _value) const; bool operator==(const Validator &_instance) const; Validator< std::string >* clone() const; }; #endif /* SHAPENAMEVALIDATOR_HPP_ */