Geant4
10.02.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 93 of file xmlrole.cc.
Referenced by attlist8(), element2(), internalSubset(), prolog0(), and prolog1().
#define setTopLevel | ( | state | ) | ((state)->handler = internalSubset) |
Definition at line 102 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 105 of file xmlrole.cc.
|
static |
Definition at line 758 of file xmlrole.cc.
References attlist1, and common().
|
static |
Definition at line 776 of file xmlrole.cc.
References attlist2, common(), and setTopLevel.
|
static |
Definition at line 797 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 838 of file xmlrole.cc.
References attlist4, and common().
|
static |
Definition at line 857 of file xmlrole.cc.
References attlist3, attlist8, and common().
|
static |
Definition at line 877 of file xmlrole.cc.
References attlist6, and common().
|
static |
Definition at line 894 of file xmlrole.cc.
References attlist7, and common().
|
static |
Definition at line 911 of file xmlrole.cc.
References attlist6, attlist8, and common().
|
static |
Definition at line 932 of file xmlrole.cc.
References attlist1, attlist9, common(), KW_FIXED, KW_IMPLIED, KW_REQUIRED, and MIN_BYTES_PER_CHAR.
|
static |
Definition at line 972 of file xmlrole.cc.
References attlist1, and common().
|
static |
Definition at line 1309 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 1282 of file xmlrole.cc.
References common(), and setTopLevel.
|
static |
Definition at line 221 of file xmlrole.cc.
References common(), and doctype1.
|
static |
Definition at line 239 of file xmlrole.cc.
References common(), doctype2, doctype3, internalSubset, KW_PUBLIC, KW_SYSTEM, and prolog2.
|
static |
Definition at line 269 of file xmlrole.cc.
References common(), and doctype3.
|
static |
Definition at line 286 of file xmlrole.cc.
References common(), and doctype4.
|
static |
Definition at line 303 of file xmlrole.cc.
References common(), internalSubset, and prolog2.
|
static |
Definition at line 323 of file xmlrole.cc.
References common(), and prolog2.
|
static |
Definition at line 989 of file xmlrole.cc.
References common(), and element1.
|
static |
|
static |
Definition at line 1037 of file xmlrole.cc.
References common(), element3, element6, element7, KW_PCDATA, and MIN_BYTES_PER_CHAR.
|
static |
Definition at line 1077 of file xmlrole.cc.
References common(), declClose, and element4.
|
static |
Definition at line 1102 of file xmlrole.cc.
References common(), and element5.
|
static |
Definition at line 1120 of file xmlrole.cc.
References common(), declClose, and element4.
|
static |
Definition at line 1141 of file xmlrole.cc.
References common(), and element7.
|
static |
Definition at line 1171 of file xmlrole.cc.
References common(), declClose, and element6.
|
static |
Definition at line 442 of file xmlrole.cc.
References common(), entity1, and entity2.
|
static |
Definition at line 462 of file xmlrole.cc.
References common(), and entity7.
|
static |
Definition at line 644 of file xmlrole.cc.
References common(), and setTopLevel.
|
static |
|
static |
Definition at line 507 of file xmlrole.cc.
References common(), and entity4.
|
static |
Definition at line 524 of file xmlrole.cc.
References common(), and entity5.
|
static |
Definition at line 541 of file xmlrole.cc.
References common(), entity6, KW_NDATA, and setTopLevel.
|
static |
Definition at line 564 of file xmlrole.cc.
References common(), and declClose.
|
static |
|
static |
Definition at line 610 of file xmlrole.cc.
References common(), and entity9.
|
static |
Definition at line 627 of file xmlrole.cc.
References common(), and entity10.
|
static |
Definition at line 1299 of file xmlrole.cc.
|
static |
Definition at line 340 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 661 of file xmlrole.cc.
References common(), and notation1.
|
static |
|
static |
Definition at line 702 of file xmlrole.cc.
References common(), and notation4.
|
static |
Definition at line 719 of file xmlrole.cc.
References common(), and declClose.
|
static |
Definition at line 737 of file xmlrole.cc.
References common(), declClose, and setTopLevel.
|
static |
Definition at line 132 of file xmlrole.cc.
References common(), doctype0, error, KW_DOCTYPE, MIN_BYTES_PER_CHAR, and prolog1.
|
static |
Definition at line 169 of file xmlrole.cc.
References common(), doctype0, error, KW_DOCTYPE, and MIN_BYTES_PER_CHAR.
|
static |
Definition at line 200 of file xmlrole.cc.
References common(), and error.
void XmlPrologStateInit | ( | PROLOG_STATE * | state | ) |
Definition at line 1320 of file xmlrole.cc.
References prolog0.
Referenced by parserInit().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by attlist0(), attlist8(), and attlist9().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by attlist1().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by attlist2(), and attlist4().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by attlist3().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by attlist5(), and attlist7().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by attlist6().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by attlist2(), attlist4(), and attlist7().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by attlist8().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by element1(), element3(), element5(), element7(), entity2(), entity6(), entity7(), notation3(), and notation4().
|
static |
Definition at line 112 of file xmlrole.cc.
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by doctype0().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by doctype1().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by doctype1(), and doctype2().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by doctype3().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by element0().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by element1().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by element2().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by element3(), and element5().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by element4().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by element2(), and element7().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by element2(), and element6().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by entity0().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by entity9().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by entity0().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by entity2().
|
static |
Definition at line 112 of file xmlrole.cc.
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by entity4().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by entity5().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by entity1().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by entity7().
|
static |
Definition at line 112 of file xmlrole.cc.
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4AttCheck::Check(), G4ParameterisationPolyconeZ::CheckParametersValidity(), common(), Run::ComputeFluenceError(), G4PVDivision::ErrorInAxis(), G4ReplicatedSlice::ErrorInAxis(), G4OpenInventorXtExaminerViewer::loadViewPts(), G4OpenInventorXtExaminerViewer::lookAtSceneElementCB(), operator<<(), Run::PrintFluence(), ProcessEvent(), prolog0(), prolog1(), prolog2(), G4ENDFTapeRead::ReadInData(), G4AttCheck::Standard(), and Run::WriteActivity().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by doctype1(), and doctype4().
|
static |
Definition at line 37 of file xmlrole.cc.
Referenced by element1().
|
static |
Definition at line 39 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 41 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 43 of file xmlrole.cc.
|
static |
Definition at line 45 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 47 of file xmlrole.cc.
Referenced by element1().
|
static |
Definition at line 49 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 52 of file xmlrole.cc.
Referenced by attlist2(), and internalSubset().
|
static |
Definition at line 54 of file xmlrole.cc.
Referenced by attlist8().
|
static |
Definition at line 56 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 58 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 60 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 66 of file xmlrole.cc.
Referenced by attlist8().
|
static |
Definition at line 72 of file xmlrole.cc.
Referenced by entity5().
|
static |
Definition at line 74 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 76 of file xmlrole.cc.
Referenced by attlist2().
|
static |
Definition at line 79 of file xmlrole.cc.
Referenced by attlist2(), and internalSubset().
|
static |
Definition at line 82 of file xmlrole.cc.
Referenced by element2().
|
static |
Definition at line 84 of file xmlrole.cc.
Referenced by doctype1(), entity2(), entity7(), and notation1().
|
static |
Definition at line 86 of file xmlrole.cc.
Referenced by attlist8().
|
static |
Definition at line 89 of file xmlrole.cc.
Referenced by doctype1(), entity2(), entity7(), and notation1().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by internalSubset().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by notation0().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by notation1().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by notation1().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by notation2().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by XmlPrologStateInit().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by prolog0().
|
static |
Definition at line 112 of file xmlrole.cc.
Referenced by doctype1(), doctype4(), and doctype5().