1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
<HTML>
<HEAD>
<TITLE>class datatype</TITLE>
<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
<TABLE BORDER="0">
<TR><TD valign="top" align="left" cellspacing="10">
<h1>class datatype</h1>
</TD>
<TD valign="top" align="right" colspan="1"> Describes an available datatype for the database. <small><A HREF="#longdesc">More...</A></small></TD></TR>
</TABLE>
<HR>
<TABLE BORDER="0">
<TR><TH>Full name</TH><TD><code><A HREF="toExtract.html">toExtract</A>::datatype</code></TD></TR>
<TR><TH>Definition</TH><TD><code>#include <<A HREF="toextract_h.html">toextract.h</A>></code></TD></TR>
<TR><TH><A HREF="full-list-toExtract__datatype.html">List of all Methods</A></TH></TR>
</TABLE>
</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI> <b><A HREF="#ref4">datatype</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &name,int maxLength=-1,int maxPrecision=-1)
</LI>
<LI>bool <b><A HREF="#ref5">hasLength</A></b> ()
</LI>
<LI>bool <b><A HREF="#ref6">hasPrecision</A></b> ()
</LI>
<LI>int <b><A HREF="#ref7">maxLength</A></b> ()
</LI>
<LI>int <b><A HREF="#ref8">maxPrecision</A></b> ()
</LI>
<LI>const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> & <b><A HREF="#ref9">name</A></b> ()
</LI>
<LI>bool <b><A HREF="#ref10">operator < </A></b> (const datatype &dat) const
</LI>
<LI>bool <b><A HREF="#ref11">operator == </A></b> (const datatype &dat) const
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> Describes an available datatype for the database.
</p>
<A NAME="datatype"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>datatype</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &name,int maxLength=-1,int maxPrecision=-1)
<br></td><td align="right"><h3><strong>datatype</strong></h3></td></tr></table><p></p><p> Create a new datatype description.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of datatype.
</TD></TR>
<TR><TD align="left" valign="top"><i>maxLength</i></TD><TD align="left" valign="top">Maximum length of parameter if length is needed.
</TD></TR>
<TR><TD align="left" valign="top"><i>maxPrecision</i></TD><TD align="left" valign="top">Maximum precision of parameter if precision is supported.
</TD></TR>
</TABLE></P>
<A NAME="hasLength"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>hasLength</strong> ()
<br></td><td align="right"><h3><strong>hasLength</strong></h3></td></tr></table><p></p><p> Returns true if type has length specification.
</p>
<A NAME="hasPrecision"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>hasPrecision</strong> ()
<br></td><td align="right"><h3><strong>hasPrecision</strong></h3></td></tr></table><p></p><p> Returns true if type has precision specification.
</p>
<A NAME="maxLength"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>maxLength</strong> ()
<br></td><td align="right"><h3><strong>maxLength</strong></h3></td></tr></table><p></p><p> Get the maximum length value.
</p>
<A NAME="maxPrecision"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>maxPrecision</strong> ()
<br></td><td align="right"><h3><strong>maxPrecision</strong></h3></td></tr></table><p></p><p> Get the maximum precision of the datatype.
</p>
<A NAME="name"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td>const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> & <strong>name</strong> ()
<br></td><td align="right"><h3><strong>name</strong></h3></td></tr></table><p></p><p> Get the name of the datatype.
</p>
<A NAME="operator%20%3C%20"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>operator < </strong> (const datatype &dat)
<br></td><td align="right"><h3><strong>operator < </strong></h3></td></tr></table><p> <small>[const]</small></p><p> Implemented so that you can easily sort a list of them. Just compares the names.
</p>
<A NAME="operator%20==%20"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>operator == </strong> (const datatype &dat)
<br></td><td align="right"><h3><strong>operator == </strong></h3></td></tr></table><p> <small>[const]</small></p><p> Implemented so that you can easily sort a list of them. Just compares the names.
</p>
<HR>
<table>
<tr><td><small>Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.</small></td></tr>
</table>
</BODY>
</HTML>
|