source: src/Parameters/Validators/Ops_Validator.hpp@ 97dff0

Last change on this file since 97dff0 was 33d0af, checked in by Frederik Heber <heber@…>, 13 years ago
Ops_Validators: new operators (&&,
, !)
  • created a unittest for the new Validator operators
  • Property mode set to 100644
File size: 683 bytes
Line 
1/*
2 * Ops_Validator.hpp
3 *
4 * Created on: May 9, 2012
5 * Author: ankele
6 */
7
8#ifndef OPS_VALIDATOR_HPP_
9#define OPS_VALIDATOR_HPP_
10
11
12
13
14// include config.h
15#ifdef HAVE_CONFIG_H
16#include <config.h>
17#endif
18
19#include "Validator.hpp"
20
21
22template <class T>
23class And_Validator;
24template <class T>
25class Or_Validator;
26template <class T>
27class Not_Validator;
28
29template <class T>
30And_Validator<T> operator&&(const Validator<T> &a, const Validator<T> &b);
31template <class T>
32Or_Validator<T> operator||(const Validator<T> &a, const Validator<T> &b);
33template <class T>
34Not_Validator<T> operator!(const Validator<T> &a);
35
36
37#include "Ops_Validator_impl.hpp"
38
39#endif /* OPS_VALIDATOR_HPP_ */
Note: See TracBrowser for help on using the repository browser.