Candidate_v1.7.0
        stable
      
      
      
| Rev | Line |   | 
|---|
| [cf373b] | 1 | /*
 | 
|---|
 | 2 |  * ShapeOpValidator.hpp
 | 
|---|
 | 3 |  *
 | 
|---|
 | 4 |  *  Created on: Oct 1, 2012
 | 
|---|
 | 5 |  *      Author: ankele
 | 
|---|
 | 6 |  */
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | #ifndef SHAPEOPVALIDATOR_HPP_
 | 
|---|
 | 9 | #define SHAPEOPVALIDATOR_HPP_
 | 
|---|
 | 10 | 
 | 
|---|
 | 11 | 
 | 
|---|
 | 12 | // include config.h
 | 
|---|
 | 13 | #ifdef HAVE_CONFIG_H
 | 
|---|
 | 14 | #include <config.h>
 | 
|---|
 | 15 | #endif
 | 
|---|
 | 16 | 
 | 
|---|
 | 17 | #include <string>
 | 
|---|
 | 18 | 
 | 
|---|
 | 19 | #include "Parameters/Validators/DiscreteValidator.hpp"
 | 
|---|
 | 20 | 
 | 
|---|
 | 21 | /** This validator checks whether the given string is a shape type
 | 
|---|
 | 22 |  * (i.e. "sphere" etc).
 | 
|---|
 | 23 |  */
 | 
|---|
 | 24 | class ShapeOpValidator : public DiscreteValidator<std::string>
 | 
|---|
 | 25 | {
 | 
|---|
| [25f8f7] | 26 | public:
 | 
|---|
| [cf373b] | 27 |   ShapeOpValidator();
 | 
|---|
 | 28 | };
 | 
|---|
 | 29 | 
 | 
|---|
 | 30 | 
 | 
|---|
 | 31 | #endif /* SHAPEOPVALIDATOR_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.