Scippy

SCIP

Solving Constraint Integer Programs

xmldef.h File Reference

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)   fopen(file, mode)
 
#define FCLOSE(fp)   fclose(fp)
 
#define FGETS(buf, len, fp)   fgets(buf, len, fp)
 
#define FREAD(buf, len, fp)   fread(buf, 1, 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

#define XML_Bool   unsigned int

type used for boolean values

Definition at line 33 of file xmldef.h.

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

#define TRUE   1

boolean value TRUE

Definition at line 37 of file xmldef.h.

#define FALSE   0

boolean value FALSE

Definition at line 38 of file xmldef.h.

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

Definition at line 51 of file xmldef.h.

Referenced by xmlProcess().

#define FCLOSE (   fp)    fclose(fp)

Definition at line 52 of file xmldef.h.

Referenced by xmlProcess().

#define FGETS (   buf,
  len,
  fp 
)    fgets(buf, len, fp)

Definition at line 53 of file xmldef.h.

Referenced by mygetc().

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

Definition at line 54 of file xmldef.h.

Referenced by mygetc().

#define FPTYPE   FILE*

Definition at line 55 of file xmldef.h.

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

Definition at line 60 of file xmldef.h.

#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 72 of file xmldef.h.

#define debug (   x)

Definition at line 88 of file xmldef.h.

#define debugMessage   while( FALSE ) printf

Definition at line 89 of file xmldef.h.

#define debugPrintf   while( FALSE ) printf

Definition at line 90 of file xmldef.h.

#define infoMessage   printf

Definition at line 94 of file xmldef.h.