VTK
|
#include <vtkTableToDatabaseWriter.h>
Public Types | |
typedef vtkTableWriter | Superclass |
![]() | |
![]() | |
![]() | |
![]() | |
![]() |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
bool | SetDatabase (vtkSQLDatabase *db) |
bool | SetTableName (const char *name) |
bool | TableNameIsNew () |
vtkSQLDatabase * | GetDatabase () |
vtkTable * | GetInput () |
vtkTable * | GetInput (int port) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkTableToDatabaseWriter * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkTableWriter * | New () |
Protected Attributes | |
vtkSQLDatabase * | Database |
vtkTable * | Input |
vtkstd::string | TableName |
in a SQL database.
vtkTableToDatabaseWriter abstract parent class that reads a vtkTable and inserts it into an SQL database.
Definition at line 31 of file vtkTableToDatabaseWriter.h.
Reimplemented from vtkTableWriter.
Reimplemented in vtkTableToMySQLWriter, vtkTableToPostgreSQLWriter, and vtkTableToSQLiteWriter.
Definition at line 34 of file vtkTableToDatabaseWriter.h.
|
protected |
|
protected |
|
virtual |
Reimplemented from vtkTableWriter.
Reimplemented in vtkTableToMySQLWriter, vtkTableToPostgreSQLWriter, and vtkTableToSQLiteWriter.
|
static |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkTableWriter.
Reimplemented in vtkTableToMySQLWriter, vtkTableToPostgreSQLWriter, and vtkTableToSQLiteWriter.
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkTableWriter.
Reimplemented in vtkTableToMySQLWriter, vtkTableToPostgreSQLWriter, and vtkTableToSQLiteWriter.
|
static |
Reimplemented from vtkTableWriter.
Reimplemented in vtkTableToMySQLWriter, vtkTableToPostgreSQLWriter, and vtkTableToSQLiteWriter.
|
virtual |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkTableWriter.
Reimplemented in vtkTableToMySQLWriter, vtkTableToPostgreSQLWriter, and vtkTableToSQLiteWriter.
bool vtkTableToDatabaseWriter::SetDatabase | ( | vtkSQLDatabase * | db | ) |
Set the database. Must already be open.
bool vtkTableToDatabaseWriter::SetTableName | ( | const char * | name | ) |
Set the name of the new SQL table that you'd this writer to create. Returns false if the specified table already exists in the database.
bool vtkTableToDatabaseWriter::TableNameIsNew | ( | ) |
Check if the currently specified table name exists in the database.
|
inline |
Definition at line 47 of file vtkTableToDatabaseWriter.h.
vtkTable* vtkTableToDatabaseWriter::GetInput | ( | ) |
Get the input to this writer.
Reimplemented from vtkTableWriter.
Reimplemented in vtkTableToMySQLWriter, vtkTableToPostgreSQLWriter, and vtkTableToSQLiteWriter.
vtkTable* vtkTableToDatabaseWriter::GetInput | ( | int | port | ) |
Get the input to this writer.
Reimplemented from vtkTableWriter.
Reimplemented in vtkTableToMySQLWriter, vtkTableToPostgreSQLWriter, and vtkTableToSQLiteWriter.
|
protectedpure virtual |
Reimplemented from vtkTableWriter.
Implemented in vtkTableToMySQLWriter, vtkTableToPostgreSQLWriter, and vtkTableToSQLiteWriter.
|
protectedvirtual |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkTableWriter.
Reimplemented in vtkTableToMySQLWriter, vtkTableToPostgreSQLWriter, and vtkTableToSQLiteWriter.
|
protected |
Definition at line 63 of file vtkTableToDatabaseWriter.h.
|
protected |
Reimplemented in vtkTableToMySQLWriter, vtkTableToPostgreSQLWriter, and vtkTableToSQLiteWriter.
Definition at line 64 of file vtkTableToDatabaseWriter.h.
|
protected |
Definition at line 66 of file vtkTableToDatabaseWriter.h.