Пример #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)
 {
 }