public ReportDescriptorParseState() { RootItem = new DescriptorCollectionItem(); GlobalItemStateStack = new List <IDictionary <GlobalItemTag, EncodedItem> >(); LocalItemState = new List <KeyValuePair <LocalItemTag, uint> >(); Reset(); }
void ParseMainCollection(uint value) { DescriptorCollectionItem collection = State.CurrentCollectionItem != State.RootItem ? new DescriptorCollectionItem() : new DeviceItem(); collection.CollectionType = (CollectionType)value; State.CurrentCollectionItem.ChildItems.Add(collection); State.CurrentCollectionItem = collection; ParseMainIndexes(collection); }
public ReportCollectionItemChildren(DescriptorCollectionItem item) { Debug.Assert(item != null); _item = item; }