Read() public method

public Read ( OsiReader reader ) : void
reader OsiReader
return void
Beispiel #1
0
        public void Read(OsiReader reader)
        {
            Columns = new List <Value>();
            var count = reader.ReadByte();

            while (count-- > 0)
            {
                var value = new Value();
                value.Read(reader);
                Columns.Add(value);
            }
        }
Beispiel #2
0
        public override void Read(OsiReader reader)
        {
            base.Read(reader);
            Value1Index = reader.ReadSByte();
            Value2Index = reader.ReadSByte();

            Value1 = new Value();
            Value1.Read(reader);

            Value2 = new Value();
            Value2.Read(reader);

            RelOp = (RelOpType)reader.ReadInt32();
        }
Beispiel #3
0
        public override void Read(OsiReader reader)
        {
            base.Read(reader);
            LeftValueIndex  = reader.ReadSByte();
            RightValueIndex = reader.ReadSByte();

            LeftValue = new Value();
            LeftValue.Read(reader);

            RightValue = new Value();
            RightValue.Read(reader);

            RelOp = (RelOpType)reader.ReadInt32();
        }
Beispiel #4
0
        public override void Read(OsiReader reader)
        {
            base.Read(reader);
            Value1Index = reader.ReadSByte();
            Value2Index = reader.ReadSByte();

            Value1 = new Value();
            Value1.Read(reader);

            Value2 = new Value();
            Value2.Read(reader);

            RelOp = (RelOpType)reader.ReadInt32();
        }
Beispiel #5
0
        public void Read(OsiReader reader)
        {
            Physical.Clear();
            Logical.Clear();

            var count = reader.ReadByte();

            while (count-- > 0)
            {
                var index = reader.ReadByte();
                var value = new Value();
                value.Read(reader);

                Physical.Add(value);
                Logical.Add(index, value);
            }
        }
Beispiel #6
0
        public void Read(OsiReader reader)
        {
            Physical.Clear();
            Logical.Clear();

            var count = reader.ReadByte();
            while (count-- > 0)
            {
                var index = reader.ReadByte();
                var value = new Value();
                value.Read(reader);

                Physical.Add(value);
                Logical.Add(index, value);
            }
        }