コード例 #1
0
ファイル: TreeReference.cs プロジェクト: amasasi/DotNetRosa
        //UPGRADE_TODO: Class 'java.io.DataInputStream' was converted to 'System.IO.BinaryReader' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'"
        public virtual void  readExternal(System.IO.BinaryReader in_Renamed, PrototypeFactory pf)
        {
            refLevel     = ExtUtil.readInt(in_Renamed);
            instanceName = ((System.String)ExtUtil.read(in_Renamed, new ExtWrapNullable(typeof(System.String)), pf));
            contextType  = ExtUtil.readInt(in_Renamed);
            int size = ExtUtil.readInt(in_Renamed);

            for (int i = 0; i < size; ++i)
            {
                TreeReferenceLevel level = (TreeReferenceLevel)ExtUtil.read(in_Renamed, typeof(TreeReferenceLevel));
                this.add(level.intern());
            }
        }
コード例 #2
0
ファイル: TreeReference.cs プロジェクト: amasasi/DotNetRosa
 private void  add(TreeReferenceLevel level)
 {
     data.addElement(level);
 }