SCIP Doxygen Documentation
Loading...
Searching...
No Matches

Detailed Description

definitions for XML parsing

declarations for XML parsing

Author
Thorsten Koch
Marc Pfetsch
Thorsten Koch
Marc Pfetsch

If SPEC_LIKE_SPACE_HANDLING is not defined, all LF,CR will be changed into spaces and from a sequence of spaces only one will be used.

Definition in file xmldef.h.

Go to the source code of this file.

Macros

#define XML_Bool   unsigned int
#define TRUE   1
#define FALSE   0
#define FOPEN(file, mode)
#define FCLOSE(fp)
#define FGETS(buf, len, fp)
#define FREAD(buf, len, fp)
#define FPTYPE   FILE*
#define ALLOC_ABORT(x)
#define ALLOC_FALSE(x)
#define debug(x)
#define debugMessage   while( FALSE ) printf
#define debugPrintf   while( FALSE ) printf
#define infoMessage   printf

Macro Definition Documentation

◆ XML_Bool

#define XML_Bool   unsigned int

type used for boolean values

Definition at line 42 of file xmldef.h.

Referenced by doComment(), popPstack(), procInTag(), pushPstack(), xmlErrmsg(), xmlParse(), and xmlProcess().

◆ TRUE

#define TRUE   1

boolean value TRUE

Definition at line 46 of file xmldef.h.

◆ FALSE

#define FALSE   0

boolean value FALSE

Definition at line 47 of file xmldef.h.

◆ FOPEN

#define FOPEN ( file,
mode )
Value:
fopen(file, mode)

Definition at line 61 of file xmldef.h.

Referenced by xmlProcess().

◆ FCLOSE

#define FCLOSE ( fp)
Value:
fclose(fp)

Definition at line 62 of file xmldef.h.

Referenced by xmlProcess().

◆ FGETS

#define FGETS ( buf,
len,
fp )
Value:
fgets(buf, len, fp) /*lint !e755 */

Definition at line 63 of file xmldef.h.

Referenced by mygetc().

◆ FREAD

#define FREAD ( buf,
len,
fp )
Value:
fread(buf, 1, len, fp)

Definition at line 64 of file xmldef.h.

Referenced by mygetc().

◆ FPTYPE

#define FPTYPE   FILE*

Definition at line 65 of file xmldef.h.

◆ ALLOC_ABORT

#define ALLOC_ABORT ( x)
Value:
do \
{ \
if( NULL == (x) ) \
{ \
printf("[%s:%d] No memory in function call\n", __FILE__, __LINE__); \
abort(); \
} \
} \
while( FALSE )
SCIP_VAR ** x
#define NULL
Definition def.h:266
#define FALSE
Definition def.h:94

Definition at line 70 of file xmldef.h.

◆ ALLOC_FALSE

#define ALLOC_FALSE ( x)
Value:
do \
{ \
if( NULL == (x) ) \
{ \
printf("[%s:%d] No memory in function call\n", __FILE__, __LINE__); \
return FALSE; \
} \
} \
while( FALSE )

Definition at line 82 of file xmldef.h.

◆ debug

#define debug ( x)

Definition at line 98 of file xmldef.h.

◆ debugMessage

#define debugMessage   while( FALSE ) printf

Definition at line 99 of file xmldef.h.

◆ debugPrintf

#define debugPrintf   while( FALSE ) printf

Definition at line 100 of file xmldef.h.

◆ infoMessage

#define infoMessage   printf

Definition at line 104 of file xmldef.h.