Geant4
10.00.p02
|
#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 | |
static int FASTCALL | common (PROLOG_STATE *state, int tok) |
static int PTRCALL | prolog0 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | prolog1 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | prolog2 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | doctype0 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | doctype1 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | doctype2 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | doctype3 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | doctype4 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | doctype5 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | internalSubset (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | entity0 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | entity1 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | entity2 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | entity3 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | entity4 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | entity5 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | entity6 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | entity7 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | entity8 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | entity9 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | entity10 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | notation0 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | notation1 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | notation2 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | notation3 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | notation4 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | attlist0 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | attlist1 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | attlist2 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | attlist3 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | attlist4 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | attlist5 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | attlist6 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | attlist7 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | attlist8 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | attlist9 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | element0 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | element1 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | element2 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | element3 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | element4 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | element5 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | element6 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | element7 (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | declClose (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
static int PTRCALL | error (PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
void | XmlPrologStateInit (PROLOG_STATE *state) |
#define MIN_BYTES_PER_CHAR | ( | enc | ) | ((enc)->minBytesPerChar) |
Definition at line 89 of file xmlrole.cc.
Referenced by attlist8(), element2(), internalSubset(), prolog0(), and prolog1().
#define setTopLevel | ( | state | ) | ((state)->handler = internalSubset) |
Definition at line 98 of file xmlrole.cc.
Referenced by attlist1(), declClose(), entity10(), entity5(), and notation4().
typedef int PTRCALL PROLOG_HANDLER(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) |
Definition at line 101 of file xmlrole.cc.
|
static |
Definition at line 754 of file xmlrole.cc.
References attlist1, and common().
|
static |
Definition at line 772 of file xmlrole.cc.
References attlist2, common(), and setTopLevel.
|
static |
Definition at line 793 of file xmlrole.cc.
References attlist3, attlist5, attlist8, common(), KW_CDATA, KW_ENTITIES, KW_ENTITY, KW_ID, KW_IDREF, KW_IDREFS, KW_NMTOKEN, KW_NMTOKENS, and KW_NOTATION.
|
static |
Definition at line 834 of file xmlrole.cc.
References attlist4, and common().
|
static |
Definition at line 853 of file xmlrole.cc.
References attlist3, attlist8, and common().
|
static |
Definition at line 873 of file xmlrole.cc.
References attlist6, and common().
|
static |
Definition at line 890 of file xmlrole.cc.
References attlist7, and common().
|
static |
Definition at line 907 of file xmlrole.cc.
References attlist6, attlist8, and common().
|
static |
Definition at line 928 of file xmlrole.cc.
References attlist1, attlist9, common(), KW_FIXED, KW_IMPLIED, KW_REQUIRED, and MIN_BYTES_PER_CHAR.
|
static |
Definition at line 968 of file xmlrole.cc.
References attlist1, and common().
|
static |
Definition at line 1305 of file xmlrole.cc.
References error.
Referenced by attlist0(), attlist1(), attlist2(), attlist3(), attlist4(), attlist5(), attlist6(), attlist7(), attlist8(), attlist9(), declClose(), doctype0(), doctype1(), doctype2(), doctype3(), doctype4(), doctype5(), element0(), element1(), element2(), element3(), element4(), element5(), element6(), element7(), entity0(), entity1(), entity10(), entity2(), entity3(), entity4(), entity5(), entity6(), entity7(), entity8(), entity9(), internalSubset(), notation0(), notation1(), notation2(), notation3(), notation4(), prolog0(), prolog1(), and prolog2().
|
static |
Definition at line 1278 of file xmlrole.cc.
References common(), and setTopLevel.
|
static |
Definition at line 217 of file xmlrole.cc.
References common(), and doctype1.
|
static |
Definition at line 235 of file xmlrole.cc.
References common(), doctype2, doctype3, internalSubset, KW_PUBLIC, KW_SYSTEM, and prolog2.
|
static |
Definition at line 265 of file xmlrole.cc.
References common(), and doctype3.
|
static |
Definition at line 282 of file xmlrole.cc.
References common(), and doctype4.
|
static |
Definition at line 299 of file xmlrole.cc.
References common(), internalSubset, and prolog2.
|
static |
Definition at line 319 of file xmlrole.cc.
References common(), and prolog2.
|
static |
Definition at line 985 of file xmlrole.cc.
References common(), and element1.
|
static |
|
static |
Definition at line 1033 of file xmlrole.cc.
References common(), element3, element6, element7, KW_PCDATA, and MIN_BYTES_PER_CHAR.
|
static |
Definition at line 1073 of file xmlrole.cc.
References common(), declClose, and element4.
|
static |
Definition at line 1098 of file xmlrole.cc.
References common(), and element5.
|
static |
Definition at line 1116 of file xmlrole.cc.
References common(), declClose, and element4.
|
static |
Definition at line 1137 of file xmlrole.cc.
References common(), and element7.
|
static |
Definition at line 1167 of file xmlrole.cc.
References common(), declClose, and element6.
|
static |
Definition at line 438 of file xmlrole.cc.
References common(), entity1, and entity2.
|
static |
Definition at line 458 of file xmlrole.cc.
References common(), and entity7.
|
static |
Definition at line 640 of file xmlrole.cc.
References common(), and setTopLevel.
|
static |
|
static |
Definition at line 503 of file xmlrole.cc.
References common(), and entity4.
|
static |
Definition at line 520 of file xmlrole.cc.
References common(), and entity5.
|
static |
Definition at line 537 of file xmlrole.cc.
References common(), entity6, KW_NDATA, and setTopLevel.
|
static |
Definition at line 560 of file xmlrole.cc.
References common(), and declClose.
|
static |
|
static |
Definition at line 606 of file xmlrole.cc.
References common(), and entity9.
|
static |
Definition at line 623 of file xmlrole.cc.
References common(), and entity10.
|
static |
Definition at line 1295 of file xmlrole.cc.
|
static |
Definition at line 336 of file xmlrole.cc.
References attlist0, common(), doctype5, element0, entity0, KW_ATTLIST, KW_ELEMENT, KW_ENTITY, KW_NOTATION, MIN_BYTES_PER_CHAR, and notation0.
|
static |
Definition at line 657 of file xmlrole.cc.
References common(), and notation1.
|
static |
|
static |
Definition at line 698 of file xmlrole.cc.
References common(), and notation4.
|
static |
Definition at line 715 of file xmlrole.cc.
References common(), and declClose.
|
static |
Definition at line 733 of file xmlrole.cc.
References common(), declClose, and setTopLevel.
|
static |
Definition at line 128 of file xmlrole.cc.
References common(), doctype0, error, KW_DOCTYPE, MIN_BYTES_PER_CHAR, and prolog1.
|
static |
Definition at line 165 of file xmlrole.cc.
References common(), doctype0, error, KW_DOCTYPE, and MIN_BYTES_PER_CHAR.
|
static |
Definition at line 196 of file xmlrole.cc.
References common(), and error.
void XmlPrologStateInit | ( | PROLOG_STATE * | state | ) |
Definition at line 1316 of file xmlrole.cc.
References prolog0.
Referenced by parserInit().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by attlist0(), attlist8(), and attlist9().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by attlist1().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by attlist2(), and attlist4().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by attlist3().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by attlist5(), and attlist7().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by attlist6().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by attlist2(), attlist4(), and attlist7().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by attlist8().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by element1(), element3(), element5(), element7(), entity2(), entity6(), entity7(), notation3(), and notation4().
|
static |
Definition at line 108 of file xmlrole.cc.
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by doctype0().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by doctype1().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by doctype1(), and doctype2().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by doctype3().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by element0().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by element1().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by element2().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by element3(), and element5().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by element4().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by element2(), and element7().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by element2(), and element6().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by entity0().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by entity9().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by entity0().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by entity2().
|
static |
Definition at line 108 of file xmlrole.cc.
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by entity4().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by entity5().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by entity1().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by entity7().
|
static |
Definition at line 108 of file xmlrole.cc.
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4AttCheck::Check(), G4ParameterisationPolyconeZ::CheckParametersValidity(), common(), RunAction::ComputeFluenceError(), exrdmAnalysisManager::EndOfRun(), G4PVDivision::ErrorInAxis(), G4ReplicatedSlice::ErrorInAxis(), G4OpenInventorXtExaminerViewer::loadViewPts(), G4OpenInventorXtExaminerViewer::lookAtSceneElementCB(), operator<<(), RunAction::PrintFluence(), ProcessEvent(), prolog0(), prolog1(), prolog2(), G4ENDFTapeRead::ReadInData(), and G4AttCheck::Standard().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by doctype1(), and doctype4().
|
static |
Definition at line 33 of file xmlrole.cc.
Referenced by element1().
|
static |
Definition at line 35 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 37 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 39 of file xmlrole.cc.
|
static |
Definition at line 41 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 43 of file xmlrole.cc.
Referenced by element1().
|
static |
Definition at line 45 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 48 of file xmlrole.cc.
Referenced by attlist2(), and internalSubset().
|
static |
Definition at line 50 of file xmlrole.cc.
Referenced by attlist8().
|
static |
Definition at line 52 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 54 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 56 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 62 of file xmlrole.cc.
Referenced by attlist8().
|
static |
Definition at line 68 of file xmlrole.cc.
Referenced by entity5().
|
static |
Definition at line 70 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 72 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 75 of file xmlrole.cc.
Referenced by attlist2(), and internalSubset().
|
static |
Definition at line 78 of file xmlrole.cc.
Referenced by element2().
|
static |
Definition at line 80 of file xmlrole.cc.
Referenced by doctype1(), entity2(), entity7(), and notation1().
|
static |
Definition at line 82 of file xmlrole.cc.
Referenced by attlist8().
|
static |
Definition at line 85 of file xmlrole.cc.
Referenced by doctype1(), entity2(), entity7(), and notation1().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by notation0().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by notation1().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by notation1().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by notation2().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by XmlPrologStateInit().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by prolog0().
|
static |
Definition at line 108 of file xmlrole.cc.
Referenced by doctype1(), doctype4(), and doctype5().