~ubuntu-branches/debian/squeeze/redland-bindings/squeeze

« back to all changes in this revision

Viewing changes to docs/rdoc/classes/Redland/TripleStore.html

  • Committer: Bazaar Package Importer
  • Author(s): Dave Beckett
  • Date: 2009-04-07 00:24:21 UTC
  • mfrom: (0.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090407002421-dce2r4otm5vqtheg
Tags: 1.0.8.1-2
* Use new sections ruby, php for librdf-ruby and php5-librdf respectively.
* Merge features from ubuntu packaging.  Thanks to Matthias Klose
  (not taking linker -Wl,--as-needed since that makes dyloading fail
  to pull in raptor symbols):
  debian/rules:
  - get python lib dir from distutils
  - make dh_pycentral use symlinks
  debian/python-librdf.examples:
  - add data/dc.rdf to examples dir and adjust example.py
    to point to it (Closes: #402612)
* Patch python/Makefile.in so it can allow the include dir to be
  overridden by the particular python version build in debian/rules
  using PYTHON_INCLUDES

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
</div>
72
72
<div id="method-list">
73
73
<h3 class="section-bar">Methods</h3>
74
 
<div class="name-list"><a href="#M000150">create_finalizer</a>&nbsp;&nbsp; <a href="#M000149">new</a>&nbsp;&nbsp;</div>
 
74
<div class="name-list"><a href="#M000148">create_finalizer</a>&nbsp;&nbsp; <a href="#M000147">new</a>&nbsp;&nbsp;</div>
75
75
</div>
76
76
</div>
77
77
<!-- if includes -->
96
96
<!-- if method_list -->
97
97
<div id="methods">
98
98
<h3 class="section-bar">Public Class methods</h3>
99
 
<div id="method-M000150" class="method-detail"><a name="M000150" id="M000150"></a>
100
 
<div class="method-heading"><a href="#M000150" class="method-signature"><span class="method-name">create_finalizer</span><span class="method-args">(store)</span></a></div>
 
99
<div id="method-M000148" class="method-detail"><a name="M000148" id="M000148"></a>
 
100
<div class="method-heading"><a href="#M000148" class="method-signature"><span class="method-name">create_finalizer</span><span class="method-args">(store)</span></a></div>
101
101
<div class="method-description">
102
102
<p>You shouldn&lsquo;t use this. Used internally for cleanup.</p>
103
 
<p><a class="source-toggle" href="#" onclick="toggleCode('M000150-source');return false;">[Source]</a></p>
104
 
<div class="method-source-code" id="M000150-source">
 
103
<p><a class="source-toggle" href="#" onclick="toggleCode('M000148-source');return false;">[Source]</a></p>
 
104
<div class="method-source-code" id="M000148-source">
105
105
<pre>
106
106
<span class="ruby-comment cmt"># File rdf/redland/store.rb, line 33</span>
107
107
    <span class="ruby-keyword kw">def</span> <span class="ruby-constant">TripleStore</span>.<span class="ruby-identifier">create_finalizer</span>(<span class="ruby-identifier">store</span>)
108
108
      <span class="ruby-identifier">proc</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">id</span><span class="ruby-operator">|</span> <span class="ruby-node">"Finalizer on #{id}"</span>
109
 
        <span class="ruby-identifier">$log_final</span>.<span class="ruby-identifier">info</span> <span class="ruby-value str">"closing store"</span>
 
109
        <span class="ruby-comment cmt">#$log_final.info "closing store"</span>
110
110
        <span class="ruby-constant">Redland</span><span class="ruby-operator">::</span><span class="ruby-identifier">librdf_free_storage</span>(<span class="ruby-identifier">store</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">store</span>
111
111
      }
112
112
    <span class="ruby-keyword kw">end</span>
113
113
</pre></div>
114
114
</div>
115
115
</div>
116
 
<div id="method-M000149" class="method-detail"><a name="M000149" id="M000149"></a>
117
 
<div class="method-heading"><a href="#M000149" class="method-signature"><span class="method-name">new</span><span class="method-args">(store_type='memory',name='',options='')</span></a></div>
 
116
<div id="method-M000147" class="method-detail"><a name="M000147" id="M000147"></a>
 
117
<div class="method-heading"><a href="#M000147" class="method-signature"><span class="method-name">new</span><span class="method-args">(store_type='memory',name='',options='')</span></a></div>
118
118
<div class="method-description">
119
119
<p>Creates a store with the given type, name, and options</p>
120
 
<p><a class="source-toggle" href="#" onclick="toggleCode('M000149-source');return false;">[Source]</a></p>
121
 
<div class="method-source-code" id="M000149-source">
 
120
<p><a class="source-toggle" href="#" onclick="toggleCode('M000147-source');return false;">[Source]</a></p>
 
121
<div class="method-source-code" id="M000147-source">
122
122
<pre>
123
123
<span class="ruby-comment cmt"># File rdf/redland/store.rb, line 10</span>
124
124
    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">store_type</span>=<span class="ruby-value str">'memory'</span>,<span class="ruby-identifier">name</span>=<span class="ruby-value str">''</span>,<span class="ruby-identifier">options</span>=<span class="ruby-value str">''</span>)
155
155
<a href="/docs/ruby.html" target="_parent">Ruby API Home</a>
156
156
</div>
157
157
 
158
 
<p>(C) Copyright 2004-2007 <a href="http://purl.org/net/dajobe/" target="_parent">Dave Beckett</a>, (C) Copyright 2004-2005 <a href="http://www.bristol.ac.uk/" target="_parent">University of Bristol</a></p>
 
158
<p>(C) Copyright 2004-2008 <a href="http://www.dajobe.org/" target="_parent">Dave Beckett</a>, (C) Copyright 2004-2005 <a href="http://www.bristol.ac.uk/" target="_parent">University of Bristol</a></p>
159
159
 
160
160
</div> <!-- end outerBlock -->
161
161