VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkTableToPostgreSQLWriter Class Reference

store a vtkTable in a PostgreSQL database More...

#include <vtkTableToPostgreSQLWriter.h>

Inheritance diagram for vtkTableToPostgreSQLWriter:
[legend]
Collaboration diagram for vtkTableToPostgreSQLWriter:
[legend]

List of all members.

Public Types

typedef vtkTableToDatabaseWriter Superclass
- Public Types inherited from vtkTableToDatabaseWriter
- Public Types inherited from vtkTableWriter
- Public Types inherited from vtkDataWriter
- Public Types inherited from vtkWriter
- Public Types inherited from vtkAlgorithm
- Public Types inherited from vtkObject

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
vtkTableGetInput ()
vtkTableGetInput (int port)
- Public Member Functions inherited from vtkTableToDatabaseWriter
bool SetDatabase (vtkSQLDatabase *db)
bool SetTableName (const char *name)
bool TableNameIsNew ()
vtkSQLDatabaseGetDatabase ()

Static Public Member Functions

static vtkTableToPostgreSQLWriterNew ()
static int IsTypeOf (const char *type)
static vtkTableToPostgreSQLWriterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkTableToPostgreSQLWriter ()
 ~vtkTableToPostgreSQLWriter ()
void WriteData ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
- Protected Member Functions inherited from vtkTableToDatabaseWriter
 vtkTableToDatabaseWriter ()
 ~vtkTableToDatabaseWriter ()
- Protected Member Functions inherited from vtkTableWriter
 vtkTableWriter ()
 ~vtkTableWriter ()
- Protected Member Functions inherited from vtkDataWriter
 vtkDataWriter ()
 ~vtkDataWriter ()
int WriteArray (ostream *fp, int dataType, vtkAbstractArray *data, const char *format, int num, int numComp)
int WriteScalarData (ostream *fp, vtkDataArray *s, int num)
int WriteVectorData (ostream *fp, vtkDataArray *v, int num)
int WriteNormalData (ostream *fp, vtkDataArray *n, int num)
int WriteTCoordData (ostream *fp, vtkDataArray *tc, int num)
int WriteTensorData (ostream *fp, vtkDataArray *t, int num)
int WriteGlobalIdData (ostream *fp, vtkDataArray *g, int num)
int WritePedigreeIdData (ostream *fp, vtkAbstractArray *p, int num)
- Protected Member Functions inherited from vtkWriter
 vtkWriter ()
 ~vtkWriter ()
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 ~vtkAlgorithm ()
virtual int FillOutputPortInformation (int port, vtkInformation *info)
virtual void SetNumberOfInputPorts (int n)
virtual void SetNumberOfOutputPorts (int n)
int InputPortIndexInRange (int index, const char *action)
int OutputPortIndexInRange (int index, const char *action)
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
virtual vtkExecutiveCreateDefaultExecutive ()
virtual void ReportReferences (vtkGarbageCollector *)
virtual void SetNumberOfInputConnections (int port, int n)
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
int GetInputArrayAssociation (int idx, vtkDataObject *input)
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
virtual void SetErrorCode (unsigned long)
- Protected Member Functions inherited from vtkObject
 vtkObject ()
virtual ~vtkObject ()
virtual void RegisterInternal (vtkObjectBase *, int check)
virtual void UnRegisterInternal (vtkObjectBase *, int check)
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void InternalReleaseFocus ()
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
virtual ~vtkObjectBase ()
virtual void CollectRevisions (ostream &os)
 vtkObjectBase (const vtkObjectBase &)
void operator= (const vtkObjectBase &)

Protected Attributes

vtkTableInput
- Protected Attributes inherited from vtkTableToDatabaseWriter
vtkSQLDatabaseDatabase
vtkstd::string TableName

Detailed Description

store a vtkTable in a PostgreSQL database

vtkTableToPostgreSQLWriter reads a vtkTable and inserts it into a PostgreSQL database.

Tests:
vtkTableToPostgreSQLWriter (Tests)

Definition at line 32 of file vtkTableToPostgreSQLWriter.h.


Member Typedef Documentation

Reimplemented from vtkTableToDatabaseWriter.

Definition at line 36 of file vtkTableToPostgreSQLWriter.h.


Constructor & Destructor Documentation

vtkTableToPostgreSQLWriter::vtkTableToPostgreSQLWriter ( )
protected
vtkTableToPostgreSQLWriter::~vtkTableToPostgreSQLWriter ( )
protected

Member Function Documentation

static vtkTableToPostgreSQLWriter* vtkTableToPostgreSQLWriter::New ( )
static

Created object with default header, ASCII format, and default names for scalars, vectors, tensors, normals, and texture coordinates.

Reimplemented from vtkTableWriter.

virtual const char* vtkTableToPostgreSQLWriter::GetClassName ( )
virtual

Reimplemented from vtkTableToDatabaseWriter.

static int vtkTableToPostgreSQLWriter::IsTypeOf ( const char *  name)
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 vtkTableToDatabaseWriter.

virtual int vtkTableToPostgreSQLWriter::IsA ( const char *  name)
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 vtkTableToDatabaseWriter.

static vtkTableToPostgreSQLWriter* vtkTableToPostgreSQLWriter::SafeDownCast ( vtkObject o)
static

Reimplemented from vtkTableToDatabaseWriter.

void vtkTableToPostgreSQLWriter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 vtkTableToDatabaseWriter.

vtkTable* vtkTableToPostgreSQLWriter::GetInput ( )

Get the input to this writer.

Reimplemented from vtkTableToDatabaseWriter.

vtkTable* vtkTableToPostgreSQLWriter::GetInput ( int  port)

Get the input to this writer.

Reimplemented from vtkTableToDatabaseWriter.

void vtkTableToPostgreSQLWriter::WriteData ( )
protectedvirtual
virtual int vtkTableToPostgreSQLWriter::FillInputPortInformation ( int  port,
vtkInformation info 
)
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 vtkTableToDatabaseWriter.


Member Data Documentation

vtkTable* vtkTableToPostgreSQLWriter::Input
protected

Reimplemented from vtkTableToDatabaseWriter.

Definition at line 52 of file vtkTableToPostgreSQLWriter.h.


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