Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-backports > by-pkgid > 9601c7beb4ff23e834bfa171795ed560 > files > 488

vidalia-0.2.9-1mdv2010.1.i586.rpm

<!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>Vidalia: ExitPolicy 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&nbsp;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="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>ExitPolicy Class Reference</h1><!-- doxytag: class="ExitPolicy" -->
<p><code>#include &lt;<a class="el" href="_exit_policy_8h_source.html">ExitPolicy.h</a>&gt;</code></p>

<p><a href="class_exit_policy-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#aa76586108b81e24f0bd8dfb51bd77ab8">SpecialExitPolicy</a> { <a class="el" href="class_exit_policy.html#aa76586108b81e24f0bd8dfb51bd77ab8a4a36006dbba2412e631cb58c1f9ef1be">Default</a>, 
<a class="el" href="class_exit_policy.html#aa76586108b81e24f0bd8dfb51bd77ab8a24858f3513ce54fbe91e759465b16475">Middleman</a>
 }</td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#a40310febcf3741c6bf40f5f70f68cd95">ExitPolicy</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#aa45f8024b10f33abbcf0bc81eecda3df">ExitPolicy</a> (<a class="el" href="class_exit_policy.html#aa76586108b81e24f0bd8dfb51bd77ab8">SpecialExitPolicy</a> exitPolicy)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#a32162f1d63c2485a5a53d7051a03eeb1">ExitPolicy</a> (QString exitPolicy)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#abb358858e8cf140b930943d15b4d743d">addAcceptedPorts</a> (QStringList portList)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#a634ccfc40ed6daa9ed7caa1c8c20c56b">acceptsPorts</a> (QStringList portList)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#a14f68328010c547221e43238384e81e4">addRejectedPorts</a> (QStringList portList)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#a45f5f82dfbef2afe395616cd498cfc42">rejectsPorts</a> (QStringList portList)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#a33a84b6960ceb03da71a43a31f4230b0">addPolicy</a> (<a class="el" href="class_policy.html">Policy</a> policy)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#aeafd48ab4738b84474b14156c925863f">removePolicy</a> (<a class="el" href="class_policy.html">Policy</a> policy)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#a04f512b4828d51f4d950bae0b90b3258">contains</a> (<a class="el" href="class_policy.html">Policy</a> policy)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_policy.html">Policy</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#a0ba9d171634d1e1e346eb664ae579b32">policyList</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#a8178aa3e7eac2aedc6c680a85f1b57f6">toString</a> ()</td></tr>
<tr><td colspan="2"><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_policy.html">Policy</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_exit_policy.html#a5171cc94377d66e52ec703a9d02cb7fe">_exitPolicy</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>

<p>Definition at line <a class="el" href="_exit_policy_8h_source.html#l00027">27</a> of file <a class="el" href="_exit_policy_8h_source.html">ExitPolicy.h</a>.</p>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="aa76586108b81e24f0bd8dfb51bd77ab8"></a><!-- doxytag: member="ExitPolicy::SpecialExitPolicy" ref="aa76586108b81e24f0bd8dfb51bd77ab8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_exit_policy.html#aa76586108b81e24f0bd8dfb51bd77ab8">ExitPolicy::SpecialExitPolicy</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Special exit policy types. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="aa76586108b81e24f0bd8dfb51bd77ab8a4a36006dbba2412e631cb58c1f9ef1be"></a><!-- doxytag: member="Default" ref="aa76586108b81e24f0bd8dfb51bd77ab8a4a36006dbba2412e631cb58c1f9ef1be" args="" -->Default</em>&nbsp;</td><td>
<p>Specifies the default exit policy. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa76586108b81e24f0bd8dfb51bd77ab8a24858f3513ce54fbe91e759465b16475"></a><!-- doxytag: member="Middleman" ref="aa76586108b81e24f0bd8dfb51bd77ab8a24858f3513ce54fbe91e759465b16475" args="" -->Middleman</em>&nbsp;</td><td>
<p>Specifies a middleman-only exit policy. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="_exit_policy_8h_source.html#l00031">31</a> of file <a class="el" href="_exit_policy_8h_source.html">ExitPolicy.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a40310febcf3741c6bf40f5f70f68cd95"></a><!-- doxytag: member="ExitPolicy::ExitPolicy" ref="a40310febcf3741c6bf40f5f70f68cd95" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExitPolicy::ExitPolicy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Default constructor. </p>

<p>Definition at line <a class="el" href="_exit_policy_8cpp_source.html#l00023">23</a> of file <a class="el" href="_exit_policy_8cpp_source.html">ExitPolicy.cpp</a>.</p>

<p>Referenced by <a class="el" href="_exit_policy_8cpp_source.html#l00131">contains()</a>.</p>

</div>
</div>
<a class="anchor" id="aa45f8024b10f33abbcf0bc81eecda3df"></a><!-- doxytag: member="ExitPolicy::ExitPolicy" ref="aa45f8024b10f33abbcf0bc81eecda3df" args="(SpecialExitPolicy exitPolicy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExitPolicy::ExitPolicy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_exit_policy.html#aa76586108b81e24f0bd8dfb51bd77ab8">SpecialExitPolicy</a>&nbsp;</td>
          <td class="paramname"> <em>exitPolicy</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates an exit policy of the given special type.</p>
<p>Constructor. Creates an exit policy based on the given type. </p>

<p>Definition at line <a class="el" href="_exit_policy_8cpp_source.html#l00028">28</a> of file <a class="el" href="_exit_policy_8cpp_source.html">ExitPolicy.cpp</a>.</p>

<p>References <a class="el" href="_exit_policy_8h_source.html#l00073">_exitPolicy</a>, <a class="el" href="_exit_policy_8h_source.html#l00032">Default</a>, <a class="el" href="_exit_policy_8h_source.html#l00033">Middleman</a>, and <a class="el" href="_policy_8h_source.html#l00038">Policy::RejectAll</a>.</p>

</div>
</div>
<a class="anchor" id="a32162f1d63c2485a5a53d7051a03eeb1"></a><!-- doxytag: member="ExitPolicy::ExitPolicy" ref="a32162f1d63c2485a5a53d7051a03eeb1" args="(QString exitPolicy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExitPolicy::ExitPolicy </td>
          <td>(</td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>exitPolicy</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates an exit policy from the given comma-delimited list of policies.</p>
<p>Parses the given string for a comma-delimited list of policies and adds them to this this policy. </p>

<p>Definition at line <a class="el" href="_exit_policy_8cpp_source.html#l00050">50</a> of file <a class="el" href="_exit_policy_8cpp_source.html">ExitPolicy.cpp</a>.</p>

<p>References <a class="el" href="_exit_policy_8cpp_source.html#l00062">addPolicy()</a>, and <a class="el" href="_exit_policy_8h_source.html#l00066">policyList()</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a634ccfc40ed6daa9ed7caa1c8c20c56b"></a><!-- doxytag: member="ExitPolicy::acceptsPorts" ref="a634ccfc40ed6daa9ed7caa1c8c20c56b" args="(QStringList portList)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ExitPolicy::acceptsPorts </td>
          <td>(</td>
          <td class="paramtype">QStringList&nbsp;</td>
          <td class="paramname"> <em>portList</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if this exit policy accepts all ports specified in <b>portList</b>. Ports in <b>portList</b> may be given either individually or as ranges.</p>
<p>Returns true if this exit policy accepts all ports specified in <b>portList</b>. Ports in <b>portList</b> may be given either individually or in ranges (e.g., "6660-6669"). </p>

<p>Definition at line <a class="el" href="_exit_policy_8cpp_source.html#l00095">95</a> of file <a class="el" href="_exit_policy_8cpp_source.html">ExitPolicy.cpp</a>.</p>

<p>References <a class="el" href="_exit_policy_8cpp_source.html#l00131">contains()</a>.</p>

<p>Referenced by <a class="el" href="_server_page_8cpp_source.html#l00426">ServerPage::loadExitPolicies()</a>.</p>

</div>
</div>
<a class="anchor" id="abb358858e8cf140b930943d15b4d743d"></a><!-- doxytag: member="ExitPolicy::addAcceptedPorts" ref="abb358858e8cf140b930943d15b4d743d" args="(QStringList portList)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ExitPolicy::addAcceptedPorts </td>
          <td>(</td>
          <td class="paramtype">QStringList&nbsp;</td>
          <td class="paramname"> <em>portList</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds the ports specified in <b>portList</b> to a list of ports accepted by this exit policy. Ports may be given either individually or as ranges. </p>

<p>Definition at line <a class="el" href="_exit_policy_8cpp_source.html#l00084">84</a> of file <a class="el" href="_exit_policy_8cpp_source.html">ExitPolicy.cpp</a>.</p>

<p>References <a class="el" href="_exit_policy_8cpp_source.html#l00062">addPolicy()</a>.</p>

<p>Referenced by <a class="el" href="_server_page_8cpp_source.html#l00453">ServerPage::saveExitPolicies()</a>.</p>

</div>
</div>
<a class="anchor" id="a33a84b6960ceb03da71a43a31f4230b0"></a><!-- doxytag: member="ExitPolicy::addPolicy" ref="a33a84b6960ceb03da71a43a31f4230b0" args="(Policy policy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ExitPolicy::addPolicy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_policy.html">Policy</a>&nbsp;</td>
          <td class="paramname"> <em>policy</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds a rule to the exit policy.</p>
<p>Adds a policy to this exit policy. </p>

<p>Definition at line <a class="el" href="_exit_policy_8cpp_source.html#l00062">62</a> of file <a class="el" href="_exit_policy_8cpp_source.html">ExitPolicy.cpp</a>.</p>

<p>References <a class="el" href="_exit_policy_8h_source.html#l00073">_exitPolicy</a>, and <a class="el" href="_exit_policy_8cpp_source.html#l00131">contains()</a>.</p>

<p>Referenced by <a class="el" href="_exit_policy_8cpp_source.html#l00084">addAcceptedPorts()</a>, <a class="el" href="_exit_policy_8cpp_source.html#l00108">addRejectedPorts()</a>, <a class="el" href="_exit_policy_8cpp_source.html#l00050">ExitPolicy()</a>, and <a class="el" href="_server_page_8cpp_source.html#l00453">ServerPage::saveExitPolicies()</a>.</p>

</div>
</div>
<a class="anchor" id="a14f68328010c547221e43238384e81e4"></a><!-- doxytag: member="ExitPolicy::addRejectedPorts" ref="a14f68328010c547221e43238384e81e4" args="(QStringList portList)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ExitPolicy::addRejectedPorts </td>
          <td>(</td>
          <td class="paramtype">QStringList&nbsp;</td>
          <td class="paramname"> <em>portList</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds the ports specified in <b>portList</b> to a list of ports rejected by this exit policy. Ports may be given either individually or as ranges. </p>

<p>Definition at line <a class="el" href="_exit_policy_8cpp_source.html#l00108">108</a> of file <a class="el" href="_exit_policy_8cpp_source.html">ExitPolicy.cpp</a>.</p>

<p>References <a class="el" href="_exit_policy_8cpp_source.html#l00062">addPolicy()</a>.</p>

<p>Referenced by <a class="el" href="_server_page_8cpp_source.html#l00453">ServerPage::saveExitPolicies()</a>.</p>

</div>
</div>
<a class="anchor" id="a04f512b4828d51f4d950bae0b90b3258"></a><!-- doxytag: member="ExitPolicy::contains" ref="a04f512b4828d51f4d950bae0b90b3258" args="(Policy policy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ExitPolicy::contains </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_policy.html">Policy</a>&nbsp;</td>
          <td class="paramname"> <em>policy</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks if the current exit policy contains the given rule.</p>
<p>Returns true if this exit policy contains the given policy. </p>

<p>Definition at line <a class="el" href="_exit_policy_8cpp_source.html#l00131">131</a> of file <a class="el" href="_exit_policy_8cpp_source.html">ExitPolicy.cpp</a>.</p>

<p>References <a class="el" href="_exit_policy_8h_source.html#l00073">_exitPolicy</a>, <a class="el" href="_policy_8h_source.html#l00037">Policy::AcceptAll</a>, <a class="el" href="_exit_policy_8h_source.html#l00032">Default</a>, <a class="el" href="_exit_policy_8cpp_source.html#l00023">ExitPolicy()</a>, <a class="el" href="_policy_8cpp_source.html#l00092">Policy::matches()</a>, <a class="el" href="html_8cpp_source.html#l00023">p()</a>, and <a class="el" href="_policy_8h_source.html#l00038">Policy::RejectAll</a>.</p>

<p>Referenced by <a class="el" href="_exit_policy_8cpp_source.html#l00095">acceptsPorts()</a>, <a class="el" href="_exit_policy_8cpp_source.html#l00062">addPolicy()</a>, <a class="el" href="_server_page_8cpp_source.html#l00426">ServerPage::loadExitPolicies()</a>, and <a class="el" href="_exit_policy_8cpp_source.html#l00119">rejectsPorts()</a>.</p>

</div>
</div>
<a class="anchor" id="a0ba9d171634d1e1e346eb664ae579b32"></a><!-- doxytag: member="ExitPolicy::policyList" ref="a0ba9d171634d1e1e346eb664ae579b32" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt;<a class="el" href="class_policy.html">Policy</a>&gt; ExitPolicy::policyList </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the list of policies for this exit policy. </p>

<p>Definition at line <a class="el" href="_exit_policy_8h_source.html#l00066">66</a> of file <a class="el" href="_exit_policy_8h_source.html">ExitPolicy.h</a>.</p>

<p>References <a class="el" href="_exit_policy_8h_source.html#l00073">_exitPolicy</a>.</p>

<p>Referenced by <a class="el" href="_exit_policy_8cpp_source.html#l00050">ExitPolicy()</a>, and <a class="el" href="_exit_policy_8cpp_source.html#l00157">toString()</a>.</p>

</div>
</div>
<a class="anchor" id="a45f5f82dfbef2afe395616cd498cfc42"></a><!-- doxytag: member="ExitPolicy::rejectsPorts" ref="a45f5f82dfbef2afe395616cd498cfc42" args="(QStringList portList)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ExitPolicy::rejectsPorts </td>
          <td>(</td>
          <td class="paramtype">QStringList&nbsp;</td>
          <td class="paramname"> <em>portList</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if this exit policy rejects all ports specified in <b>portList</b>. Ports in <b>portList</b> may be given either individually or as ranges.</p>
<p>Returns true if this exit policy rejects all ports specified in <b>portList</b>. Ports in <b>portList</b> may be given either individually or in ranges (e.g., "6660-6669"). </p>

<p>Definition at line <a class="el" href="_exit_policy_8cpp_source.html#l00119">119</a> of file <a class="el" href="_exit_policy_8cpp_source.html">ExitPolicy.cpp</a>.</p>

<p>References <a class="el" href="_exit_policy_8cpp_source.html#l00131">contains()</a>.</p>

<p>Referenced by <a class="el" href="_server_page_8cpp_source.html#l00426">ServerPage::loadExitPolicies()</a>.</p>

</div>
</div>
<a class="anchor" id="aeafd48ab4738b84474b14156c925863f"></a><!-- doxytag: member="ExitPolicy::removePolicy" ref="aeafd48ab4738b84474b14156c925863f" args="(Policy policy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ExitPolicy::removePolicy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_policy.html">Policy</a>&nbsp;</td>
          <td class="paramname"> <em>policy</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Removes a rule from the exit policy.</p>
<p>Removes a policy from this exit policy. </p>

<p>Definition at line <a class="el" href="_exit_policy_8cpp_source.html#l00071">71</a> of file <a class="el" href="_exit_policy_8cpp_source.html">ExitPolicy.cpp</a>.</p>

<p>References <a class="el" href="_exit_policy_8h_source.html#l00073">_exitPolicy</a>, and <a class="el" href="html_8cpp_source.html#l00033">i()</a>.</p>

</div>
</div>
<a class="anchor" id="a8178aa3e7eac2aedc6c680a85f1b57f6"></a><!-- doxytag: member="ExitPolicy::toString" ref="a8178aa3e7eac2aedc6c680a85f1b57f6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString ExitPolicy::toString </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Converts the exit policy to a format Tor understands. </p>

<p>Definition at line <a class="el" href="_exit_policy_8cpp_source.html#l00157">157</a> of file <a class="el" href="_exit_policy_8cpp_source.html">ExitPolicy.cpp</a>.</p>

<p>References <a class="el" href="_exit_policy_8h_source.html#l00073">_exitPolicy</a>, <a class="el" href="_exit_policy_8h_source.html#l00066">policyList()</a>, and <a class="el" href="_policy_8cpp_source.html#l00144">Policy::toString()</a>.</p>

<p>Referenced by <a class="el" href="_server_settings_8cpp_source.html#l00343">ServerSettings::setExitPolicy()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a5171cc94377d66e52ec703a9d02cb7fe"></a><!-- doxytag: member="ExitPolicy::_exitPolicy" ref="a5171cc94377d66e52ec703a9d02cb7fe" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt;<a class="el" href="class_policy.html">Policy</a>&gt; <a class="el" href="class_exit_policy.html#a5171cc94377d66e52ec703a9d02cb7fe">ExitPolicy::_exitPolicy</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>A collection of policies forming the exit policy. </p>

<p>Definition at line <a class="el" href="_exit_policy_8h_source.html#l00073">73</a> of file <a class="el" href="_exit_policy_8h_source.html">ExitPolicy.h</a>.</p>

<p>Referenced by <a class="el" href="_exit_policy_8cpp_source.html#l00062">addPolicy()</a>, <a class="el" href="_exit_policy_8cpp_source.html#l00131">contains()</a>, <a class="el" href="_exit_policy_8cpp_source.html#l00028">ExitPolicy()</a>, <a class="el" href="_exit_policy_8h_source.html#l00066">policyList()</a>, <a class="el" href="_exit_policy_8cpp_source.html#l00071">removePolicy()</a>, and <a class="el" href="_exit_policy_8cpp_source.html#l00157">toString()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_exit_policy_8h_source.html">ExitPolicy.h</a></li>
<li><a class="el" href="_exit_policy_8cpp_source.html">ExitPolicy.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Aug 30 22:58:56 2010 for Vidalia by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>