public static HDataCode2D Deserialize(Stream stream) { HDataCode2D hdataCode2D = new HDataCode2D(); hdataCode2D.DeserializeDataCode2dModel(HSerializedItem.Deserialize(stream)); return(hdataCode2D); }
public HDataCode2D Clone() { HSerializedItem serializedItemHandle = this.SerializeDataCode2dModel(); HDataCode2D hdataCode2D = new HDataCode2D(); hdataCode2D.DeserializeDataCode2dModel(serializedItemHandle); serializedItemHandle.Dispose(); return(hdataCode2D); }
internal static int LoadNew(IntPtr proc, int parIndex, int err, out HDataCode2D[] obj) { HTuple tuple; err = HTuple.LoadNew(proc, parIndex, err, out tuple); obj = new HDataCode2D[tuple.Length]; for (int index = 0; index < tuple.Length; ++index) { obj[index] = new HDataCode2D(tuple[index].IP); } return(err); }
internal static int LoadNew(IntPtr proc, int parIndex, int err, out HDataCode2D obj) { obj = new HDataCode2D(HTool.UNDEF); return(obj.Load(proc, parIndex, err)); }