autodoc.git / autodoc.xml

version» Context lines:

autodoc.git/autodoc.xml:1126:   </docgroup>   </class>   <class name='DES3'>   <docgroup homogen-name='CBC' homogen-type='inherit'>   <inherit name='CBC'><classname resolved='8.0::Crypto.CBC'>Crypto.CBC</classname></inherit>   </docgroup>   </class>   <class name='DHKeyExchange'>   <doc><text><p>Implements Diffie-Hellman key-exchange.</p>   <p> The following key exchange methods are implemented here: -  <ref resolved='predef::SSL.Constants.KeyExchangeType.KE_dhe_dss'>KE_dhe_dss</ref>, <ref resolved='predef::SSL.Constants.KeyExchangeType.KE_dhe_rsa'>KE_dhe_rsa</ref> and <ref resolved='predef::SSL.Constants.KeyExchangeType.KE_dh_anon'>KE_dh_anon</ref>.</p> +  <ref resolved='7.8::SSL.Constants.KeyExchangeType.KE_dhe_dss'>KE_dhe_dss</ref>, <ref resolved='7.8::SSL.Constants.KeyExchangeType.KE_dhe_rsa'>KE_dhe_rsa</ref> and <ref resolved='7.8::SSL.Constants.KeyExchangeType.KE_dh_anon'>KE_dh_anon</ref>.</p>   </text></doc>   <docgroup homogen-name='create' homogen-type='method'>   <method name='create'><modifiers><protected/></modifiers>   <arguments><argument name='p'><type><object resolved='7.8::SSL.Cipher.DHParameters'>DHParameters</object></type></argument></arguments>   <returntype><void/></returntype>   </method>   </docgroup>   </class>   <class name='DHParameters'>   <doc><text><p>Diffie-Hellman parameters.</p>
autodoc.git/autodoc.xml:6153:    simulation of the type specified by <ref resolved='lfun::_is_type.basic_type'>basic_type</ref>.</p>   </text></group><group><note/><text><p>The argument is currently a string with the name    of the type, but might in the future be a value of the type type.</p>   </text></group><group><note/><text><p>It's assumed that this function is side-effect free.</p>   </text></group></doc>   <method name='_is_type'>   <arguments><argument name='basic_type'><type><string/></type></argument></arguments>   <returntype><int><min>0</min><max>1</max></int></returntype>   </method>   </docgroup> - <docgroup homogen-name='_iterator_index' homogen-type='method'><doc><text><p>Called in <ref>Iterator</ref> objects by foreach.</p> + <docgroup homogen-name='_iterator_index' homogen-type='method'><doc><text><p>Called in <ref>Iterator</ref> objects by foreach (optional).</p>   <p> Returns the current index for an iterator, or <ref>UNDEFINED</ref> -  if the iterator doesn't point to any item.</p> +  if the iterator doesn't point to any item. If this +  function is not present, the return value from +  <ref resolved='lfun::_iterator_next'>lfun::_iterator_next()</ref> will be used.</p>   <p> If there's no obvious index set then the index is the current    position in the data set, counting from <expr>0</expr> (zero).</p> - </text></doc> + </text><group><seealso/><text><p><ref resolved='lfun::_iterator_next'>lfun::_iterator_next()</ref>, <ref resolved='lfun::_iterator_value'>lfun::_iterator_value()</ref></p> + </text></group></doc>   <method name='_iterator_index'>   <arguments/>   <returntype><mixed/></returntype>   </method>   </docgroup>   <docgroup homogen-name='_iterator_next' homogen-type='method'><doc><text><p>Called in <ref>Iterator</ref> objects by foreach.</p>   <p> Advances the iterator one step.</p> - </text><group><note/><text><p>This is the preferred way to advance an iterator, since it -  reduces the overhead.</p> - </text></group><group><returns/><text><p>Returns <tt>1</tt> if it succeeded in advancing, and -  <tt>0</tt> (zero) if it has reached the end of the iterator.</p> + <p> Iterators start at the position before the first element, +  and <tt>foreach</tt> calls this function repeatedly until it +  returns <ref>UNDEFINED</ref>.</p> + <p> Calling it again after it has returned <ref>UNDEFINED</ref> will +  typically cause it to restart the iteration with the +  first element (ie the start and end sentinel values are +  the same).</p> + </text><group><returns/><text><p>Returns <ref>UNDEFINED</ref> if there are no more elements in the +  iterator. Otherwise it may return any other value, which +  for convenience will be used as index and/or value in case +  there is no <ref resolved='lfun::_iterator_index'>lfun::_iterator_index()</ref> and/or no +  <ref resolved='lfun::_iterator_value'>lfun::_iterator_value()</ref>.</p> + </text></group><group><seealso/><text><p><ref resolved='lfun::_iterator_index'>lfun::_iterator_index()</ref>, <ref resolved='lfun::_iterator_value'>lfun::_iterator_value()</ref></p>   </text></group></doc>   <method name='_iterator_next'>   <arguments/> - <returntype><int/></returntype> + <returntype><mixed/></returntype>   </method>   </docgroup> - <docgroup homogen-name='_iterator_value' homogen-type='method'><doc><text><p>Called in <ref>Iterator</ref> objects by foreach.</p> + <docgroup homogen-name='_iterator_value' homogen-type='method'><doc><text><p>Called in <ref>Iterator</ref> objects by foreach (optional).</p>   <p> Returns the current value for an iterator, or <ref>UNDEFINED</ref>    if the iterator doesn't point to any item.</p>   </text></doc>   <method name='_iterator_value'>   <arguments/>   <returntype><mixed/></returntype>   </method>   </docgroup>   <docgroup homogen-name='_m_add' homogen-type='method'><doc><text><p>Called by <ref>m_add()</ref>.</p>   </text><group><seealso/><text><p><ref resolved='lfun::_m_delete'>lfun::_m_delete()</ref>, <ref resolved='lfun::_m_clear'>lfun::_m_clear()</ref></p>