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