ActiViz .NET  5.8.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkSQLDatabaseSchema Class Reference

vtkSQLDatabaseSchema - represent an SQL database schema More...

Inheritance diagram for Kitware.VTK.vtkSQLDatabaseSchema:
[legend]
Collaboration diagram for Kitware.VTK.vtkSQLDatabaseSchema:
[legend]

List of all members.

Public Types

enum  DatabaseColumnType {
  BIGINT = 3, BLOB = 8, DATE = 10, DOUBLE = 7,
  INTEGER = 2, REAL = 6, SERIAL = 0, SMALLINT = 1,
  TEXT = 5, TIME = 9, TIMESTAMP = 11, VARCHAR = 4
}
 Undocumented Block. More...
enum  DatabaseIndexType { INDEX = 0, PRIMARY_KEY = 2, UNIQUE = 1 }
 Undocumented Block. More...
enum  DatabaseTriggerType {
  AFTER_DELETE = 5, AFTER_INSERT = 1, AFTER_UPDATE = 3, BEFORE_DELETE = 4,
  BEFORE_INSERT = 0, BEFORE_UPDATE = 2
}
 Undocumented Block. More...
enum  VarargTokens {
  COLUMN_TOKEN = 58, END_INDEX_TOKEN = 75, END_TABLE_TOKEN = 99, INDEX_COLUMN_TOKEN = 65,
  INDEX_TOKEN = 63, OPTION_TOKEN = 86, TRIGGER_TOKEN = 81
}
 Set/Get the name of the schema. More...

Public Member Functions

 vtkSQLDatabaseSchema (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkSQLDatabaseSchema ()
 Undocumented Block.
virtual int AddColumnToIndex (int tblHandle, int idxHandle, int colHandle)
 Add a column to a table index.
virtual int AddColumnToIndex (string tblName, string idxName, string colName)
 Add a column to a table index.
virtual int AddColumnToTable (int tblHandle, int colType, string colName, int colSize, string colAttribs)
 Add a column to table.
virtual int AddColumnToTable (string tblName, int colType, string colName, int colSize, string colAttribs)
 Add a column to table.
virtual int AddIndexToTable (int tblHandle, int idxType, string idxName)
 Add an index to table.
virtual int AddIndexToTable (string tblName, int idxType, string idxName)
 Add an index to table.
virtual int AddOptionToTable (int tblHandle, string optStr, string optBackend)
 Add (possibly backend-specific) text to the end of a CREATE TABLE (...) statement.
virtual int AddOptionToTable (string tblName, string optStr, string optBackend)
 Add (possibly backend-specific) text to the end of a CREATE TABLE (...) statement.
virtual int AddPreamble (string preName, string preAction, string preBackend)
 Add a preamble to the schema This can be used, in particular, to create functions and/or load languages in a backend-specific manner. Example usage: vtkSQLDatabaseSchema* schema = vtkSQLDatabaseSchema::New(); schema->SetName( "Example" ); schema->AddPreamble( "dropPLPGSQL", "DROP LANGUAGE IF EXISTS PLPGSQL CASCADE", VTK_SQL_POSTGRESQL ); schema->AddPreamble( "loadPLPGSQL", "CREATE LANGUAGE PLPGSQL", VTK_SQL_POSTGRESQL ); schema->AddPreamble( "createsomefunction", "CREATE OR REPLACE FUNCTION somefunction() RETURNS TRIGGER AS $btable$ " "BEGIN " "INSERT INTO btable (somevalue) VALUES (NEW.somenmbr); " "RETURN NEW; " "END; $btable$ LANGUAGE PLPGSQL", VTK_SQL_POSTGRESQL );.
virtual int AddTable (string tblName)
 Add a table to the schema.
int AddTableMultipleArguments (string tblName)
 Set/Get the name of the schema.
virtual int AddTriggerToTable (int tblHandle, int trgType, string trgName, string trgAction, string trgBackend)
 Add a (possibly backend-specific) trigger action to a table.
virtual int AddTriggerToTable (string tblName, int trgType, string trgName, string trgAction, string trgBackend)
 Add a (possibly backend-specific) trigger action to a table.
string GetColumnAttributesFromHandle (int tblHandle, int colHandle)
 Given the handles of a table and a column, get the attributes of the column.
int GetColumnHandleFromName (string tblName, string colName)
 Given the names of a table and a column, get the handle of the column in this table.
string GetColumnNameFromHandle (int tblHandle, int colHandle)
 Given the handles of a table and a column, get the name of the column.
int GetColumnSizeFromHandle (int tblHandle, int colHandle)
 Given the handles of a table and a column, get the size of the column.
int GetColumnTypeFromHandle (int tblHandle, int colHandle)
 Given the handles of a table and a column, get the type of the column.
string GetIndexColumnNameFromHandle (int tblHandle, int idxHandle, int cnmHandle)
 Given the handles of a table, an index, and a column name, get the column name.
int GetIndexHandleFromName (string tblName, string idxName)
 Given the names of a table and an index, get the handle of the index in this table.
string GetIndexNameFromHandle (int tblHandle, int idxHandle)
 Given the handles of a table and an index, get the name of the index.
int GetIndexTypeFromHandle (int tblHandle, int idxHandle)
 Given the handles of a table and an index, get the type of the index.
virtual string GetName ()
 Set/Get the name of the schema.
int GetNumberOfColumnNamesInIndex (int tblHandle, int idxHandle)
 Get the number of column names associated to a particular index in a particular table .
int GetNumberOfColumnsInTable (int tblHandle)
 Get the number of columns in a particular table .
int GetNumberOfIndicesInTable (int tblHandle)
 Get the number of indices in a particular table .
int GetNumberOfOptionsInTable (int tblHandle)
 Get the number of options associated with a particular table.
int GetNumberOfPreambles ()
 Get the number of preambles.
int GetNumberOfTables ()
 Get the number of tables.
int GetNumberOfTriggersInTable (int tblHandle)
 Get the number of triggers defined for a particular table.
string GetOptionBackendFromHandle (int tblHandle, int trgHandle)
 Given the handles of a table and one of its options, get the backend of the option.
string GetOptionTextFromHandle (int tblHandle, int optHandle)
 Given the handles of a table and one of its options, return the text of the option.
string GetPreambleActionFromHandle (int preHandle)
 Given a preamble handle, get its action.
string GetPreambleBackendFromHandle (int preHandle)
 Given a preamble handle, get its backend.
int GetPreambleHandleFromName (string preName)
 Given a preamble name, get its handle.
string GetPreambleNameFromHandle (int preHandle)
 Given a preamble handle, get its name.
int GetTableHandleFromName (string tblName)
 Given a table name, get its handle.
string GetTableNameFromHandle (int tblHandle)
 Given a table hanlde, get its name.
string GetTriggerActionFromHandle (int tblHandle, int trgHandle)
 Given the handles of a table and a trigger, get the action of the trigger.
string GetTriggerBackendFromHandle (int tblHandle, int trgHandle)
 Given the handles of a table and a trigger, get the backend of the trigger.
int GetTriggerHandleFromName (string tblName, string trgName)
 Given the names of a trigger and a table, get the handle of the trigger in this table.
string GetTriggerNameFromHandle (int tblHandle, int trgHandle)
 Given the handles of a table and a trigger, get the name of the trigger.
int GetTriggerTypeFromHandle (int tblHandle, int trgHandle)
 Given the handles of a table and a trigger, get the type of the trigger.
override int IsA (string type)
 Undocumented Block.
new vtkSQLDatabaseSchema NewInstance ()
 Undocumented Block.
void Reset ()
 Reset the schema to its initial, empty state.
virtual void SetName (string _arg)
 Set/Get the name of the schema.

Static Public Member Functions

static new vtkSQLDatabaseSchema New ()
 Undocumented Block.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkSQLDatabaseSchema SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkSQLDatabaseSchema"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "20vtkSQLDatabaseSchema"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkSQLDatabaseSchema_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkSQLDatabaseSchema_AddColumnToIndex_01 (HandleRef pThis, int tblHandle, int idxHandle, int colHandle)
static internal int vtkSQLDatabaseSchema_AddColumnToIndex_02 (HandleRef pThis, string tblName, string idxName, string colName)
static internal int vtkSQLDatabaseSchema_AddColumnToTable_03 (HandleRef pThis, int tblHandle, int colType, string colName, int colSize, string colAttribs)
static internal int vtkSQLDatabaseSchema_AddColumnToTable_04 (HandleRef pThis, string tblName, int colType, string colName, int colSize, string colAttribs)
static internal int vtkSQLDatabaseSchema_AddIndexToTable_05 (HandleRef pThis, int tblHandle, int idxType, string idxName)
static internal int vtkSQLDatabaseSchema_AddIndexToTable_06 (HandleRef pThis, string tblName, int idxType, string idxName)
static internal int vtkSQLDatabaseSchema_AddOptionToTable_07 (HandleRef pThis, int tblHandle, string optStr, string optBackend)
static internal int vtkSQLDatabaseSchema_AddOptionToTable_08 (HandleRef pThis, string tblName, string optStr, string optBackend)
static internal int vtkSQLDatabaseSchema_AddPreamble_09 (HandleRef pThis, string preName, string preAction, string preBackend)
static internal int vtkSQLDatabaseSchema_AddTable_10 (HandleRef pThis, string tblName)
static internal int vtkSQLDatabaseSchema_AddTableMultipleArguments_11 (HandleRef pThis, string tblName)
static internal int vtkSQLDatabaseSchema_AddTriggerToTable_12 (HandleRef pThis, int tblHandle, int trgType, string trgName, string trgAction, string trgBackend)
static internal int vtkSQLDatabaseSchema_AddTriggerToTable_13 (HandleRef pThis, string tblName, int trgType, string trgName, string trgAction, string trgBackend)
static internal IntPtr vtkSQLDatabaseSchema_GetColumnAttributesFromHandle_14 (HandleRef pThis, int tblHandle, int colHandle)
static internal int vtkSQLDatabaseSchema_GetColumnHandleFromName_15 (HandleRef pThis, string tblName, string colName)
static internal IntPtr vtkSQLDatabaseSchema_GetColumnNameFromHandle_16 (HandleRef pThis, int tblHandle, int colHandle)
static internal int vtkSQLDatabaseSchema_GetColumnSizeFromHandle_17 (HandleRef pThis, int tblHandle, int colHandle)
static internal int vtkSQLDatabaseSchema_GetColumnTypeFromHandle_18 (HandleRef pThis, int tblHandle, int colHandle)
static internal IntPtr vtkSQLDatabaseSchema_GetIndexColumnNameFromHandle_19 (HandleRef pThis, int tblHandle, int idxHandle, int cnmHandle)
static internal int vtkSQLDatabaseSchema_GetIndexHandleFromName_20 (HandleRef pThis, string tblName, string idxName)
static internal IntPtr vtkSQLDatabaseSchema_GetIndexNameFromHandle_21 (HandleRef pThis, int tblHandle, int idxHandle)
static internal int vtkSQLDatabaseSchema_GetIndexTypeFromHandle_22 (HandleRef pThis, int tblHandle, int idxHandle)
static internal IntPtr vtkSQLDatabaseSchema_GetName_23 (HandleRef pThis)
static internal int vtkSQLDatabaseSchema_GetNumberOfColumnNamesInIndex_24 (HandleRef pThis, int tblHandle, int idxHandle)
static internal int vtkSQLDatabaseSchema_GetNumberOfColumnsInTable_25 (HandleRef pThis, int tblHandle)
static internal int vtkSQLDatabaseSchema_GetNumberOfIndicesInTable_26 (HandleRef pThis, int tblHandle)
static internal int vtkSQLDatabaseSchema_GetNumberOfOptionsInTable_27 (HandleRef pThis, int tblHandle)
static internal int vtkSQLDatabaseSchema_GetNumberOfPreambles_28 (HandleRef pThis)
static internal int vtkSQLDatabaseSchema_GetNumberOfTables_29 (HandleRef pThis)
static internal int vtkSQLDatabaseSchema_GetNumberOfTriggersInTable_30 (HandleRef pThis, int tblHandle)
static internal IntPtr vtkSQLDatabaseSchema_GetOptionBackendFromHandle_31 (HandleRef pThis, int tblHandle, int trgHandle)
static internal IntPtr vtkSQLDatabaseSchema_GetOptionTextFromHandle_32 (HandleRef pThis, int tblHandle, int optHandle)
static internal IntPtr vtkSQLDatabaseSchema_GetPreambleActionFromHandle_33 (HandleRef pThis, int preHandle)
static internal IntPtr vtkSQLDatabaseSchema_GetPreambleBackendFromHandle_34 (HandleRef pThis, int preHandle)
static internal int vtkSQLDatabaseSchema_GetPreambleHandleFromName_35 (HandleRef pThis, string preName)
static internal IntPtr vtkSQLDatabaseSchema_GetPreambleNameFromHandle_36 (HandleRef pThis, int preHandle)
static internal int vtkSQLDatabaseSchema_GetTableHandleFromName_37 (HandleRef pThis, string tblName)
static internal IntPtr vtkSQLDatabaseSchema_GetTableNameFromHandle_38 (HandleRef pThis, int tblHandle)
static internal IntPtr vtkSQLDatabaseSchema_GetTriggerActionFromHandle_39 (HandleRef pThis, int tblHandle, int trgHandle)
static internal IntPtr vtkSQLDatabaseSchema_GetTriggerBackendFromHandle_40 (HandleRef pThis, int tblHandle, int trgHandle)
static internal int vtkSQLDatabaseSchema_GetTriggerHandleFromName_41 (HandleRef pThis, string tblName, string trgName)
static internal IntPtr vtkSQLDatabaseSchema_GetTriggerNameFromHandle_42 (HandleRef pThis, int tblHandle, int trgHandle)
static internal int vtkSQLDatabaseSchema_GetTriggerTypeFromHandle_43 (HandleRef pThis, int tblHandle, int trgHandle)
static internal int vtkSQLDatabaseSchema_IsA_44 (HandleRef pThis, string type)
static internal int vtkSQLDatabaseSchema_IsTypeOf_45 (string type)
static internal IntPtr vtkSQLDatabaseSchema_NewInstance_47 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSQLDatabaseSchema_Reset_48 (HandleRef pThis)
static internal IntPtr vtkSQLDatabaseSchema_SafeDownCast_49 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSQLDatabaseSchema_SetName_50 (HandleRef pThis, string _arg)

Static Private Member Functions

static vtkSQLDatabaseSchema ()
 Automatically generated type registration mechanics.

Detailed Description

vtkSQLDatabaseSchema - represent an SQL database schema

Description This class stores the information required to create an SQL database from scratch. Information on each table's columns, indices, and triggers is stored. You may also store an arbitrary number of preamble statements, intended to be executed before any tables are created; this provides a way to create procedures or functions that may be invoked as part of a trigger action. Triggers and table options may be specified differently for each backend database type you wish to support.

Thanks Thanks to Philippe Pebay and David Thompson from Sandia National Laboratories for implementing this class.

vtkSQLDatabase


Member Enumeration Documentation

Undocumented Block.

Enumerator:
BIGINT 

enum member

BLOB 

enum member

DATE 

enum member

DOUBLE 

enum member

INTEGER 

enum member

REAL 

enum member

SERIAL 

enum member

SMALLINT 

enum member

TEXT 

enum member

TIME 

enum member

TIMESTAMP 

enum member

VARCHAR 

enum member

Undocumented Block.

Enumerator:
INDEX 

enum member

PRIMARY_KEY 

enum member

UNIQUE 

enum member

Undocumented Block.

Enumerator:
AFTER_DELETE 

enum member

AFTER_INSERT 

enum member

AFTER_UPDATE 

enum member

BEFORE_DELETE 

enum member

BEFORE_INSERT 

enum member

BEFORE_UPDATE 

enum member

Set/Get the name of the schema.

Enumerator:
COLUMN_TOKEN 

enum member

END_INDEX_TOKEN 

enum member

END_TABLE_TOKEN 

enum member

INDEX_COLUMN_TOKEN 

enum member

INDEX_TOKEN 

enum member

OPTION_TOKEN 

enum member

TRIGGER_TOKEN 

enum member


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Undocumented Block.


Member Function Documentation

virtual int Kitware.VTK.vtkSQLDatabaseSchema.AddColumnToIndex ( int  tblHandle,
int  idxHandle,
int  colHandle 
) [virtual]

Add a column to a table index.

The returned value is an index-column handle or -1 if an error occurred.

virtual int Kitware.VTK.vtkSQLDatabaseSchema.AddColumnToIndex ( string  tblName,
string  idxName,
string  colName 
) [virtual]

Add a column to a table index.

The returned value is an index-column handle or -1 if an error occurred.

virtual int Kitware.VTK.vtkSQLDatabaseSchema.AddColumnToTable ( int  tblHandle,
int  colType,
string  colName,
int  colSize,
string  colAttribs 
) [virtual]

Add a column to table.

The returned value is a column handle or -1 if an error occurred.

virtual int Kitware.VTK.vtkSQLDatabaseSchema.AddColumnToTable ( string  tblName,
int  colType,
string  colName,
int  colSize,
string  colAttribs 
) [virtual]

Add a column to table.

The returned value is a column handle or -1 if an error occurred.

virtual int Kitware.VTK.vtkSQLDatabaseSchema.AddIndexToTable ( int  tblHandle,
int  idxType,
string  idxName 
) [virtual]

Add an index to table.

The returned value is an index handle or -1 if an error occurred.

virtual int Kitware.VTK.vtkSQLDatabaseSchema.AddIndexToTable ( string  tblName,
int  idxType,
string  idxName 
) [virtual]

Add an index to table.

The returned value is an index handle or -1 if an error occurred.

virtual int Kitware.VTK.vtkSQLDatabaseSchema.AddOptionToTable ( int  tblHandle,
string  optStr,
string  optBackend 
) [virtual]

Add (possibly backend-specific) text to the end of a CREATE TABLE (...) statement.

This is most useful for specifying storage semantics of tables that are specific to the backend. For example, table options can be used to specify the TABLESPACE of a PostgreSQL table or the ENGINE of a MySQL table.

The returned value is an option handle or -1 if an error occurred.

virtual int Kitware.VTK.vtkSQLDatabaseSchema.AddOptionToTable ( string  tblName,
string  optStr,
string  optBackend 
) [virtual]

Add (possibly backend-specific) text to the end of a CREATE TABLE (...) statement.

This is most useful for specifying storage semantics of tables that are specific to the backend. For example, table options can be used to specify the TABLESPACE of a PostgreSQL table or the ENGINE of a MySQL table.

The returned value is an option handle or -1 if an error occurred.

virtual int Kitware.VTK.vtkSQLDatabaseSchema.AddPreamble ( string  preName,
string  preAction,
string  preBackend 
) [virtual]

Add a preamble to the schema This can be used, in particular, to create functions and/or load languages in a backend-specific manner. Example usage: vtkSQLDatabaseSchema* schema = vtkSQLDatabaseSchema::New(); schema->SetName( "Example" ); schema->AddPreamble( "dropPLPGSQL", "DROP LANGUAGE IF EXISTS PLPGSQL CASCADE", VTK_SQL_POSTGRESQL ); schema->AddPreamble( "loadPLPGSQL", "CREATE LANGUAGE PLPGSQL", VTK_SQL_POSTGRESQL ); schema->AddPreamble( "createsomefunction", "CREATE OR REPLACE FUNCTION somefunction() RETURNS TRIGGER AS $btable$ " "BEGIN " "INSERT INTO btable (somevalue) VALUES (NEW.somenmbr); " "RETURN NEW; " "END; $btable$ LANGUAGE PLPGSQL", VTK_SQL_POSTGRESQL );.

virtual int Kitware.VTK.vtkSQLDatabaseSchema.AddTable ( string  tblName) [virtual]

Add a table to the schema.

Set/Get the name of the schema.

virtual int Kitware.VTK.vtkSQLDatabaseSchema.AddTriggerToTable ( int  tblHandle,
int  trgType,
string  trgName,
string  trgAction,
string  trgBackend 
) [virtual]

Add a (possibly backend-specific) trigger action to a table.

Triggers must be given unique, non-NULL names as some database backends require them. The returned value is a trigger handle or -1 if an error occurred.

virtual int Kitware.VTK.vtkSQLDatabaseSchema.AddTriggerToTable ( string  tblName,
int  trgType,
string  trgName,
string  trgAction,
string  trgBackend 
) [virtual]

Add a (possibly backend-specific) trigger action to a table.

Triggers must be given unique, non-NULL names as some database backends require them. The returned value is a trigger handle or -1 if an error occurred.

override void Kitware.VTK.vtkSQLDatabaseSchema.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkObject.

string Kitware.VTK.vtkSQLDatabaseSchema.GetColumnAttributesFromHandle ( int  tblHandle,
int  colHandle 
)

Given the handles of a table and a column, get the attributes of the column.

int Kitware.VTK.vtkSQLDatabaseSchema.GetColumnHandleFromName ( string  tblName,
string  colName 
)

Given the names of a table and a column, get the handle of the column in this table.

string Kitware.VTK.vtkSQLDatabaseSchema.GetColumnNameFromHandle ( int  tblHandle,
int  colHandle 
)

Given the handles of a table and a column, get the name of the column.

int Kitware.VTK.vtkSQLDatabaseSchema.GetColumnSizeFromHandle ( int  tblHandle,
int  colHandle 
)

Given the handles of a table and a column, get the size of the column.

int Kitware.VTK.vtkSQLDatabaseSchema.GetColumnTypeFromHandle ( int  tblHandle,
int  colHandle 
)

Given the handles of a table and a column, get the type of the column.

string Kitware.VTK.vtkSQLDatabaseSchema.GetIndexColumnNameFromHandle ( int  tblHandle,
int  idxHandle,
int  cnmHandle 
)

Given the handles of a table, an index, and a column name, get the column name.

int Kitware.VTK.vtkSQLDatabaseSchema.GetIndexHandleFromName ( string  tblName,
string  idxName 
)

Given the names of a table and an index, get the handle of the index in this table.

string Kitware.VTK.vtkSQLDatabaseSchema.GetIndexNameFromHandle ( int  tblHandle,
int  idxHandle 
)

Given the handles of a table and an index, get the name of the index.

int Kitware.VTK.vtkSQLDatabaseSchema.GetIndexTypeFromHandle ( int  tblHandle,
int  idxHandle 
)

Given the handles of a table and an index, get the type of the index.

virtual string Kitware.VTK.vtkSQLDatabaseSchema.GetName ( ) [virtual]

Set/Get the name of the schema.

int Kitware.VTK.vtkSQLDatabaseSchema.GetNumberOfColumnNamesInIndex ( int  tblHandle,
int  idxHandle 
)

Get the number of column names associated to a particular index in a particular table .

Get the number of columns in a particular table .

Get the number of indices in a particular table .

Get the number of options associated with a particular table.

Get the number of preambles.

Get the number of tables.

Get the number of triggers defined for a particular table.

string Kitware.VTK.vtkSQLDatabaseSchema.GetOptionBackendFromHandle ( int  tblHandle,
int  trgHandle 
)

Given the handles of a table and one of its options, get the backend of the option.

string Kitware.VTK.vtkSQLDatabaseSchema.GetOptionTextFromHandle ( int  tblHandle,
int  optHandle 
)

Given the handles of a table and one of its options, return the text of the option.

Given a preamble handle, get its action.

Given a preamble handle, get its backend.

Given a preamble name, get its handle.

Given a preamble handle, get its name.

Given a table name, get its handle.

Given a table hanlde, get its name.

string Kitware.VTK.vtkSQLDatabaseSchema.GetTriggerActionFromHandle ( int  tblHandle,
int  trgHandle 
)

Given the handles of a table and a trigger, get the action of the trigger.

string Kitware.VTK.vtkSQLDatabaseSchema.GetTriggerBackendFromHandle ( int  tblHandle,
int  trgHandle 
)

Given the handles of a table and a trigger, get the backend of the trigger.

int Kitware.VTK.vtkSQLDatabaseSchema.GetTriggerHandleFromName ( string  tblName,
string  trgName 
)

Given the names of a trigger and a table, get the handle of the trigger in this table.

string Kitware.VTK.vtkSQLDatabaseSchema.GetTriggerNameFromHandle ( int  tblHandle,
int  trgHandle 
)

Given the handles of a table and a trigger, get the name of the trigger.

int Kitware.VTK.vtkSQLDatabaseSchema.GetTriggerTypeFromHandle ( int  tblHandle,
int  trgHandle 
)

Given the handles of a table and a trigger, get the type of the trigger.

override int Kitware.VTK.vtkSQLDatabaseSchema.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

static new int Kitware.VTK.vtkSQLDatabaseSchema.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reset the schema to its initial, empty state.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkSQLDatabaseSchema.SetName ( string  _arg) [virtual]

Set/Get the name of the schema.

static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddColumnToIndex_01 ( HandleRef  pThis,
int  tblHandle,
int  idxHandle,
int  colHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddColumnToIndex_02 ( HandleRef  pThis,
string  tblName,
string  idxName,
string  colName 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddColumnToTable_03 ( HandleRef  pThis,
int  tblHandle,
int  colType,
string  colName,
int  colSize,
string  colAttribs 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddColumnToTable_04 ( HandleRef  pThis,
string  tblName,
int  colType,
string  colName,
int  colSize,
string  colAttribs 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddIndexToTable_05 ( HandleRef  pThis,
int  tblHandle,
int  idxType,
string  idxName 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddIndexToTable_06 ( HandleRef  pThis,
string  tblName,
int  idxType,
string  idxName 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddOptionToTable_07 ( HandleRef  pThis,
int  tblHandle,
string  optStr,
string  optBackend 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddOptionToTable_08 ( HandleRef  pThis,
string  tblName,
string  optStr,
string  optBackend 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddPreamble_09 ( HandleRef  pThis,
string  preName,
string  preAction,
string  preBackend 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddTable_10 ( HandleRef  pThis,
string  tblName 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddTableMultipleArguments_11 ( HandleRef  pThis,
string  tblName 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddTriggerToTable_12 ( HandleRef  pThis,
int  tblHandle,
int  trgType,
string  trgName,
string  trgAction,
string  trgBackend 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_AddTriggerToTable_13 ( HandleRef  pThis,
string  tblName,
int  trgType,
string  trgName,
string  trgAction,
string  trgBackend 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetColumnAttributesFromHandle_14 ( HandleRef  pThis,
int  tblHandle,
int  colHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetColumnHandleFromName_15 ( HandleRef  pThis,
string  tblName,
string  colName 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetColumnNameFromHandle_16 ( HandleRef  pThis,
int  tblHandle,
int  colHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetColumnSizeFromHandle_17 ( HandleRef  pThis,
int  tblHandle,
int  colHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetColumnTypeFromHandle_18 ( HandleRef  pThis,
int  tblHandle,
int  colHandle 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetIndexColumnNameFromHandle_19 ( HandleRef  pThis,
int  tblHandle,
int  idxHandle,
int  cnmHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetIndexHandleFromName_20 ( HandleRef  pThis,
string  tblName,
string  idxName 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetIndexNameFromHandle_21 ( HandleRef  pThis,
int  tblHandle,
int  idxHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetIndexTypeFromHandle_22 ( HandleRef  pThis,
int  tblHandle,
int  idxHandle 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetName_23 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetNumberOfColumnNamesInIndex_24 ( HandleRef  pThis,
int  tblHandle,
int  idxHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetNumberOfColumnsInTable_25 ( HandleRef  pThis,
int  tblHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetNumberOfIndicesInTable_26 ( HandleRef  pThis,
int  tblHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetNumberOfOptionsInTable_27 ( HandleRef  pThis,
int  tblHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetNumberOfPreambles_28 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetNumberOfTables_29 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetNumberOfTriggersInTable_30 ( HandleRef  pThis,
int  tblHandle 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetOptionBackendFromHandle_31 ( HandleRef  pThis,
int  tblHandle,
int  trgHandle 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetOptionTextFromHandle_32 ( HandleRef  pThis,
int  tblHandle,
int  optHandle 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetPreambleActionFromHandle_33 ( HandleRef  pThis,
int  preHandle 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetPreambleBackendFromHandle_34 ( HandleRef  pThis,
int  preHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetPreambleHandleFromName_35 ( HandleRef  pThis,
string  preName 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetPreambleNameFromHandle_36 ( HandleRef  pThis,
int  preHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetTableHandleFromName_37 ( HandleRef  pThis,
string  tblName 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetTableNameFromHandle_38 ( HandleRef  pThis,
int  tblHandle 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetTriggerActionFromHandle_39 ( HandleRef  pThis,
int  tblHandle,
int  trgHandle 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetTriggerBackendFromHandle_40 ( HandleRef  pThis,
int  tblHandle,
int  trgHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetTriggerHandleFromName_41 ( HandleRef  pThis,
string  tblName,
string  trgName 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetTriggerNameFromHandle_42 ( HandleRef  pThis,
int  tblHandle,
int  trgHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_GetTriggerTypeFromHandle_43 ( HandleRef  pThis,
int  tblHandle,
int  trgHandle 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_IsA_44 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_IsTypeOf_45 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_NewInstance_47 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_Reset_48 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_SafeDownCast_49 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkSQLDatabaseSchema.vtkSQLDatabaseSchema_SetName_50 ( HandleRef  pThis,
string  _arg 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkSQLDatabaseSchema.MRClassNameKey = "20vtkSQLDatabaseSchema" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

new const string Kitware.VTK.vtkSQLDatabaseSchema.MRFullTypeName = "Kitware.VTK.vtkSQLDatabaseSchema"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


The documentation for this class was generated from the following file: