|
Code :
....
SchemaGrammar* grammar = (SchemaGrammar*)
parser.getValidator().getGrammar();
RefHash3KeysIdPoolEnumerator<SchemaElementDecl> elemEnum = grammar->getElemEnumerator(); if (elemEnum.hasMoreElements()) { while(elemEnum.hasMoreElements()) { // Exception here const SchemaElementDecl& curElem = elemEnum.nextElement(); ... template <class TVal> TVal& RefHash3KeysIdPoolEnumerator<TVal>::nextElement() { // If our index is zero or past the end, then we are done if (!fCurIndex || (fCurIndex > fToEnum->fIdCounter)) ThrowXML(NoSuchElementException, XMLExcepts::Enum_NoMoreElements); // Return the current element and bump the
index
return *fToEnum->fIdPtrs[fCurIndex++]; // the exception will be thrown } // Debut Result.
fCurIndex = 1
fToEnum->fIdCounter = 65
fToEnum->fldPtrs => 0x0000006d
fToEnum->fHashModulus = 128
fToEnum->fHash = 0x00000009
fToEnum->fIdPtrsCount = 4261281277
fToEnum->fIdPtrs[1] = CXX0030: Error: expression cannot be
evaluated.
|
