Exemple #1
0
        public new vtkSQLDatabase NewInstance()
        {
            vtkSQLDatabase result      = null;
            uint           mteStatus   = 0u;
            uint           mteIndex    = 4294967295u;
            uint           rawRefCount = 0u;
            IntPtr         intPtr      = vtkSQLDatabase.vtkSQLDatabase_NewInstance_15(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkSQLDatabase)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Exemple #2
0
        public vtkSQLDatabase GetDatabase()
        {
            vtkSQLDatabase vtkSQLDatabase = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkDatabaseToTableReader.vtkDatabaseToTableReader_GetDatabase_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSQLDatabase = (vtkSQLDatabase)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSQLDatabase.Register(null);
                }
            }
            return(vtkSQLDatabase);
        }
Exemple #3
0
        public static vtkSQLDatabase CreateFromURL(string URL)
        {
            vtkSQLDatabase vtkSQLDatabase = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkSQLDatabase.vtkSQLDatabase_CreateFromURL_02(URL, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSQLDatabase = (vtkSQLDatabase)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSQLDatabase.Register(null);
                }
            }
            return(vtkSQLDatabase);
        }
Exemple #4
0
        public new static vtkSQLDatabase SafeDownCast(vtkObjectBase o)
        {
            vtkSQLDatabase vtkSQLDatabase = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkSQLDatabase.vtkSQLDatabase_SafeDownCast_18((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSQLDatabase = (vtkSQLDatabase)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSQLDatabase.Register(null);
                }
            }
            return(vtkSQLDatabase);
        }
Exemple #5
0
 public bool SetDatabase(vtkSQLDatabase db)
 {
     return(vtkDatabaseToTableReader.vtkDatabaseToTableReader_SetDatabase_07(base.GetCppThis(), (db == null) ? default(HandleRef) : db.GetCppThis()) != 0);
 }