コード例 #1
0
        public new static vtkFixedWidthTextReader New()
        {
            vtkFixedWidthTextReader result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkFixedWidthTextReader.vtkFixedWidthTextReader_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkFixedWidthTextReader)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
コード例 #2
0
        public new static vtkFixedWidthTextReader SafeDownCast(vtkObjectBase o)
        {
            vtkFixedWidthTextReader vtkFixedWidthTextReader = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkFixedWidthTextReader.vtkFixedWidthTextReader_SafeDownCast_11((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkFixedWidthTextReader = (vtkFixedWidthTextReader)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkFixedWidthTextReader.Register(null);
                }
            }
            return(vtkFixedWidthTextReader);
        }