<!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>GNU CommonC++: ost::IPV4Validator Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</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><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</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 class="navpath"><a class="el" href="namespaceost.html">ost</a>::<a class="el" href="classost_1_1_i_p_v4_validator.html">IPV4Validator</a> </div> </div> <div class="contents"> <h1>ost::IPV4Validator Class Reference</h1><!-- doxytag: class="ost::IPV4Validator" --> <p>Classes derived from <a class="el" href="classost_1_1_i_p_v4_address.html" title="The network name and address objects are all derived from a common IPV4Address base...">IPV4Address</a> would require an specific validator to pass to the <a class="el" href="classost_1_1_i_p_v4_address.html" title="The network name and address objects are all derived from a common IPV4Address base...">IPV4Address</a> constructor. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="address_8h_source.html">address.h</a>></code></p> <div class="dynheader"> Inheritance diagram for ost::IPV4Validator:</div> <div class="dynsection"> <div class="center"> <img src="classost_1_1_i_p_v4_validator.png" usemap="#ost::IPV4Validator_map" alt=""/> <map id="ost::IPV4Validator_map" name="ost::IPV4Validator_map"> <area href="classost_1_1_i_p_v4_multicast_validator.html" alt="ost::IPV4MulticastValidator" shape="rect" coords="0,56,162,80"/> </map> </div> </div> <p><a href="classost_1_1_i_p_v4_validator-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_i_p_v4_validator.html#a7e956f4f4119903b31019bd341fbf634">IPV4Validator</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a7e956f4f4119903b31019bd341fbf634"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_i_p_v4_validator.html#a521d077f3f97da572ce32f354cfe61e6">~IPV4Validator</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">keeps compilers happy. <a href="#a521d077f3f97da572ce32f354cfe61e6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_i_p_v4_validator.html#a650c5c5864aa9203213955ca3950c654">operator()</a> (const in_addr address) const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Pure virtual application operator. <a href="#a650c5c5864aa9203213955ca3950c654"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Classes derived from <a class="el" href="classost_1_1_i_p_v4_address.html" title="The network name and address objects are all derived from a common IPV4Address base...">IPV4Address</a> would require an specific validator to pass to the <a class="el" href="classost_1_1_i_p_v4_address.html" title="The network name and address objects are all derived from a common IPV4Address base...">IPV4Address</a> constructor. </p> <p>This is a base class for classes of function objects used by such derived classes.</p> <dl class="author"><dt><b>Author:</b></dt><dd>Federico Montesino <<a href="mailto:p5087@quintero.fie.us.es">p5087@quintero.fie.us.es</a>> Abstract base class for derived inet addresses validators. </dd></dl> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a7e956f4f4119903b31019bd341fbf634"></a><!-- doxytag: member="ost::IPV4Validator::IPV4Validator" ref="a7e956f4f4119903b31019bd341fbf634" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ost::IPV4Validator::IPV4Validator </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor. </p> <p>Does not deal with any state. </p> </div> </div> <a class="anchor" id="a521d077f3f97da572ce32f354cfe61e6"></a><!-- doxytag: member="ost::IPV4Validator::~IPV4Validator" ref="a521d077f3f97da572ce32f354cfe61e6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual ost::IPV4Validator::~IPV4Validator </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>keeps compilers happy. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a650c5c5864aa9203213955ca3950c654"></a><!-- doxytag: member="ost::IPV4Validator::operator()" ref="a650c5c5864aa9203213955ca3950c654" args="(const in_addr address) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void ost::IPV4Validator::operator() </td> <td>(</td> <td class="paramtype">const in_addr </td> <td class="paramname"> <em>address</em></td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Pure virtual application operator. </p> <p>Apply the validation algorithm specific to derived classes. </p> <p>Implemented in <a class="el" href="classost_1_1_i_p_v4_multicast_validator.html#ad7323050897677ff472c578a0a82d916">ost::IPV4MulticastValidator</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="address_8h_source.html">address.h</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Fri Mar 12 10:07:39 2010 for GNU CommonC++ by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>