Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
xmlrole.cc File Reference
#include <stddef.h>
#include "expat_external.h"
#include "internal.h"
#include "xmlrole.h"
#include "ascii.h"

Go to the source code of this file.

Macros

#define MIN_BYTES_PER_CHAR(enc)   ((enc)->minBytesPerChar)
 
#define setTopLevel(state)   ((state)->handler = internalSubset)
 

Typedefs

typedef int PTRCALL PROLOG_HANDLER(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc)
 

Functions

void XmlPrologStateInit (PROLOG_STATE *state)
 

Macro Definition Documentation

◆ MIN_BYTES_PER_CHAR

#define MIN_BYTES_PER_CHAR (   enc)    ((enc)->minBytesPerChar)

Definition at line 93 of file xmlrole.cc.

◆ setTopLevel

#define setTopLevel (   state)    ((state)->handler = internalSubset)

Definition at line 102 of file xmlrole.cc.

Typedef Documentation

◆ PROLOG_HANDLER

typedef int PTRCALL PROLOG_HANDLER(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc)

Definition at line 105 of file xmlrole.cc.

Function Documentation

◆ XmlPrologStateInit()

void XmlPrologStateInit ( PROLOG_STATE state)

Definition at line 1320 of file xmlrole.cc.

1321{
1322 state->handler = prolog0;
1323#ifdef XML_DTD
1324 state->documentEntity = 1;
1325 state->includeLevel = 0;
1326 state->inEntityValue = 0;
1327#endif /* XML_DTD */
1328}