105 lines
6.1 KiB
HTML
105 lines
6.1 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: module robofab.features.featureTools</title>
|
|
</head><body bgcolor="#f0f0f8">
|
|
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
|
<tr bgcolor="#7799ee">
|
|
<td valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="robofab.html"><font color="#ffffff">robofab</font></a>.<a href="robofab.features.html"><font color="#ffffff">features</font></a>.featureTools</strong></big></big></font></td
|
|
><td align=right valign=bottom
|
|
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/code/projects/robofab/Lib/robofab/features/featureTools.py">/code/projects/robofab/Lib/robofab/features/featureTools.py</a></font></td></tr></table>
|
|
<p></p>
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ee77aa">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl>
|
|
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
|
|
</font></dt><dd>
|
|
<dl>
|
|
<dt><font face="helvetica, arial"><a href="robofab.features.featureTools.html#SafeNone">SafeNone</a>
|
|
</font></dt><dt><font face="helvetica, arial"><a href="robofab.features.featureTools.html#SortedDict">SortedDict</a>
|
|
</font></dt></dl>
|
|
</dd>
|
|
</dl>
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="SafeNone">class <strong>SafeNone</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>plistlib doesn't like None types, so we<br>
|
|
store 0 for certain objects to indocate None.<br>
|
|
This <a href="__builtin__.html#object">object</a> is a safe comparison for both<br>
|
|
0 and None.<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="SafeNone-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x52aed0><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'SafeNone' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl>
|
|
|
|
</td></tr></table> <p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="SortedDict">class <strong>SortedDict</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
|
|
|
|
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="SortedDict-__getitem__"><strong>__getitem__</strong></a>(self, key)</dt></dl>
|
|
|
|
<dl><dt><a name="SortedDict-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="SortedDict-__len__"><strong>__len__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="SortedDict-__setitem__"><strong>__setitem__</strong></a>(self, key, value)</dt></dl>
|
|
|
|
<dl><dt><a name="SortedDict-clear"><strong>clear</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="SortedDict-copy"><strong>copy</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="SortedDict-get"><strong>get</strong></a>(self, key, default<font color="#909090">=None</font>)</dt></dl>
|
|
|
|
<dl><dt><a name="SortedDict-has_key"><strong>has_key</strong></a>(self, key)</dt></dl>
|
|
|
|
<dl><dt><a name="SortedDict-items"><strong>items</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="SortedDict-keys"><strong>keys</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="SortedDict-update"><strong>update</strong></a>(self, other)</dt></dl>
|
|
|
|
<dl><dt><a name="SortedDict-values"><strong>values</strong></a>(self)</dt></dl>
|
|
|
|
<hr>
|
|
Data and other attributes defined here:<br>
|
|
<dl><dt><strong>__dict__</strong> = <dictproxy object at 0x52ad90><dd><tt>dictionary for instance variables (if defined)</tt></dl>
|
|
|
|
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'SortedDict' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl>
|
|
|
|
</td></tr></table></td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#eeaa77">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
|
|
<td width="100%"><dl><dt><a name="-packPairOffsetDict"><strong>packPairOffsetDict</strong></a>(pairDict)</dt><dd><tt>convert a normal pair dict to the format that must be stored</tt></dd></dl>
|
|
<dl><dt><a name="-unpackPairOffsetDict"><strong>unpackPairOffsetDict</strong></a>(pairDict)</dt><dd><tt>unpack the stored pair dict into a normal dict</tt></dd></dl>
|
|
</td></tr></table><p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#55aa55">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
|
|
|
|
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
|
|
<td width="100%"><strong>SAFE_NONE</strong> = <robofab.features.featureTools.SafeNone object at 0x52a810></td></tr></table>
|
|
</body></html> |