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