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

            hocrCnn.DeserializeOcrClassCnn(HSerializedItem.Deserialize(stream));
            return(hocrCnn);
        }
示例#2
0
        public HOCRCnn Clone()
        {
            HSerializedItem serializedItemHandle = this.SerializeOcrClassCnn();
            HOCRCnn         hocrCnn = new HOCRCnn();

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