<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VTK: vtkRowQueryToTable Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>vtkRowQueryToTable Class Reference</h1><!-- doxytag: class="vtkRowQueryToTable" --><!-- doxytag: inherits="vtkTableAlgorithm" --><code>#include <<a class="el" href="a04977.html">vtkRowQueryToTable.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkRowQueryToTable:</div> <div class="dynsection"> <p><center><img src="a14236.png" border="0" usemap="#a14237" alt="Inheritance graph"></center> <map name="a14237"> <area shape="rect" href="a01658.html" title="Superclass for algorithms that produce only vtkTables as output." alt="" coords="17,229,148,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="33,155,132,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="43,80,123,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="28,5,137,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkRowQueryToTable:</div> <div class="dynsection"> <p><center><img src="a14238.png" border="0" usemap="#a14239" alt="Collaboration graph"></center> <map name="a14239"> <area shape="rect" href="a01658.html" title="Superclass for algorithms that produce only vtkTables as output." alt="" coords="196,499,327,525"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="247,381,345,408"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="395,499,493,525"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="460,173,540,200"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="425,264,575,291"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="180,264,289,291"><area shape="rect" href="a01501.html" title="abstract interface for queries that return row-oriented results." alt="" coords="744,317,848,344"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="237,5,347,32"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="211,173,373,200"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="227,83,357,109"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="381,83,491,109"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="5,173,187,200"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a14240.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> executes an sql query and retrieves results into a table <p> <a class="el" href="a01502.html" title="executes an sql query and retrieves results into a table">vtkRowQueryToTable</a> creates a <a class="el" href="a01657.html" title="A table, which contains similar-typed columns of data.">vtkTable</a> with the results of an arbitrary SQL query. To use this filter, you first need an instance of a <a class="el" href="a01593.html" title="maintain a connection to an sql database">vtkSQLDatabase</a> subclass. You may use the database class to obtain a <a class="el" href="a01501.html" title="abstract interface for queries that return row-oriented results.">vtkRowQuery</a> instance. Set that query on this filter to extract the query as a table.<p> <dl class="user" compact><dt><b>Thanks:</b></dt><dd>Thanks to Andrew Wilson from Sandia National Laboratories for his work on the database classes.</dd></dl> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a01593.html" title="maintain a connection to an sql database">vtkSQLDatabase</a> <a class="el" href="a01501.html" title="abstract interface for queries that return row-oriented results.">vtkRowQuery</a></dd></dl> <dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_14.html#c2_vtk_t_vtkRowQueryToTable">vtkRowQueryToTable (Tests)</a> </dd></dl> <p>Definition at line <a class="el" href="a04977.html#l00047">47</a> of file <a class="el" href="a04977.html">vtkRowQueryToTable.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a01658.html">vtkTableAlgorithm</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#f0b23f4812f777df6b993e3d83e8968d">Superclass</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#5e908ea3f08a1ce811dda5a8a000d216">GetClassName</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#4f33f6f03468ec114c02568ddf2dd4c4">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#c3f31f7ee9c3dce82030449329e0b499">PrintSelf</a> (ostream &os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#9fe58ed839b1dc8b035aa8c9761aa3d2">GetMTime</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#33f01f239293a61e4fa48cfcd3c12018">SetQuery</a> (<a class="el" href="a01501.html">vtkRowQuery</a> *query)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="a01501.html">vtkRowQuery</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#93a64bd62f10666a73ad64760ff2214b">GetQuery</a> ()</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01502.html">vtkRowQueryToTable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#790dfb60221348d355ffb01b576b1014">New</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#c195cc0660f6e778ad68fe03d1a9b7c1">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01502.html">vtkRowQueryToTable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#825c1dabe69162b00280d8d34e88d0ad">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#022020c01c67b6e5b6480805aa7aa195">vtkRowQueryToTable</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#d69f41965e07f4118ac5127d5c39e225">~vtkRowQueryToTable</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#48f7c103892e83f62211727ba5ad41af">RequestData</a> (<a class="el" href="a00872.html">vtkInformation</a> *, <a class="el" href="a00895.html">vtkInformationVector</a> **, <a class="el" href="a00895.html">vtkInformationVector</a> *)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a01501.html">vtkRowQuery</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01502.html#2962a471ed5120d1bc127b7fd81718c9">Query</a></td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="f0b23f4812f777df6b993e3d83e8968d"></a><!-- doxytag: member="vtkRowQueryToTable::Superclass" ref="f0b23f4812f777df6b993e3d83e8968d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a01658.html">vtkTableAlgorithm</a> <a class="el" href="a01658.html">vtkRowQueryToTable::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01658.html#e71eff4b26bf9f313690008c05fc3263">vtkTableAlgorithm</a>.</p> <p>Definition at line <a class="el" href="a04977.html#l00051">51</a> of file <a class="el" href="a04977.html">vtkRowQueryToTable.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="022020c01c67b6e5b6480805aa7aa195"></a><!-- doxytag: member="vtkRowQueryToTable::vtkRowQueryToTable" ref="022020c01c67b6e5b6480805aa7aa195" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkRowQueryToTable::vtkRowQueryToTable </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="d69f41965e07f4118ac5127d5c39e225"></a><!-- doxytag: member="vtkRowQueryToTable::~vtkRowQueryToTable" ref="d69f41965e07f4118ac5127d5c39e225" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkRowQueryToTable::~vtkRowQueryToTable </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="790dfb60221348d355ffb01b576b1014"></a><!-- doxytag: member="vtkRowQueryToTable::New" ref="790dfb60221348d355ffb01b576b1014" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01502.html">vtkRowQueryToTable</a>* vtkRowQueryToTable::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create an object with Debug turned off, modified time initialized to zero, and reference counting on. <p>Reimplemented from <a class="el" href="a01658.html#1e8db94a40b1fa7946147f5b8322c13a">vtkTableAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="5e908ea3f08a1ce811dda5a8a000d216"></a><!-- doxytag: member="vtkRowQueryToTable::GetClassName" ref="5e908ea3f08a1ce811dda5a8a000d216" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkRowQueryToTable::GetClassName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01658.html#a2bc407279f13174f55d8226b1cb69b9">vtkTableAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="c195cc0660f6e778ad68fe03d1a9b7c1"></a><!-- doxytag: member="vtkRowQueryToTable::IsTypeOf" ref="c195cc0660f6e778ad68fe03d1a9b7c1" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkRowQueryToTable::IsTypeOf </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> 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 vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a01658.html#6c1959af90dc7bdd9180e67d73c602a5">vtkTableAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="4f33f6f03468ec114c02568ddf2dd4c4"></a><!-- doxytag: member="vtkRowQueryToTable::IsA" ref="4f33f6f03468ec114c02568ddf2dd4c4" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkRowQueryToTable::IsA </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> 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 vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a01658.html#089c6101c9eda87d65dbb946f4e211ad">vtkTableAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="825c1dabe69162b00280d8d34e88d0ad"></a><!-- doxytag: member="vtkRowQueryToTable::SafeDownCast" ref="825c1dabe69162b00280d8d34e88d0ad" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01502.html">vtkRowQueryToTable</a>* vtkRowQueryToTable::SafeDownCast </td> <td>(</td> <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> * </td> <td class="paramname"> <em>o</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01658.html#a9373d392d3f520454d52ef6adaa09e3">vtkTableAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="c3f31f7ee9c3dce82030449329e0b499"></a><!-- doxytag: member="vtkRowQueryToTable::PrintSelf" ref="c3f31f7ee9c3dce82030449329e0b499" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkRowQueryToTable::PrintSelf </td> <td>(</td> <td class="paramtype">ostream & </td> <td class="paramname"> <em>os</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a> </td> <td class="paramname"> <em>indent</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. <p>Reimplemented from <a class="el" href="a01658.html#368da4c8eb6cbcda080c54addaee1fe5">vtkTableAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="33f01f239293a61e4fa48cfcd3c12018"></a><!-- doxytag: member="vtkRowQueryToTable::SetQuery" ref="33f01f239293a61e4fa48cfcd3c12018" args="(vtkRowQuery *query)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkRowQueryToTable::SetQuery </td> <td>(</td> <td class="paramtype"><a class="el" href="a01501.html">vtkRowQuery</a> * </td> <td class="paramname"> <em>query</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> The query to execute. </div> </div><p> <a class="anchor" name="93a64bd62f10666a73ad64760ff2214b"></a><!-- doxytag: member="vtkRowQueryToTable::GetQuery" ref="93a64bd62f10666a73ad64760ff2214b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a01501.html">vtkRowQuery</a>* vtkRowQueryToTable::GetQuery </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> The query to execute. </div> </div><p> <a class="anchor" name="9fe58ed839b1dc8b035aa8c9761aa3d2"></a><!-- doxytag: member="vtkRowQueryToTable::GetMTime" ref="9fe58ed839b1dc8b035aa8c9761aa3d2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned long vtkRowQueryToTable::GetMTime </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Update the modified time based on the query. <p>Reimplemented from <a class="el" href="a01084.html#8137c0551b29bb996f0dd2f886bcd2da">vtkObject</a>.</p> </div> </div><p> <a class="anchor" name="48f7c103892e83f62211727ba5ad41af"></a><!-- doxytag: member="vtkRowQueryToTable::RequestData" ref="48f7c103892e83f62211727ba5ad41af" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int vtkRowQueryToTable::RequestData </td> <td>(</td> <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> * </td> <td class="paramname"> <em>request</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> ** </td> <td class="paramname"> <em>inputVector</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> * </td> <td class="paramname"> <em>outputVector</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> This is called by the superclass. This is the method you should override. <p>Reimplemented from <a class="el" href="a01658.html#76ecb5162644ca3bd5bcd900abfa8809">vtkTableAlgorithm</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="2962a471ed5120d1bc127b7fd81718c9"></a><!-- doxytag: member="vtkRowQueryToTable::Query" ref="2962a471ed5120d1bc127b7fd81718c9" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a01501.html">vtkRowQuery</a>* <a class="el" href="a01502.html#2962a471ed5120d1bc127b7fd81718c9">vtkRowQueryToTable::Query</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a04977.html#l00067">67</a> of file <a class="el" href="a04977.html">vtkRowQueryToTable.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/IO/<a class="el" href="a04977.html">vtkRowQueryToTable.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:32:17 2009 for VTK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>