Exemplo n.º 1
0
        public static HXLDDistTrans Deserialize(Stream stream)
        {
            HXLDDistTrans hxldDistTrans = new HXLDDistTrans();

            hxldDistTrans.DeserializeDistanceTransformXld(HSerializedItem.Deserialize(stream));
            return(hxldDistTrans);
        }
Exemplo n.º 2
0
        public HXLDDistTrans Clone()
        {
            HSerializedItem serializedItemHandle = this.SerializeDistanceTransformXld();
            HXLDDistTrans   hxldDistTrans        = new HXLDDistTrans();

            hxldDistTrans.DeserializeDistanceTransformXld(serializedItemHandle);
            serializedItemHandle.Dispose();
            return(hxldDistTrans);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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));
 }