public void UnPackTo(UnionVectorTableT _o) { _o.Value = new List <FlatSharpTests.Oracle.UnionUnion>(); for (var _j = 0; _j < this.ValueLength; ++_j) { var _o_Value = new FlatSharpTests.Oracle.UnionUnion(); _o_Value.Type = this.ValueType(_j); switch (this.ValueType(_j)) { default: break; case FlatSharpTests.Oracle.Union.BasicTypes: _o_Value.Value = this.Value <FlatSharpTests.Oracle.BasicTypes>(_j).HasValue ? this.Value <FlatSharpTests.Oracle.BasicTypes>(_j).Value.UnPack() : null; break; case FlatSharpTests.Oracle.Union.Location: _o_Value.Value = this.Value <FlatSharpTests.Oracle.Location>(_j).HasValue ? this.Value <FlatSharpTests.Oracle.Location>(_j).Value.UnPack() : null; break; case FlatSharpTests.Oracle.Union.stringValue: _o_Value.Value = this.ValueAsString(_j); break; } _o.Value.Add(_o_Value); } }
public UnionTableT() { this.Value = null; }