Defines | Functions

ie_imp_XML.cpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ut_types.h"
#include "ut_assert.h"
#include "ut_misc.h"
#include "ut_debugmsg.h"
#include "ut_string.h"
#include "ut_bytebuf.h"
#include "ut_string_class.h"
#include "pd_Document.h"
#include "pd_DocumentRDF.h"
#include "ap_Prefs.h"
#include "ie_imp_XML.h"
#include "ie_types.h"

Defines

#define DEBUG_RDF_IO   1
#define X_TestParseState(ps)   ((m_parseState==(ps)))
#define X_VerifyParseState(ps)
#define X_CheckDocument(b)
#define X_CheckError(v)
#define X_EatIfAlreadyError()   do { if (m_error) return; } while (0)
#define MyIsWhite(c)   (((c)==' ') || ((c)=='\t') || ((c)=='\n') || ((c)=='\r'))

Functions

static int s_str_compare (const void *a, const void *b)

Define Documentation

#define DEBUG_RDF_IO   1
#define MyIsWhite (   c  )     (((c)==' ') || ((c)=='\t') || ((c)=='\n') || ((c)=='\r'))
#define X_CheckDocument (   b  ) 
Value:
do {  if (!(b))                             \
                                      {  m_error = UT_IE_BOGUSDOCUMENT; \
                                         return; } } while (0)
#define X_CheckError (   v  ) 
Value:
do {  if (!(v))                             \
                                      {  m_error = UT_ERROR;            \
UT_ASSERT_HARMLESS(0); \
                                         return; } } while (0)

Referenced by IE_Imp_XML::charData().

#define X_EatIfAlreadyError (  )     do { if (m_error) return; } while (0)
#define X_TestParseState (   ps  )     ((m_parseState==(ps)))
#define X_VerifyParseState (   ps  ) 
Value:
do {  if (!(X_TestParseState(ps)))          \
                                      {  m_error = UT_IE_BOGUSDOCUMENT; \
                                         return; } } while (0)

Function Documentation

static int s_str_compare ( const void *  a,
const void *  b 
) [static]