예제 #1
0
        public static HVariationModel Deserialize(Stream stream)
        {
            HVariationModel hvariationModel = new HVariationModel();

            hvariationModel.DeserializeVariationModel(HSerializedItem.Deserialize(stream));
            return(hvariationModel);
        }
예제 #2
0
        public HVariationModel Clone()
        {
            HSerializedItem serializedItemHandle = this.SerializeVariationModel();
            HVariationModel hvariationModel      = new HVariationModel();

            hvariationModel.DeserializeVariationModel(serializedItemHandle);
            serializedItemHandle.Dispose();
            return(hvariationModel);
        }
예제 #3
0
        internal static int LoadNew(IntPtr proc, int parIndex, int err, out HVariationModel[] obj)
        {
            HTuple tuple;

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