doc/api/python/log2xml.Stack-class.html
changeset 432 f2ddfa555b0f
equal deleted inserted replaced
431:7685cec9fd3c 432:f2ddfa555b0f
       
     1 <?xml version="1.0" encoding="ascii"?>
       
     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       
     3           "DTD/xhtml1-transitional.dtd">
       
     4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       
     5 <head>
       
     6   <title>log2xml.Stack</title>
       
     7   <link rel="stylesheet" href="epydoc.css" type="text/css" />
       
     8   <script type="text/javascript" src="epydoc.js"></script>
       
     9 </head>
       
    10 
       
    11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
       
    12       alink="#204080">
       
    13 <!-- ==================== NAVIGATION BAR ==================== -->
       
    14 <table class="navbar" border="0" width="100%" cellpadding="0"
       
    15        bgcolor="#a0c0ff" cellspacing="0">
       
    16   <tr valign="middle">
       
    17 
       
    18   <!-- Tree link -->
       
    19       <th>&nbsp;&nbsp;&nbsp;<a
       
    20         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
    21 
       
    22   <!-- Index link -->
       
    23       <th>&nbsp;&nbsp;&nbsp;<a
       
    24         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
    25 
       
    26   <!-- Help link -->
       
    27       <th>&nbsp;&nbsp;&nbsp;<a
       
    28         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
    29 
       
    30       <th class="navbar" width="100%"></th>
       
    31   </tr>
       
    32 </table>
       
    33 <table width="100%" cellpadding="0" cellspacing="0">
       
    34   <tr valign="top">
       
    35     <td width="100%">
       
    36       <span class="breadcrumbs">
       
    37         <a href="log2xml-module.html">Module&nbsp;log2xml</a> ::
       
    38         Class&nbsp;Stack
       
    39       </span>
       
    40     </td>
       
    41     <td>
       
    42       <table cellpadding="0" cellspacing="0">
       
    43         <!-- hide/show private -->
       
    44         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
       
    45     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
       
    46         <tr><td align="right"><span class="options"
       
    47             >[<a href="frames.html" target="_top">frames</a
       
    48             >]&nbsp;|&nbsp;<a href="log2xml.Stack-class.html"
       
    49             target="_top">no&nbsp;frames</a>]</span></td></tr>
       
    50       </table>
       
    51     </td>
       
    52   </tr>
       
    53 </table>
       
    54 <!-- ==================== CLASS DESCRIPTION ==================== -->
       
    55 <h1 class="epydoc">Class Stack</h1><span class="codelink"><a href="log2xml-pysrc.html#Stack">source&nbsp;code</a></span><br /><br />
       
    56 Bottomless stack. If empty just pop a default element.<br /><br />
       
    57 
       
    58 <!-- ==================== INSTANCE METHODS ==================== -->
       
    59 <a name="section-InstanceMethods"></a>
       
    60 <table class="summary" border="1" cellpadding="3"
       
    61        cellspacing="0" width="100%" bgcolor="white">
       
    62 <tr bgcolor="#70b0f0" class="table-header">
       
    63   <td colspan="2" class="table-header">
       
    64     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
    65       <tr valign="top">
       
    66         <td align="left"><span class="table-header">Instance Methods</span></td>
       
    67         <td align="right" valign="top"
       
    68          ><span class="options">[<a href="#section-InstanceMethods"
       
    69          class="privatelink" onclick="toggle_private();"
       
    70          >hide private</a>]</span></td>
       
    71       </tr>
       
    72     </table>
       
    73   </td>
       
    74 </tr>
       
    75 <tr>
       
    76     <td width="15%" align="right" valign="top" class="summary">
       
    77       <span class="summary-type">&nbsp;</span>
       
    78     </td><td class="summary">
       
    79       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
    80         <tr>
       
    81           <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>,
       
    82         <span class="summary-sig-arg">default</span>)</span></td>
       
    83           <td align="right" valign="top">
       
    84             <span class="codelink"><a href="log2xml-pysrc.html#Stack.__init__">source&nbsp;code</a></span>
       
    85             
       
    86           </td>
       
    87         </tr>
       
    88       </table>
       
    89       
       
    90     </td>
       
    91   </tr>
       
    92 <tr>
       
    93     <td width="15%" align="right" valign="top" class="summary">
       
    94       <span class="summary-type">&nbsp;</span>
       
    95     </td><td class="summary">
       
    96       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
    97         <tr>
       
    98           <td><span class="summary-sig"><a name="pop"></a><span class="summary-sig-name">pop</span>(<span class="summary-sig-arg">self</span>)</span></td>
       
    99           <td align="right" valign="top">
       
   100             <span class="codelink"><a href="log2xml-pysrc.html#Stack.pop">source&nbsp;code</a></span>
       
   101             
       
   102           </td>
       
   103         </tr>
       
   104       </table>
       
   105       
       
   106     </td>
       
   107   </tr>
       
   108 <tr>
       
   109     <td width="15%" align="right" valign="top" class="summary">
       
   110       <span class="summary-type">&nbsp;</span>
       
   111     </td><td class="summary">
       
   112       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   113         <tr>
       
   114           <td><span class="summary-sig"><a name="push"></a><span class="summary-sig-name">push</span>(<span class="summary-sig-arg">self</span>,
       
   115         <span class="summary-sig-arg">item</span>)</span></td>
       
   116           <td align="right" valign="top">
       
   117             <span class="codelink"><a href="log2xml-pysrc.html#Stack.push">source&nbsp;code</a></span>
       
   118             
       
   119           </td>
       
   120         </tr>
       
   121       </table>
       
   122       
       
   123     </td>
       
   124   </tr>
       
   125 <tr>
       
   126     <td width="15%" align="right" valign="top" class="summary">
       
   127       <span class="summary-type">&nbsp;</span>
       
   128     </td><td class="summary">
       
   129       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   130         <tr>
       
   131           <td><span class="summary-sig"><a name="__len__"></a><span class="summary-sig-name">__len__</span>(<span class="summary-sig-arg">self</span>)</span></td>
       
   132           <td align="right" valign="top">
       
   133             <span class="codelink"><a href="log2xml-pysrc.html#Stack.__len__">source&nbsp;code</a></span>
       
   134             
       
   135           </td>
       
   136         </tr>
       
   137       </table>
       
   138       
       
   139     </td>
       
   140   </tr>
       
   141 </table>
       
   142 <!-- ==================== NAVIGATION BAR ==================== -->
       
   143 <table class="navbar" border="0" width="100%" cellpadding="0"
       
   144        bgcolor="#a0c0ff" cellspacing="0">
       
   145   <tr valign="middle">
       
   146 
       
   147   <!-- Tree link -->
       
   148       <th>&nbsp;&nbsp;&nbsp;<a
       
   149         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
   150 
       
   151   <!-- Index link -->
       
   152       <th>&nbsp;&nbsp;&nbsp;<a
       
   153         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
   154 
       
   155   <!-- Help link -->
       
   156       <th>&nbsp;&nbsp;&nbsp;<a
       
   157         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
   158 
       
   159       <th class="navbar" width="100%"></th>
       
   160   </tr>
       
   161 </table>
       
   162 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
       
   163   <tr>
       
   164     <td align="left" class="footer">
       
   165     Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:19 2009
       
   166     </td>
       
   167     <td align="right" class="footer">
       
   168       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
       
   169     </td>
       
   170   </tr>
       
   171 </table>
       
   172 
       
   173 <script type="text/javascript">
       
   174   <!--
       
   175   // Private objects are initially displayed (because if
       
   176   // javascript is turned off then we want them to be
       
   177   // visible); but by default, we want to hide them.  So hide
       
   178   // them unless we have a cookie that says to show them.
       
   179   checkCookie()
       
   180   // -->
       
   181 </script>
       
   182   
       
   183 </body>
       
   184 </html>