Esempio n. 1
0
        public new static vtkSQLQuery SafeDownCast(vtkObjectBase o)
        {
            vtkSQLQuery vtkSQLQuery = null;
            uint        mteStatus   = 0u;
            uint        mteIndex    = 4294967295u;
            uint        rawRefCount = 0u;
            IntPtr      intPtr      = vtkSQLQuery.vtkSQLQuery_SafeDownCast_26((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSQLQuery = (vtkSQLQuery)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSQLQuery.Register(null);
                }
            }
            return(vtkSQLQuery);
        }
Esempio n. 2
0
        public override vtkSQLQuery GetQueryInstance()
        {
            vtkSQLQuery vtkSQLQuery = null;
            uint        mteStatus   = 0u;
            uint        mteIndex    = 4294967295u;
            uint        rawRefCount = 0u;
            IntPtr      intPtr      = vtkSQLiteDatabase.vtkSQLiteDatabase_GetQueryInstance_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSQLQuery = (vtkSQLQuery)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSQLQuery.Register(null);
                }
            }
            return(vtkSQLQuery);
        }
Esempio n. 3
0
        public virtual vtkSQLQuery GetVertexQuery()
        {
            vtkSQLQuery vtkSQLQuery = null;
            uint        mteStatus   = 0u;
            uint        mteIndex    = 4294967295u;
            uint        rawRefCount = 0u;
            IntPtr      intPtr      = vtkSQLGraphReader.vtkSQLGraphReader_GetVertexQuery_11(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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