Candidate_v1.7.0
        stable
      
      
      
| Rev | Line |   | 
|---|
| [23958d] | 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 | 
 | 
|---|
| [4d4777] | 17 | #include "Parameters/Validators/Validator.hpp"
 | 
|---|
| [23958d] | 18 | 
 | 
|---|
 | 19 | /** This validator checks whether the given time step is present in the World.
 | 
|---|
 | 20 |  *
 | 
|---|
 | 21 |  */
 | 
|---|
| [4d4777] | 22 | class 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 | };
 | 
|---|
| [23958d] | 28 | 
 | 
|---|
 | 29 | 
 | 
|---|
 | 30 | #endif /* TIMESTEPPRESENTVALIDATOR_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.