Пример #1
0
        public static HXLDDistTrans Deserialize(Stream stream)
        {
            HXLDDistTrans hxldDistTrans = new HXLDDistTrans();

            hxldDistTrans.DeserializeDistanceTransformXld(HSerializedItem.Deserialize(stream));
            return(hxldDistTrans);
        }
Пример #2
0
        public HXLDDistTrans Clone()
        {
            HSerializedItem serializedItemHandle = this.SerializeDistanceTransformXld();
            HXLDDistTrans   hxldDistTrans        = new HXLDDistTrans();

            hxldDistTrans.DeserializeDistanceTransformXld(serializedItemHandle);
            serializedItemHandle.Dispose();
            return(hxldDistTrans);
        }
Пример #3
0
        internal static int LoadNew(IntPtr proc, int parIndex, int err, out HXLDDistTrans[] obj)
        {
            HTuple tuple;

            err = HTuple.LoadNew(proc, parIndex, err, out tuple);
            obj = new HXLDDistTrans[tuple.Length];
            for (int index = 0; index < tuple.Length; ++index)
            {
                obj[index] = new HXLDDistTrans(tuple[index].IP);
            }
            return(err);
        }
Пример #4
0
 internal static int LoadNew(IntPtr proc, int parIndex, int err, out HXLDDistTrans obj)
 {
     obj = new HXLDDistTrans(HTool.UNDEF);
     return(obj.Load(proc, parIndex, err));
 }