CASToR  3.0
Tomographic Reconstruction (PET/SPECT/CT)
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

◆ KEYWORD_MANDATORY

#define KEYWORD_MANDATORY   true

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

Definition at line 47 of file gOptions.hh.

◆ KEYWORD_MANDATORY_NOT_FOUND

#define KEYWORD_MANDATORY_NOT_FOUND   1

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

Definition at line 51 of file gOptions.hh.

◆ KEYWORD_OPTIONAL

#define KEYWORD_OPTIONAL   false

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

Definition at line 49 of file gOptions.hh.

◆ KEYWORD_OPTIONAL_ERROR

#define KEYWORD_OPTIONAL_ERROR   1

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

Definition at line 55 of file gOptions.hh.

◆ KEYWORD_OPTIONAL_NOT_FOUND

#define KEYWORD_OPTIONAL_NOT_FOUND   2

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

Definition at line 57 of file gOptions.hh.

◆ KEYWORD_OPTIONAL_SUCCESS

#define KEYWORD_OPTIONAL_SUCCESS   0

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

Definition at line 53 of file gOptions.hh.