示例#1
0
        public static HDataCode2D Deserialize(Stream stream)
        {
            HDataCode2D hdataCode2D = new HDataCode2D();

            hdataCode2D.DeserializeDataCode2dModel(HSerializedItem.Deserialize(stream));
            return(hdataCode2D);
        }
示例#2
0
        public HDataCode2D Clone()
        {
            HSerializedItem serializedItemHandle = this.SerializeDataCode2dModel();
            HDataCode2D     hdataCode2D          = new HDataCode2D();

            hdataCode2D.DeserializeDataCode2dModel(serializedItemHandle);
            serializedItemHandle.Dispose();
            return(hdataCode2D);
        }
示例#3
0
        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);
        }
示例#4
0
 internal static int LoadNew(IntPtr proc, int parIndex, int err, out HDataCode2D obj)
 {
     obj = new HDataCode2D(HTool.UNDEF);
     return(obj.Load(proc, parIndex, err));
 }