private void ProcessHeaderEnd(ParseRecord pr)
{
InternalST.Soap( this,"ProcessHeaderEnd ");
pr.Dump();
if (headerList == null)
return; // Empty header array
// Object End
ParseRecord headerPr = GetPr();
headerPr.PRparseTypeEnum = InternalParseTypeE.ObjectEnd;
headerPr.PRobjectTypeEnum = InternalObjectTypeE.Array;
headerList.Add(headerPr);
headerPr = (ParseRecord)headerList[0];
headerPr = (ParseRecord)headerList[0];
headerPr.PRlengthA[0] = headerArrayLength;
headerPr.PRobjectPositionEnum = InternalObjectPositionE.Headers;
for (int i=0; i<headerList.Count; i++)
{
InternalST.Soap( this, "Parse Header Record ",i);
InternalST.Soap( this,"ObjectReader.Parse 9");
objectReader.Parse((ParseRecord)headerList[i]);
}
for (int i=0; i<headerList.Count; i++)
PutPr((ParseRecord)headerList[i]);
}