Example #1
0
            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);
            }
Example #2
0
 public override Object next()
 {
     Depth depth = new Depth (this, 0);
     inc (depth.Length);
     return depth;
 }
Example #3
0
            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;
            }
Example #4
0
 public DepthEnum(Depth owner, int len, int c)
     : base(owner,len,c)
 {
 }
Example #5
0
 public DepthEnum(Depth owner, int len, int c)
     : base(owner, len, c)
 {
 }