Ejemplo n.º 1
0
        public new static vtkSQLDatabaseSchema New()
        {
            vtkSQLDatabaseSchema result = null;
            uint   mteStatus            = 0u;
            uint   mteIndex             = 4294967295u;
            uint   rawRefCount          = 0u;
            IntPtr intPtr = vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkSQLDatabaseSchema)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Ejemplo n.º 2
0
        public new static vtkSQLDatabaseSchema SafeDownCast(vtkObjectBase o)
        {
            vtkSQLDatabaseSchema vtkSQLDatabaseSchema = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_SafeDownCast_49((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSQLDatabaseSchema = (vtkSQLDatabaseSchema)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSQLDatabaseSchema.Register(null);
                }
            }
            return(vtkSQLDatabaseSchema);
        }
Ejemplo n.º 3
0
 public virtual bool EffectSchema(vtkSQLDatabaseSchema arg0, bool dropIfExists)
 {
     return(vtkSQLDatabase.vtkSQLDatabase_EffectSchema_04(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis(), dropIfExists ? (byte)1 : (byte)0) != 0);
 }