vtkRowQueryToTable Class Reference

#include <vtkRowQueryToTable.h>

Inheritance diagram for vtkRowQueryToTable:

Inheritance graph
[legend]
Collaboration diagram for vtkRowQueryToTable:

Collaboration graph
[legend]

List of all members.


Detailed Description

executes an sql query and retrieves results into a table

vtkRowQueryToTable creates a vtkTable with the results of an arbitrary SQL query. To use this filter, you first need an instance of a vtkSQLDatabase subclass. You may use the database class to obtain a vtkRowQuery instance. Set that query on this filter to extract the query as a table.

Thanks:
Thanks to Andrew Wilson from Sandia National Laboratories for his work on the database classes.
See also:
vtkSQLDatabase vtkRowQuery
Examples:
vtkRowQueryToTable (Examples)
Tests:
vtkRowQueryToTable (Tests)

Definition at line 50 of file vtkRowQueryToTable.h.


Public Types

typedef vtkTableAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
unsigned long GetMTime ()
void SetQuery (vtkRowQuery *query)
virtual vtkRowQueryGetQuery ()

Static Public Member Functions

static vtkRowQueryToTableNew ()
static int IsTypeOf (const char *type)
static vtkRowQueryToTableSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkRowQueryToTable ()
 ~vtkRowQueryToTable ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

vtkRowQueryQuery

Member Typedef Documentation

Reimplemented from vtkTableAlgorithm.

Definition at line 54 of file vtkRowQueryToTable.h.


Constructor & Destructor Documentation

vtkRowQueryToTable::vtkRowQueryToTable (  )  [protected]

vtkRowQueryToTable::~vtkRowQueryToTable (  )  [protected]


Member Function Documentation

static vtkRowQueryToTable* vtkRowQueryToTable::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkTableAlgorithm.

virtual const char* vtkRowQueryToTable::GetClassName (  )  [virtual]

Reimplemented from vtkTableAlgorithm.

static int vtkRowQueryToTable::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 vtkTableAlgorithm.

virtual int vtkRowQueryToTable::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 vtkTableAlgorithm.

static vtkRowQueryToTable* vtkRowQueryToTable::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkTableAlgorithm.

void vtkRowQueryToTable::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 vtkTableAlgorithm.

void vtkRowQueryToTable::SetQuery ( vtkRowQuery query  ) 

The query to execute.

virtual vtkRowQuery* vtkRowQueryToTable::GetQuery (  )  [virtual]

The query to execute.

unsigned long vtkRowQueryToTable::GetMTime (  )  [virtual]

Update the modified time based on the query.

Reimplemented from vtkObject.

int vtkRowQueryToTable::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkTableAlgorithm.


Member Data Documentation

Definition at line 70 of file vtkRowQueryToTable.h.


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

Generated on Wed Aug 24 12:04:24 2011 for VTK by  doxygen 1.5.6