Bridge++  Ver. 2.0.2
ParameterCheck Namespace Reference

Typedefs

typedef bool(* valid_double) (const double)
 
typedef bool(* valid_int) (const int)
 
typedef bool(* valid_double_vector) (const std::vector< double > &)
 
typedef bool(* valid_int_vector) (const std::vector< int > &)
 
typedef bool(* valid_string) (const std::string &)
 

Functions

int non_negative (const int v)
 
int non_zero (const double v)
 
int square_non_zero (const double v)
 
int non_zero (const int v)
 
int non_NULL (const std::string v)
 
int is_satisfied (const bool cond)
 

Variables

Bridge::VerboseLevel vl
 

Typedef Documentation

◆ valid_double

typedef bool(* ParameterCheck::valid_double) (const double)

Definition at line 33 of file parameterCheck.h.

◆ valid_double_vector

typedef bool(* ParameterCheck::valid_double_vector) (const std::vector< double > &)

Definition at line 35 of file parameterCheck.h.

◆ valid_int

typedef bool(* ParameterCheck::valid_int) (const int)

Definition at line 34 of file parameterCheck.h.

◆ valid_int_vector

typedef bool(* ParameterCheck::valid_int_vector) (const std::vector< int > &)

Definition at line 36 of file parameterCheck.h.

◆ valid_string

typedef bool(* ParameterCheck::valid_string) (const std::string &)

Definition at line 37 of file parameterCheck.h.

Function Documentation

◆ is_satisfied()

int ParameterCheck::is_satisfied ( const bool  cond)

Definition at line 76 of file parameterCheck.cpp.

◆ non_negative()

int ParameterCheck::non_negative ( const int  v)

Definition at line 21 of file parameterCheck.cpp.

◆ non_NULL()

int ParameterCheck::non_NULL ( const std::string  v)

Definition at line 65 of file parameterCheck.cpp.

◆ non_zero() [1/2]

int ParameterCheck::non_zero ( const double  v)

Definition at line 32 of file parameterCheck.cpp.

◆ non_zero() [2/2]

int ParameterCheck::non_zero ( const int  v)

Definition at line 54 of file parameterCheck.cpp.

◆ square_non_zero()

int ParameterCheck::square_non_zero ( const double  v)

Definition at line 43 of file parameterCheck.cpp.

Variable Documentation

◆ vl

Bridge::VerboseLevel ParameterCheck::vl

Definition at line 18 of file parameterCheck.cpp.