CASToR  2.0
Tomographic Reconstruction (PET/SPECT/CT)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Read check keyword

Keywords to check whether reading in text file was successful or not
Defined in gOptions.hh. More...

Macros

#define KEYWORD_MANDATORY   true
 
#define KEYWORD_OPTIONAL   false
 
#define KEYWORD_MANDATORY_NOT_FOUND   1
 
#define KEYWORD_OPTIONAL_SUCCESS   0
 
#define KEYWORD_OPTIONAL_ERROR   1
 
#define KEYWORD_OPTIONAL_NOT_FOUND   2
 

Detailed Description

Keywords to check whether reading in text file was successful or not
Defined in gOptions.hh.

Macro Definition Documentation

#define KEYWORD_MANDATORY   true

Constant corresponding to a mandatory field, which has to be recovered from a file (=true)

Definition at line 48 of file gOptions.hh.

#define KEYWORD_MANDATORY_NOT_FOUND   1

Constant corresponding to the case of a mandatory keyword not found (=1)

Definition at line 52 of file gOptions.hh.

#define KEYWORD_OPTIONAL   false

Constant corresponding to an optional field, not necessary to be recovered from a file (=false)

Definition at line 50 of file gOptions.hh.

#define KEYWORD_OPTIONAL_ERROR   1

Constant corresponding to the case of an optional keyword rising an error (=1)

Definition at line 56 of file gOptions.hh.

#define KEYWORD_OPTIONAL_NOT_FOUND   2

Constant corresponding to the case of an optional keyword not found (=2)

Definition at line 58 of file gOptions.hh.

#define KEYWORD_OPTIONAL_SUCCESS   0

Constant corresponding to the case of an optional keyword read with success (=0)

Definition at line 54 of file gOptions.hh.