Changeset 7247844 in sasview for sansdataloader/docs/sphinx/html/api/readers/associations.html
- Timestamp:
- Oct 24, 2011 2:02:30 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 70ecd530
- Parents:
- a4f04f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansdataloader/docs/sphinx/html/api/readers/associations.html
rfc5d49e3 r7247844 4 4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 5 5 6 6 7 <html xmlns="http://www.w3.org/1999/xhtml"> 7 8 <head> 8 9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 9 10 10 <title>associations — DataLoader v0.1.0 documentation</title> 11 <title>associations — DataLoader 0.1.0 documentation</title> 12 11 13 <link rel="stylesheet" href="../../_static/default.css" type="text/css" /> 12 14 <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> 15 13 16 <script type="text/javascript"> 14 17 var DOCUMENTATION_OPTIONS = { … … 23 26 <script type="text/javascript" src="../../_static/underscore.js"></script> 24 27 <script type="text/javascript" src="../../_static/doctools.js"></script> 25 <link rel="top" title="DataLoader v0.1.0 documentation" href="../../index.html" />28 <link rel="top" title="DataLoader 0.1.0 documentation" href="../../index.html" /> 26 29 <link rel="up" title="Readers" href="index.html" /> 27 30 <link rel="next" title="cansas_reader" href="cansas_reader.html" /> … … 44 47 <a href="ascii_reader.html" title="ascii_reader" 45 48 accesskey="P">previous</a> |</li> 46 <li><a href="../../index.html">DataLoader v0.1.0 documentation</a> »</li>49 <li><a href="../../index.html">DataLoader 0.1.0 documentation</a> »</li> 47 50 <li><a href="index.html" accesskey="U">Readers</a> »</li> 48 51 </ul> … … 56 59 <div class="section" id="associations"> 57 60 <h1>associations<a class="headerlink" href="#associations" title="Permalink to this headline">¶</a></h1> 58 <div class="section" id=" module-DataLoader.readers.associations">59 < span id="dataloader-readers-associations"></span><h2><a class="reference internal" href="#module-DataLoader.readers.associations" title="DataLoader.readers.associations"><tt class="xref py py-mod docutils literal"><span class="pre">DataLoader.readers.associations</span></tt></a><a class="headerlink" href="#module-DataLoader.readers.associations" title="Permalink to this headline">¶</a></h2>60 < p>Module to associate default readers to file extensions.61 <div class="section" id="sans-dataloader-readers-associations"> 62 <h2><a class="reference internal" href="#module-sans.dataloader.readers.associations" title="sans.dataloader.readers.associations"><tt class="xref py py-mod docutils literal"><span class="pre">sans.dataloader.readers.associations</span></tt></a><a class="headerlink" href="#sans-dataloader-readers-associations" title="Permalink to this headline">¶</a></h2> 63 <span class="target" id="module-sans.dataloader.readers.associations"></span><p>Module to associate default readers to file extensions. 61 64 The module reads an xml file to get the readers for each file extension. 62 65 The readers are tried in order they appear when reading a file.</p> 63 66 <dl class="function"> 64 <dt id=" DataLoader.readers.associations.read_associations">65 <tt class="descclassname"> DataLoader.readers.associations.</tt><tt class="descname">read_associations</tt><big>(</big><em>loader</em>, <em>settings='defaults.xml'</em><big>)</big><a class="headerlink" href="#DataLoader.readers.associations.read_associations" title="Permalink to this definition">¶</a></dt>67 <dt id="sans.dataloader.readers.associations.read_associations"> 68 <tt class="descclassname">sans.dataloader.readers.associations.</tt><tt class="descname">read_associations</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.dataloader.readers.associations.read_associations" title="Permalink to this definition">¶</a></dt> 66 69 <dd><p>Read the specified settings file to associate 67 70 default readers to file extension.</p> … … 70 73 <col class="field-body" /> 71 74 <tbody valign="top"> 72 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">75 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 73 76 <li><strong>loader</strong> – Loader object</li> 74 77 <li><strong>settings</strong> – path to the XML settings file [string]</li> … … 81 84 82 85 <dl class="function"> 83 <dt id=" DataLoader.readers.associations.register_readers">84 <tt class="descclassname"> DataLoader.readers.associations.</tt><tt class="descname">register_readers</tt><big>(</big><em>registry_function</em><big>)</big><a class="headerlink" href="#DataLoader.readers.associations.register_readers" title="Permalink to this definition">¶</a></dt>86 <dt id="sans.dataloader.readers.associations.register_readers"> 87 <tt class="descclassname">sans.dataloader.readers.associations.</tt><tt class="descname">register_readers</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.dataloader.readers.associations.register_readers" title="Permalink to this definition">¶</a></dt> 85 88 <dd><p>Function called by the registry/loader object to register 86 89 all default readers using a call back function.</p> … … 89 92 <col class="field-body" /> 90 93 <tbody valign="top"> 91 <tr class="field "><th class="field-name">Warning :</th><td class="field-body">this method is now obsolete</td>94 <tr class="field-odd field"><th class="field-name">Warning :</th><td class="field-body">this method is now obsolete</td> 92 95 </tr> 93 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>registry_function</strong> – function to be called to register each reader</td>96 <tr class="field-even field"><th class="field-name">Parameters:</th><td class="field-body"><strong>registry_function</strong> – function to be called to register each reader</td> 94 97 </tr> 95 98 </tbody> … … 109 112 <ul> 110 113 <li><a class="reference internal" href="#">associations</a><ul> 111 <li><a class="reference internal" href="# module-DataLoader.readers.associations"><tt class="docutils literal"><span class="pre">DataLoader.readers.associations</span></tt></a></li>114 <li><a class="reference internal" href="#sans-dataloader-readers-associations"><tt class="docutils literal"><span class="pre">sans.dataloader.readers.associations</span></tt></a></li> 112 115 </ul> 113 116 </li> … … 128 131 <h3>Quick search</h3> 129 132 <form class="search" action="../../search.html" method="get"> 130 <input type="text" name="q" size="18"/>133 <input type="text" name="q" /> 131 134 <input type="submit" value="Go" /> 132 135 <input type="hidden" name="check_keywords" value="yes" /> … … 157 160 <a href="ascii_reader.html" title="ascii_reader" 158 161 >previous</a> |</li> 159 <li><a href="../../index.html">DataLoader v0.1.0 documentation</a> »</li>162 <li><a href="../../index.html">DataLoader 0.1.0 documentation</a> »</li> 160 163 <li><a href="index.html" >Readers</a> »</li> 161 164 </ul> … … 163 166 <div class="footer"> 164 167 © Copyright 2010, sans group. 165 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1. 0.7.168 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 166 169 </div> 167 170 </body>
Note: See TracChangeset
for help on using the changeset viewer.