예제 #1
0
        // read a view-id
        private ViewId ReadViewId()
        {
            ViewId vid = new ViewId();

            vid.ltime = ReadInt();
            vid.endpt = ReadEndpt();
            return(vid);
        }
예제 #2
0
        // Read an array of view-ids
        private ViewId[] ReadViewIdArray()
        {
            ViewId[] vida;
            int      i, size;

            size = ReadInt();
            if (0 == size)
            {
                return(null);
            }
            vida = new ViewId[size];
            for (i = 0; i < size; i++)
            {
                vida[i] = ReadViewId();
            }
            return(vida);
        }
예제 #3
0
파일: Ensemble.cs 프로젝트: Tipoca/ensemble
        // Read an array of view-ids
        private ViewId[] ReadViewIdArray()
        {
            ViewId[] vida;
            int i, size;

            size = ReadInt ();
            if (0 == size) return null;
            vida = new ViewId[size];
            for (i=0; i<size; i++)
                vida[i] = ReadViewId();
            return vida;
        }
예제 #4
0
파일: Ensemble.cs 프로젝트: Tipoca/ensemble
        // read a view-id
        private ViewId ReadViewId()
        {
            ViewId vid = new ViewId();

            vid.ltime = ReadInt();
            vid.endpt = ReadEndpt();
            return vid;
        }