source: src/Parameters/Validators/Specific/TimeStepPresentValidator.hpp

Candidate_v1.6.1
Last change on this file was 4d4777, checked in by Frederik Heber <heber@…>, 13 years ago

TimeStepPresentValidator implemented (using trajectories)

  • Property mode set to 100644
File size: 651 bytes
Line 
1/*
2 * TimeStepPresentValidator.hpp
3 *
4 * Created on: May 10, 2012
5 * Author: heber
6 */
7
8#ifndef TIMESTEPPRESENTVALIDATOR_HPP_
9#define TIMESTEPPRESENTVALIDATOR_HPP_
10
11
12// include config.h
13#ifdef HAVE_CONFIG_H
14#include <config.h>
15#endif
16
17#include "Parameters/Validators/Validator.hpp"
18
19/** This validator checks whether the given time step is present in the World.
20 *
21 */
22class TimeStepPresentValidator : public Validator<unsigned int>
23{
24 bool isValid(const unsigned int & _value) const;
25 bool operator==(const Validator<unsigned int> &_instance) const;
26 Validator< unsigned int >* clone() const;
27};
28
29
30#endif /* TIMESTEPPRESENTVALIDATOR_HPP_ */
Note: See TracBrowser for help on using the repository browser.