<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Wt: Wt::WDoubleValidator Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> </head> <body> <div id="top"><!-- do not remove this div! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Wt  <span id="projectnumber">3.2.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- Generated by Doxygen 1.7.5.1 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <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="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceWt.html">Wt</a> </li> <li class="navelem"><a class="el" href="classWt_1_1WDoubleValidator.html">WDoubleValidator</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">Wt::WDoubleValidator Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="Wt::WDoubleValidator" --><!-- doxytag: inherits="Wt::WValidator" --> <p>A validator for validating floating point user input. <a href="classWt_1_1WDoubleValidator.html#details">More...</a></p> <p><code>#include <Wt/WDoubleValidator></code></p> <div class="dynheader"> Inheritance diagram for Wt::WDoubleValidator:</div> <div class="dyncontent"> <div class="center"><img src="classWt_1_1WDoubleValidator__inherit__graph.png" border="0" usemap="#Wt_1_1WDoubleValidator_inherit__map" alt="Inheritance graph"/></div> <map name="Wt_1_1WDoubleValidator_inherit__map" id="Wt_1_1WDoubleValidator_inherit__map"> <area shape="rect" href="classWt_1_1WValidator.html" title="A validator is used to validate user input according to pre-defined rules." alt="" coords="25,80,135,107"/><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="32,5,128,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classWt_1_1WDoubleValidator-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60ac6a9c4da70a17daa84a41d04b87dd"></a><!-- doxytag: member="Wt::WDoubleValidator::WDoubleValidator" ref="a60ac6a9c4da70a17daa84a41d04b87dd" args="(WObject *parent=0)" -->  </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a60ac6a9c4da70a17daa84a41d04b87dd">WDoubleValidator</a> (<a class="el" href="classWt_1_1WObject.html">WObject</a> *parent=0)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new double validator that accepts any double. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a7b569012485ce6a217c47ffb26af24"></a><!-- doxytag: member="Wt::WDoubleValidator::WDoubleValidator" ref="a3a7b569012485ce6a217c47ffb26af24" args="(double minimum, double maximum, WObject *parent=0)" -->  </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a3a7b569012485ce6a217c47ffb26af24">WDoubleValidator</a> (double minimum, double maximum, <a class="el" href="classWt_1_1WObject.html">WObject</a> *parent=0)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new double validator that accepts double within the given range. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa1f6b0952651e5503e6ff6657bd09180"></a><!-- doxytag: member="Wt::WDoubleValidator::bottom" ref="aa1f6b0952651e5503e6ff6657bd09180" args="() const " --> double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#aa1f6b0952651e5503e6ff6657bd09180">bottom</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the bottom of the valid double range. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a520fe2f7859670b0c30144dbc4990e98">setBottom</a> (double bottom)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the bottom of the valid double range. <a href="#a520fe2f7859670b0c30144dbc4990e98"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a708124404d7088f51f458bee1641288d"></a><!-- doxytag: member="Wt::WDoubleValidator::top" ref="a708124404d7088f51f458bee1641288d" args="() const " --> double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a708124404d7088f51f458bee1641288d">top</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the top of the valid double range. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a931cc4c5d0409093f4a6fd8ab023ee73">setTop</a> (double top)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the top of the valid double range. <a href="#a931cc4c5d0409093f4a6fd8ab023ee73"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a160f579d7884d02786a1cc36ec3ecca1"></a><!-- doxytag: member="Wt::WDoubleValidator::setRange" ref="a160f579d7884d02786a1cc36ec3ecca1" args="(double bottom, double top)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a160f579d7884d02786a1cc36ec3ecca1">setRange</a> (double bottom, double top)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the range of valid doubles. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WValidator_1_1Result.html">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a83572a7226b8c6a09b88d7b7ec17fcef">validate</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &input) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Validates the given input. <a href="#a83572a7226b8c6a09b88d7b7ec17fcef"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a497f1ef7ea1b403665b9f1b7685954d4"></a><!-- doxytag: member="Wt::WDoubleValidator::createExtConfig" ref="a497f1ef7ea1b403665b9f1b7685954d4" args="(std::ostream &config) const " --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a497f1ef7ea1b403665b9f1b7685954d4">createExtConfig</a> (std::ostream &config) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides Ext-compatible config options for client-side validation. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a86e8f0e07b6c861af2e656575a329d47">setInvalidNotANumberText</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &text)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the message to display when the input is not a number. <a href="#a86e8f0e07b6c861af2e656575a329d47"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WString.html">WString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a474314e509e47d2a577a26841fe4a752">invalidNotANumberText</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the message displayed when the input is not a number. <a href="#a474314e509e47d2a577a26841fe4a752"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a119b5f1c2396f8d595c2607e76d27b1a">setInvalidTooSmallText</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &text)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the message to display when the number is too small. <a href="#a119b5f1c2396f8d595c2607e76d27b1a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WString.html">WString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a13fb51475bab73ea71405f6fa9158c6d">invalidTooSmallText</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the message displayed when the number is too small. <a href="#a13fb51475bab73ea71405f6fa9158c6d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a6c3fa94752583d7e2de640cf6b91cef7">setInvalidTooLargeText</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &text)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the message to display when the number is too large. <a href="#a6c3fa94752583d7e2de640cf6b91cef7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WString.html">WString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#aa0cf3c02568e85e24105c073d8ee319b">invalidTooLargeText</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the message displayed when the number is too large. <a href="#aa0cf3c02568e85e24105c073d8ee319b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#aed2cd8b4dab3144c567a91a2a6c79011">javaScriptValidate</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a Javascript object that validates the input. <a href="#aed2cd8b4dab3144c567a91a2a6c79011"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>A validator for validating floating point user input. </p> <p>This validator checks whether user input is a double in the pre-defined range.</p> <p>Usage example: </p> <div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WLineEdit.html" title="A widget that provides a single line edit.">Wt::WLineEdit</a> *lineEdit = <span class="keyword">new</span> <a class="code" href="classWt_1_1WLineEdit.html" title="A widget that provides a single line edit.">Wt::WLineEdit</a>(<span class="keyword">this</span>); <a class="code" href="classWt_1_1WDoubleValidator.html" title="A validator for validating floating point user input.">Wt::WDoubleValidator</a> *validator = <span class="keyword">new</span> <a class="code" href="classWt_1_1WDoubleValidator.html#a60ac6a9c4da70a17daa84a41d04b87dd" title="Creates a new double validator that accepts any double.">Wt::WDoubleValidator</a>(); lineEdit-><a class="code" href="classWt_1_1WFormWidget.html#aa773d16013d6959149ce5081e84b259c" title="Sets a validator for this field.">setValidator</a>(validator); lineEdit-><a class="code" href="classWt_1_1WLineEdit.html#addb99c6ab5483836adf44a2706a410af" title="Sets the content of the line edit.">setText</a>(<span class="stringliteral">"13.42"</span>); </pre></div><h3>i18n</h3> <p>The strings used in this class can be translated by overriding the default values for the following localization keys: Wt.WDoubleValidator.NotANumber: Must be a number Wt.WDoubleValidator.TooSmall: The number must be larger than {1} Wt.WDoubleValidator.BadRange: The number must be in the range {1} to {2} Wt.WDoubleValidator.TooLarge: The number must be smaller than {1} </p> </div><hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a474314e509e47d2a577a26841fe4a752"></a><!-- doxytag: member="Wt::WDoubleValidator::invalidNotANumberText" ref="a474314e509e47d2a577a26841fe4a752" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classWt_1_1WString.html">WString</a> Wt::WDoubleValidator::invalidNotANumberText </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the message displayed when the input is not a number. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WDoubleValidator.html#a86e8f0e07b6c861af2e656575a329d47" title="Sets the message to display when the input is not a number.">setInvalidNotANumberText(const WString&)</a> </dd></dl> </div> </div> <a class="anchor" id="aa0cf3c02568e85e24105c073d8ee319b"></a><!-- doxytag: member="Wt::WDoubleValidator::invalidTooLargeText" ref="aa0cf3c02568e85e24105c073d8ee319b" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classWt_1_1WString.html">WString</a> Wt::WDoubleValidator::invalidTooLargeText </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the message displayed when the number is too large. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WDoubleValidator.html#a6c3fa94752583d7e2de640cf6b91cef7" title="Sets the message to display when the number is too large.">setInvalidTooLargeText(const WString&)</a> </dd></dl> </div> </div> <a class="anchor" id="a13fb51475bab73ea71405f6fa9158c6d"></a><!-- doxytag: member="Wt::WDoubleValidator::invalidTooSmallText" ref="a13fb51475bab73ea71405f6fa9158c6d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classWt_1_1WString.html">WString</a> Wt::WDoubleValidator::invalidTooSmallText </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the message displayed when the number is too small. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WDoubleValidator.html#a119b5f1c2396f8d595c2607e76d27b1a" title="Sets the message to display when the number is too small.">setInvalidTooSmallText(const WString&)</a> </dd></dl> </div> </div> <a class="anchor" id="aed2cd8b4dab3144c567a91a2a6c79011"></a><!-- doxytag: member="Wt::WDoubleValidator::javaScriptValidate" ref="aed2cd8b4dab3144c567a91a2a6c79011" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Wt::WDoubleValidator::javaScriptValidate </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a Javascript object that validates the input. </p> <p>The JavaScript expression should evaluate to an object which contains a <code>validate(text)</code> function, which returns an object that contains the following two fields:</p> <ul> <li>fields: a boolean <em>valid</em>,</li> <li>a <code>message</code> that indicates the problem if not valid.</li> </ul> <p>Returns an empty string if the validator does not provide a client-side validation implementationq.</p> <dl class="note"><dt><b>Note:</b></dt><dd>The signature and contract changed changed in Wt 3.1.9.</dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WValidator.html#a1ca29b7eaabf4c1655200ec382a84554" title="Returns a regular expression that filters input.">inputFilter()</a> </dd></dl> <p>Reimplemented from <a class="el" href="classWt_1_1WValidator.html#a2aca1c34abaf4a35b972c3cf82ce1e48">Wt::WValidator</a>.</p> </div> </div> <a class="anchor" id="a520fe2f7859670b0c30144dbc4990e98"></a><!-- doxytag: member="Wt::WDoubleValidator::setBottom" ref="a520fe2f7859670b0c30144dbc4990e98" args="(double bottom)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Wt::WDoubleValidator::setBottom </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>bottom</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the bottom of the valid double range. </p> <p>The default value is the minimum double value. </p> </div> </div> <a class="anchor" id="a86e8f0e07b6c861af2e656575a329d47"></a><!-- doxytag: member="Wt::WDoubleValidator::setInvalidNotANumberText" ref="a86e8f0e07b6c861af2e656575a329d47" args="(const WString &text)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Wt::WDoubleValidator::setInvalidNotANumberText </td> <td>(</td> <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> & </td> <td class="paramname"><em>text</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the message to display when the input is not a number. </p> <p>The default value is "Must be a number." </p> </div> </div> <a class="anchor" id="a6c3fa94752583d7e2de640cf6b91cef7"></a><!-- doxytag: member="Wt::WDoubleValidator::setInvalidTooLargeText" ref="a6c3fa94752583d7e2de640cf6b91cef7" args="(const WString &text)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Wt::WDoubleValidator::setInvalidTooLargeText </td> <td>(</td> <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> & </td> <td class="paramname"><em>text</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the message to display when the number is too large. </p> <p>Depending on whether <a class="el" href="classWt_1_1WDoubleValidator.html#aa1f6b0952651e5503e6ff6657bd09180" title="Returns the bottom of the valid double range.">bottom()</a> and <a class="el" href="classWt_1_1WDoubleValidator.html#a708124404d7088f51f458bee1641288d" title="Returns the top of the valid double range.">top()</a> are real bounds, the default message is "The number must be between {1} and {2}" or "The number must be smaller than {2}". </p> </div> </div> <a class="anchor" id="a119b5f1c2396f8d595c2607e76d27b1a"></a><!-- doxytag: member="Wt::WDoubleValidator::setInvalidTooSmallText" ref="a119b5f1c2396f8d595c2607e76d27b1a" args="(const WString &text)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Wt::WDoubleValidator::setInvalidTooSmallText </td> <td>(</td> <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> & </td> <td class="paramname"><em>text</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the message to display when the number is too small. </p> <p>Depending on whether <a class="el" href="classWt_1_1WDoubleValidator.html#aa1f6b0952651e5503e6ff6657bd09180" title="Returns the bottom of the valid double range.">bottom()</a> and <a class="el" href="classWt_1_1WDoubleValidator.html#a708124404d7088f51f458bee1641288d" title="Returns the top of the valid double range.">top()</a> are real bounds, the default message is "The number must be between {1} and {2}" or "The number must be larger than {1}". </p> </div> </div> <a class="anchor" id="a931cc4c5d0409093f4a6fd8ab023ee73"></a><!-- doxytag: member="Wt::WDoubleValidator::setTop" ref="a931cc4c5d0409093f4a6fd8ab023ee73" args="(double top)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Wt::WDoubleValidator::setTop </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>top</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the top of the valid double range. </p> <p>The default value is the maximum double value. </p> </div> </div> <a class="anchor" id="a83572a7226b8c6a09b88d7b7ec17fcef"></a><!-- doxytag: member="Wt::WDoubleValidator::validate" ref="a83572a7226b8c6a09b88d7b7ec17fcef" args="(const WString &input) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classWt_1_1WValidator_1_1Result.html">WValidator::Result</a> Wt::WDoubleValidator::validate </td> <td>(</td> <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> & </td> <td class="paramname"><em>input</em></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Validates the given input. </p> <p>The input is considered valid only when it is blank for a non-mandatory field, or represents a double within the valid range. </p> <p>Reimplemented from <a class="el" href="classWt_1_1WValidator.html#a78808215d68944dedca11ff8889374ed">Wt::WValidator</a>.</p> </div> </div> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <hr size="1"><address style="text-align: right; margin: 3px"><small> Generated on Thu Nov 1 2012 for <a href="http://www.webtoolkit.eu/wt">the C++ Web Toolkit (Wt)</a> by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" border="0" style="vertical-align: middle; display: inline-block; height: 2em"></a> 1.7.5.1</small></address> </body> </html>