Bridge++
Ver. 1.1.x
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
checker.h
Go to the documentation of this file.
1
14
15
23
#ifndef CHECKER_INCLUDED
24
#define CHECKER_INCLUDED
25
26
#include "
commonParameters.h
"
27
28
#include "
bridgeIO.h
"
29
using
Bridge::vout
;
30
31
namespace
ParameterCheck
32
{
33
typedef
bool (*
valid_double
)(
const
double);
34
typedef
bool (*
valid_int
)(
const
int);
35
typedef
bool (*
valid_double_vector
)(
const
std::valarray<double>&);
36
typedef
bool (*
valid_int_vector
)(
const
std::valarray<int>&);
37
typedef
bool (*
valid_string
)(
const
std::string&);
38
39
int
non_negative
(
const
int
v);
40
int
non_zero
(
const
int
v);
41
int
non_zero
(
const
double
v);
42
int
square_non_zero
(
const
double
v);
43
int
non_NULL
(
const
std::string v);
44
}
45
#endif
src
Parameters
checker.h
Generated on Tue Jul 23 2013 10:48:49 for Bridge++ by
1.8.3.1