public override Object elt(int i) { // probe i-th element linearly int saved_offset = this.offset; this.offset = start_offset; for (int j = 0; j < i; j++) { this.offset += 8 + this.read2(2) * 24; } Depth depth = new Depth(this, 0); this.offset = saved_offset; return(depth); }
public override Object next() { Depth depth = new Depth (this, 0); inc (depth.Length); return depth; }
public override Object elt(int i) { // probe i-th element linearly int saved_offset = this.offset; this.offset = start_offset; for (int j=0; j<i; j++) this.offset += 8 + this.read2 (2)*24; Depth depth = new Depth (this, 0); this.offset = saved_offset; return depth; }
public DepthEnum(Depth owner, int len, int c) : base(owner,len,c) { }
public DepthEnum(Depth owner, int len, int c) : base(owner, len, c) { }