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>lldb.SBStream</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  <!-- Project homepage -->
31      <th class="navbar" align="right" width="100%">
32        <table border="0" cellpadding="0" cellspacing="0">
33          <tr><th class="navbar" align="center"
34            ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
35          </tr></table></th>
36  </tr>
37</table>
38<table width="100%" cellpadding="0" cellspacing="0">
39  <tr valign="top">
40    <td width="100%">
41      <span class="breadcrumbs">
42        <a href="lldb-module.html">Package&nbsp;lldb</a> ::
43        Class&nbsp;SBStream
44      </span>
45    </td>
46    <td>
47      <table cellpadding="0" cellspacing="0">
48        <!-- hide/show private -->
49        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
50    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
51        <tr><td align="right"><span class="options"
52            >[<a href="frames.html" target="_top">frames</a
53            >]&nbsp;|&nbsp;<a href="lldb.SBStream-class.html"
54            target="_top">no&nbsp;frames</a>]</span></td></tr>
55      </table>
56    </td>
57  </tr>
58</table>
59<!-- ==================== CLASS DESCRIPTION ==================== -->
60<h1 class="epydoc">Class SBStream</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBStream">source&nbsp;code</a></span></p>
61<center>
62<center>  <map id="uml_class_diagram_for_lldb_sbs_3" name="uml_class_diagram_for_lldb_sbs_3">
63<area shape="rect" id="node39" href="lldb.SBStream-class.html#__swig_setmethods__" title="lldb.SBStream.__swig_setmethods__" alt="" coords="17,31,217,49"/>
64<area shape="rect" id="node39" href="lldb.SBStream-class.html#__swig_getmethods__" title="lldb.SBStream.__swig_getmethods__" alt="" coords="17,49,217,68"/>
65<area shape="rect" id="node39" href="lldb.SBStream-class.html#__setattr__" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="17,71,217,89"/>
66<area shape="rect" id="node39" href="lldb.SBStream-class.html#__getattr__" title="lldb.SBStream.__getattr__" alt="" coords="17,89,217,108"/>
67<area shape="rect" id="node39" href="lldb.SBStream-class.html#__repr__" title="repr(x)" alt="" coords="17,108,217,127"/>
68<area shape="rect" id="node39" href="lldb.SBStream-class.html#__init__" title="__init__(lldb::SBStream self) &#45;&gt; SBStream" alt="" coords="17,127,217,145"/>
69<area shape="rect" id="node39" href="lldb.SBStream-class.html#__swig_destroy__" title="delete_SBStream(SBStream self)" alt="" coords="17,145,217,164"/>
70<area shape="rect" id="node39" href="lldb.SBStream-class.html#__del__" title="lldb.SBStream.__del__" alt="" coords="17,164,217,183"/>
71<area shape="rect" id="node39" href="lldb.SBStream-class.html#__nonzero__" title="lldb.SBStream.__nonzero__" alt="" coords="17,183,217,201"/>
72<area shape="rect" id="node39" href="lldb.SBStream-class.html#IsValid" title="IsValid(SBStream self) &#45;&gt; bool" alt="" coords="17,201,217,220"/>
73<area shape="rect" id="node39" href="lldb.SBStream-class.html#GetData" title="GetData(SBStream self) &#45;&gt; str const *" alt="" coords="17,220,217,239"/>
74<area shape="rect" id="node39" href="lldb.SBStream-class.html#GetSize" title="GetSize(SBStream self) &#45;&gt; size_t" alt="" coords="17,239,217,257"/>
75<area shape="rect" id="node39" href="lldb.SBStream-class.html#Print" title="Print(SBStream self, str const * str)" alt="" coords="17,257,217,276"/>
76<area shape="rect" id="node39" href="lldb.SBStream-class.html#RedirectToFile" title="RedirectToFile(SBStream self, str const * path, bool append)" alt="" coords="17,276,217,295"/>
77<area shape="rect" id="node39" href="lldb.SBStream-class.html#RedirectToFileHandle" title="RedirectToFileHandle(SBStream self, FILE * fh, bool transfer_fh_ownership)" alt="" coords="17,295,217,313"/>
78<area shape="rect" id="node39" href="lldb.SBStream-class.html#flush" title="flush(SBStream self)" alt="" coords="17,332,217,351"/>
79<area shape="rect" id="node1" href="lldb.SBStream-class.html" title="Represents a destination for streaming data output to." alt="" coords="5,6,229,357"/>
80</map>
81  <img src="uml_class_diagram_for_lldb_sbs_3.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbs_3" ismap="ismap" class="graph-without-title" />
82</center>
83</center>
84<hr />
85<pre class="literalblock">
86
87    Represents a destination for streaming data output to. By default, a string
88    stream is created.
89
90    For example (from test/source-manager/TestSourceManager.py),
91
92            # Create the filespec for 'main.c'.
93            filespec = lldb.SBFileSpec('main.c', False)
94            source_mgr = self.dbg.GetSourceManager()
95            # Use a string stream as the destination.
96            stream = lldb.SBStream()
97            source_mgr.DisplaySourceLinesWithLineNumbers(filespec,
98                                                         self.line,
99                                                         2, # context before
100                                                         2, # context after
101                                                         '=&gt;', # prefix for current line
102                                                         stream)
103
104            #    2
105            #    3    int main(int argc, char const *argv[]) {
106            # =&gt; 4        printf('Hello world.
107'); // Set break point at this line.
108            #    5        return 0;
109            #    6    }
110            self.expect(stream.GetData(), 'Source code displayed correctly',
111                        exe=False,
112                patterns = ['=&gt; %d.*Hello world' % self.line])
113
114
115
116</pre>
117
118<!-- ==================== INSTANCE METHODS ==================== -->
119<a name="section-InstanceMethods"></a>
120<table class="summary" border="1" cellpadding="3"
121       cellspacing="0" width="100%" bgcolor="white">
122<tr bgcolor="#70b0f0" class="table-header">
123  <td colspan="2" class="table-header">
124    <table border="0" cellpadding="0" cellspacing="0" width="100%">
125      <tr valign="top">
126        <td align="left"><span class="table-header">Instance Methods</span></td>
127        <td align="right" valign="top"
128         ><span class="options">[<a href="#section-InstanceMethods"
129         class="privatelink" onclick="toggle_private();"
130         >hide private</a>]</span></td>
131      </tr>
132    </table>
133  </td>
134</tr>
135<tr>
136    <td width="15%" align="right" valign="top" class="summary">
137      <span class="summary-type">&nbsp;</span>
138    </td><td class="summary">
139      <table width="100%" cellpadding="0" cellspacing="0" border="0">
140        <tr>
141          <td><span class="summary-sig"><a href="lldb.SBStream-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>,
142        <span class="summary-sig-arg">name</span>,
143        <span class="summary-sig-arg">value</span>)</span><br />
144      x.__setattr__('name', value) &lt;==&gt; x.name = value</td>
145          <td align="right" valign="top">
146            <span class="codelink"><a href="lldb-pysrc.html#SBStream.__setattr__">source&nbsp;code</a></span>
147
148          </td>
149        </tr>
150      </table>
151
152    </td>
153  </tr>
154<tr>
155    <td width="15%" align="right" valign="top" class="summary">
156      <span class="summary-type">&nbsp;</span>
157    </td><td class="summary">
158      <table width="100%" cellpadding="0" cellspacing="0" border="0">
159        <tr>
160          <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>,
161        <span class="summary-sig-arg">name</span>)</span></td>
162          <td align="right" valign="top">
163            <span class="codelink"><a href="lldb-pysrc.html#SBStream.__getattr__">source&nbsp;code</a></span>
164
165          </td>
166        </tr>
167      </table>
168
169    </td>
170  </tr>
171<tr>
172    <td width="15%" align="right" valign="top" class="summary">
173      <span class="summary-type">&nbsp;</span>
174    </td><td class="summary">
175      <table width="100%" cellpadding="0" cellspacing="0" border="0">
176        <tr>
177          <td><span class="summary-sig"><a href="lldb.SBStream-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
178      repr(x)</td>
179          <td align="right" valign="top">
180            <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source&nbsp;code</a></span>
181
182          </td>
183        </tr>
184      </table>
185
186    </td>
187  </tr>
188<tr>
189    <td width="15%" align="right" valign="top" class="summary">
190      <span class="summary-type">&nbsp;</span>
191    </td><td class="summary">
192      <table width="100%" cellpadding="0" cellspacing="0" border="0">
193        <tr>
194          <td><span class="summary-sig"><a href="lldb.SBStream-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br />
195      __init__(lldb::SBStream self) -&gt; SBStream</td>
196          <td align="right" valign="top">
197            <span class="codelink"><a href="lldb-pysrc.html#SBStream.__init__">source&nbsp;code</a></span>
198
199          </td>
200        </tr>
201      </table>
202
203    </td>
204  </tr>
205<tr>
206    <td width="15%" align="right" valign="top" class="summary">
207      <span class="summary-type">&nbsp;</span>
208    </td><td class="summary">
209      <table width="100%" cellpadding="0" cellspacing="0" border="0">
210        <tr>
211          <td><span class="summary-sig"><a name="__swig_destroy__"></a><span class="summary-sig-name">__swig_destroy__</span>(<span class="summary-sig-arg">...</span>)</span><br />
212      delete_SBStream(SBStream self)</td>
213          <td align="right" valign="top">
214
215
216          </td>
217        </tr>
218      </table>
219
220    </td>
221  </tr>
222<tr>
223    <td width="15%" align="right" valign="top" class="summary">
224      <span class="summary-type">&nbsp;</span>
225    </td><td class="summary">
226      <table width="100%" cellpadding="0" cellspacing="0" border="0">
227        <tr>
228          <td><span class="summary-sig"><a name="__del__"></a><span class="summary-sig-name">__del__</span>(<span class="summary-sig-arg">self</span>)</span></td>
229          <td align="right" valign="top">
230            <span class="codelink"><a href="lldb-pysrc.html#SBStream.__del__">source&nbsp;code</a></span>
231
232          </td>
233        </tr>
234      </table>
235
236    </td>
237  </tr>
238<tr>
239    <td width="15%" align="right" valign="top" class="summary">
240      <span class="summary-type">&nbsp;</span>
241    </td><td class="summary">
242      <table width="100%" cellpadding="0" cellspacing="0" border="0">
243        <tr>
244          <td><span class="summary-sig"><a name="__nonzero__"></a><span class="summary-sig-name">__nonzero__</span>(<span class="summary-sig-arg">self</span>)</span></td>
245          <td align="right" valign="top">
246            <span class="codelink"><a href="lldb-pysrc.html#SBStream.__nonzero__">source&nbsp;code</a></span>
247
248          </td>
249        </tr>
250      </table>
251
252    </td>
253  </tr>
254<tr>
255    <td width="15%" align="right" valign="top" class="summary">
256      <span class="summary-type">&nbsp;</span>
257    </td><td class="summary">
258      <table width="100%" cellpadding="0" cellspacing="0" border="0">
259        <tr>
260          <td><span class="summary-sig"><a name="IsValid"></a><span class="summary-sig-name">IsValid</span>(<span class="summary-sig-arg">self</span>)</span><br />
261      IsValid(SBStream self) -&gt; bool</td>
262          <td align="right" valign="top">
263            <span class="codelink"><a href="lldb-pysrc.html#SBStream.IsValid">source&nbsp;code</a></span>
264
265          </td>
266        </tr>
267      </table>
268
269    </td>
270  </tr>
271<tr>
272    <td width="15%" align="right" valign="top" class="summary">
273      <span class="summary-type">&nbsp;</span>
274    </td><td class="summary">
275      <table width="100%" cellpadding="0" cellspacing="0" border="0">
276        <tr>
277          <td><span class="summary-sig"><a href="lldb.SBStream-class.html#GetData" class="summary-sig-name">GetData</a>(<span class="summary-sig-arg">self</span>)</span><br />
278      GetData(SBStream self) -&gt; str const *</td>
279          <td align="right" valign="top">
280            <span class="codelink"><a href="lldb-pysrc.html#SBStream.GetData">source&nbsp;code</a></span>
281
282          </td>
283        </tr>
284      </table>
285
286    </td>
287  </tr>
288<tr>
289    <td width="15%" align="right" valign="top" class="summary">
290      <span class="summary-type">&nbsp;</span>
291    </td><td class="summary">
292      <table width="100%" cellpadding="0" cellspacing="0" border="0">
293        <tr>
294          <td><span class="summary-sig"><a href="lldb.SBStream-class.html#GetSize" class="summary-sig-name">GetSize</a>(<span class="summary-sig-arg">self</span>)</span><br />
295      GetSize(SBStream self) -&gt; size_t</td>
296          <td align="right" valign="top">
297            <span class="codelink"><a href="lldb-pysrc.html#SBStream.GetSize">source&nbsp;code</a></span>
298
299          </td>
300        </tr>
301      </table>
302
303    </td>
304  </tr>
305<tr>
306    <td width="15%" align="right" valign="top" class="summary">
307      <span class="summary-type">&nbsp;</span>
308    </td><td class="summary">
309      <table width="100%" cellpadding="0" cellspacing="0" border="0">
310        <tr>
311          <td><span class="summary-sig"><a name="Print"></a><span class="summary-sig-name">Print</span>(<span class="summary-sig-arg">self</span>,
312        <span class="summary-sig-arg">*args</span>)</span><br />
313      Print(SBStream self, str const * str)</td>
314          <td align="right" valign="top">
315            <span class="codelink"><a href="lldb-pysrc.html#SBStream.Print">source&nbsp;code</a></span>
316
317          </td>
318        </tr>
319      </table>
320
321    </td>
322  </tr>
323<tr>
324    <td width="15%" align="right" valign="top" class="summary">
325      <span class="summary-type">&nbsp;</span>
326    </td><td class="summary">
327      <table width="100%" cellpadding="0" cellspacing="0" border="0">
328        <tr>
329          <td><span class="summary-sig"><a name="RedirectToFile"></a><span class="summary-sig-name">RedirectToFile</span>(<span class="summary-sig-arg">self</span>,
330        <span class="summary-sig-arg">*args</span>)</span><br />
331      RedirectToFile(SBStream self, str const * path, bool append)</td>
332          <td align="right" valign="top">
333            <span class="codelink"><a href="lldb-pysrc.html#SBStream.RedirectToFile">source&nbsp;code</a></span>
334
335          </td>
336        </tr>
337      </table>
338
339    </td>
340  </tr>
341<tr>
342    <td width="15%" align="right" valign="top" class="summary">
343      <span class="summary-type">&nbsp;</span>
344    </td><td class="summary">
345      <table width="100%" cellpadding="0" cellspacing="0" border="0">
346        <tr>
347          <td><span class="summary-sig"><a name="RedirectToFileHandle"></a><span class="summary-sig-name">RedirectToFileHandle</span>(<span class="summary-sig-arg">self</span>,
348        <span class="summary-sig-arg">*args</span>)</span><br />
349      RedirectToFileHandle(SBStream self, FILE * fh, bool
350      transfer_fh_ownership)</td>
351          <td align="right" valign="top">
352            <span class="codelink"><a href="lldb-pysrc.html#SBStream.RedirectToFileHandle">source&nbsp;code</a></span>
353
354          </td>
355        </tr>
356      </table>
357
358    </td>
359  </tr>
360<tr>
361    <td width="15%" align="right" valign="top" class="summary">
362      <span class="summary-type">&nbsp;</span>
363    </td><td class="summary">
364      <table width="100%" cellpadding="0" cellspacing="0" border="0">
365        <tr>
366          <td><span class="summary-sig"><a name="RedirectToFileDescriptor"></a><span class="summary-sig-name">RedirectToFileDescriptor</span>(<span class="summary-sig-arg">self</span>,
367        <span class="summary-sig-arg">*args</span>)</span><br />
368      RedirectToFileDescriptor(SBStream self, int fd, bool
369      transfer_fh_ownership)</td>
370          <td align="right" valign="top">
371            <span class="codelink"><a href="lldb-pysrc.html#SBStream.RedirectToFileDescriptor">source&nbsp;code</a></span>
372
373          </td>
374        </tr>
375      </table>
376
377    </td>
378  </tr>
379<tr>
380    <td width="15%" align="right" valign="top" class="summary">
381      <span class="summary-type">&nbsp;</span>
382    </td><td class="summary">
383      <table width="100%" cellpadding="0" cellspacing="0" border="0">
384        <tr>
385          <td><span class="summary-sig"><a href="lldb.SBStream-class.html#Clear" class="summary-sig-name">Clear</a>(<span class="summary-sig-arg">self</span>)</span><br />
386      Clear(SBStream self)</td>
387          <td align="right" valign="top">
388            <span class="codelink"><a href="lldb-pysrc.html#SBStream.Clear">source&nbsp;code</a></span>
389
390          </td>
391        </tr>
392      </table>
393
394    </td>
395  </tr>
396<tr>
397    <td width="15%" align="right" valign="top" class="summary">
398      <span class="summary-type">&nbsp;</span>
399    </td><td class="summary">
400      <table width="100%" cellpadding="0" cellspacing="0" border="0">
401        <tr>
402          <td><span class="summary-sig"><a name="write"></a><span class="summary-sig-name">write</span>(<span class="summary-sig-arg">self</span>,
403        <span class="summary-sig-arg">*args</span>)</span><br />
404      write(SBStream self, str const * str)</td>
405          <td align="right" valign="top">
406            <span class="codelink"><a href="lldb-pysrc.html#SBStream.write">source&nbsp;code</a></span>
407
408          </td>
409        </tr>
410      </table>
411
412    </td>
413  </tr>
414<tr>
415    <td width="15%" align="right" valign="top" class="summary">
416      <span class="summary-type">&nbsp;</span>
417    </td><td class="summary">
418      <table width="100%" cellpadding="0" cellspacing="0" border="0">
419        <tr>
420          <td><span class="summary-sig"><a name="flush"></a><span class="summary-sig-name">flush</span>(<span class="summary-sig-arg">self</span>)</span><br />
421      flush(SBStream self)</td>
422          <td align="right" valign="top">
423            <span class="codelink"><a href="lldb-pysrc.html#SBStream.flush">source&nbsp;code</a></span>
424
425          </td>
426        </tr>
427      </table>
428
429    </td>
430  </tr>
431  <tr>
432    <td colspan="2" class="summary">
433    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
434      <code>__delattr__</code>,
435      <code>__format__</code>,
436      <code>__getattribute__</code>,
437      <code>__hash__</code>,
438      <code>__new__</code>,
439      <code>__reduce__</code>,
440      <code>__reduce_ex__</code>,
441      <code>__sizeof__</code>,
442      <code>__str__</code>,
443      <code>__subclasshook__</code>
444      </p>
445    </td>
446  </tr>
447</table>
448<!-- ==================== CLASS VARIABLES ==================== -->
449<a name="section-ClassVariables"></a>
450<table class="summary" border="1" cellpadding="3"
451       cellspacing="0" width="100%" bgcolor="white">
452<tr bgcolor="#70b0f0" class="table-header">
453  <td colspan="2" class="table-header">
454    <table border="0" cellpadding="0" cellspacing="0" width="100%">
455      <tr valign="top">
456        <td align="left"><span class="table-header">Class Variables</span></td>
457        <td align="right" valign="top"
458         ><span class="options">[<a href="#section-ClassVariables"
459         class="privatelink" onclick="toggle_private();"
460         >hide private</a>]</span></td>
461      </tr>
462    </table>
463  </td>
464</tr>
465<tr>
466    <td width="15%" align="right" valign="top" class="summary">
467      <span class="summary-type">&nbsp;</span>
468    </td><td class="summary">
469        <a name="__swig_setmethods__"></a><span class="summary-name">__swig_setmethods__</span> = <code title="{}"><code class="variable-group">{</code><code class="variable-group">}</code></code>
470    </td>
471  </tr>
472<tr>
473    <td width="15%" align="right" valign="top" class="summary">
474      <span class="summary-type">&nbsp;</span>
475    </td><td class="summary">
476        <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}"><code class="variable-group">{</code><code class="variable-group">}</code></code>
477    </td>
478  </tr>
479</table>
480<!-- ==================== PROPERTIES ==================== -->
481<a name="section-Properties"></a>
482<table class="summary" border="1" cellpadding="3"
483       cellspacing="0" width="100%" bgcolor="white">
484<tr bgcolor="#70b0f0" class="table-header">
485  <td colspan="2" class="table-header">
486    <table border="0" cellpadding="0" cellspacing="0" width="100%">
487      <tr valign="top">
488        <td align="left"><span class="table-header">Properties</span></td>
489        <td align="right" valign="top"
490         ><span class="options">[<a href="#section-Properties"
491         class="privatelink" onclick="toggle_private();"
492         >hide private</a>]</span></td>
493      </tr>
494    </table>
495  </td>
496</tr>
497  <tr>
498    <td colspan="2" class="summary">
499    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
500      <code>__class__</code>
501      </p>
502    </td>
503  </tr>
504</table>
505<!-- ==================== METHOD DETAILS ==================== -->
506<a name="section-MethodDetails"></a>
507<table class="details" border="1" cellpadding="3"
508       cellspacing="0" width="100%" bgcolor="white">
509<tr bgcolor="#70b0f0" class="table-header">
510  <td colspan="2" class="table-header">
511    <table border="0" cellpadding="0" cellspacing="0" width="100%">
512      <tr valign="top">
513        <td align="left"><span class="table-header">Method Details</span></td>
514        <td align="right" valign="top"
515         ><span class="options">[<a href="#section-MethodDetails"
516         class="privatelink" onclick="toggle_private();"
517         >hide private</a>]</span></td>
518      </tr>
519    </table>
520  </td>
521</tr>
522</table>
523<a name="__setattr__"></a>
524<div>
525<table class="details" border="1" cellpadding="3"
526       cellspacing="0" width="100%" bgcolor="white">
527<tr><td>
528  <table width="100%" cellpadding="0" cellspacing="0" border="0">
529  <tr valign="top"><td>
530  <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>,
531        <span class="sig-arg">name</span>,
532        <span class="sig-arg">value</span>)</span>
533  </h3>
534  </td><td align="right" valign="top"
535    ><span class="codelink"><a href="lldb-pysrc.html#SBStream.__setattr__">source&nbsp;code</a></span>&nbsp;
536    </td>
537  </tr></table>
538
539  <p>x.__setattr__('name', value) &lt;==&gt; x.name = value</p>
540  <dl class="fields">
541    <dt>Overrides:
542        object.__setattr__
543        <dd><em class="note">(inherited documentation)</em></dd>
544    </dt>
545  </dl>
546</td></tr></table>
547</div>
548<a name="__repr__"></a>
549<div>
550<table class="details" border="1" cellpadding="3"
551       cellspacing="0" width="100%" bgcolor="white">
552<tr><td>
553  <table width="100%" cellpadding="0" cellspacing="0" border="0">
554  <tr valign="top"><td>
555  <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
556    <br /><em class="fname">(Representation operator)</em>
557  </h3>
558  </td><td align="right" valign="top"
559    ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source&nbsp;code</a></span>&nbsp;
560    </td>
561  </tr></table>
562
563  <p>repr(x)</p>
564  <dl class="fields">
565    <dt>Overrides:
566        object.__repr__
567        <dd><em class="note">(inherited documentation)</em></dd>
568    </dt>
569  </dl>
570</td></tr></table>
571</div>
572<a name="__init__"></a>
573<div>
574<table class="details" border="1" cellpadding="3"
575       cellspacing="0" width="100%" bgcolor="white">
576<tr><td>
577  <table width="100%" cellpadding="0" cellspacing="0" border="0">
578  <tr valign="top"><td>
579  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span>
580    <br /><em class="fname">(Constructor)</em>
581  </h3>
582  </td><td align="right" valign="top"
583    ><span class="codelink"><a href="lldb-pysrc.html#SBStream.__init__">source&nbsp;code</a></span>&nbsp;
584    </td>
585  </tr></table>
586
587  <p>__init__(lldb::SBStream self) -&gt; SBStream</p>
588  <dl class="fields">
589    <dt>Overrides:
590        object.__init__
591    </dt>
592  </dl>
593</td></tr></table>
594</div>
595<a name="GetData"></a>
596<div>
597<table class="details" border="1" cellpadding="3"
598       cellspacing="0" width="100%" bgcolor="white">
599<tr><td>
600  <table width="100%" cellpadding="0" cellspacing="0" border="0">
601  <tr valign="top"><td>
602  <h3 class="epydoc"><span class="sig"><span class="sig-name">GetData</span>(<span class="sig-arg">self</span>)</span>
603  </h3>
604  </td><td align="right" valign="top"
605    ><span class="codelink"><a href="lldb-pysrc.html#SBStream.GetData">source&nbsp;code</a></span>&nbsp;
606    </td>
607  </tr></table>
608
609  <p>GetData(SBStream self) -&gt; str const *</p>
610  <p>If this stream is not redirected to a file, it will maintain a local
611  cache for the stream data which can be accessed using this accessor.</p>
612  <dl class="fields">
613  </dl>
614</td></tr></table>
615</div>
616<a name="GetSize"></a>
617<div>
618<table class="details" border="1" cellpadding="3"
619       cellspacing="0" width="100%" bgcolor="white">
620<tr><td>
621  <table width="100%" cellpadding="0" cellspacing="0" border="0">
622  <tr valign="top"><td>
623  <h3 class="epydoc"><span class="sig"><span class="sig-name">GetSize</span>(<span class="sig-arg">self</span>)</span>
624  </h3>
625  </td><td align="right" valign="top"
626    ><span class="codelink"><a href="lldb-pysrc.html#SBStream.GetSize">source&nbsp;code</a></span>&nbsp;
627    </td>
628  </tr></table>
629
630  <p>GetSize(SBStream self) -&gt; size_t</p>
631  <p>If this stream is not redirected to a file, it will maintain a local
632  cache for the stream output whose length can be accessed using this
633  accessor.</p>
634  <dl class="fields">
635  </dl>
636</td></tr></table>
637</div>
638<a name="Clear"></a>
639<div>
640<table class="details" border="1" cellpadding="3"
641       cellspacing="0" width="100%" bgcolor="white">
642<tr><td>
643  <table width="100%" cellpadding="0" cellspacing="0" border="0">
644  <tr valign="top"><td>
645  <h3 class="epydoc"><span class="sig"><span class="sig-name">Clear</span>(<span class="sig-arg">self</span>)</span>
646  </h3>
647  </td><td align="right" valign="top"
648    ><span class="codelink"><a href="lldb-pysrc.html#SBStream.Clear">source&nbsp;code</a></span>&nbsp;
649    </td>
650  </tr></table>
651
652  <p>Clear(SBStream self)</p>
653  <p>If the stream is redirected to a file, forget about the file and if
654  ownership of the file was transfered to this object, close the file. If
655  the stream is backed by a local cache, clear this cache.</p>
656  <dl class="fields">
657  </dl>
658</td></tr></table>
659</div>
660<br />
661<!-- ==================== NAVIGATION BAR ==================== -->
662<table class="navbar" border="0" width="100%" cellpadding="0"
663       bgcolor="#a0c0ff" cellspacing="0">
664  <tr valign="middle">
665
666  <!-- Tree link -->
667      <th>&nbsp;&nbsp;&nbsp;<a
668        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
669
670  <!-- Index link -->
671      <th>&nbsp;&nbsp;&nbsp;<a
672        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
673
674  <!-- Help link -->
675      <th>&nbsp;&nbsp;&nbsp;<a
676        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
677
678  <!-- Project homepage -->
679      <th class="navbar" align="right" width="100%">
680        <table border="0" cellpadding="0" cellspacing="0">
681          <tr><th class="navbar" align="center"
682            ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
683          </tr></table></th>
684  </tr>
685</table>
686<table border="0" cellpadding="0" cellspacing="0" width="100%%">
687  <tr>
688    <td align="left" class="footer">
689    Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:35 2013
690    </td>
691    <td align="right" class="footer">
692      <a target="mainFrame" href="http://epydoc.sourceforge.net"
693        >http://epydoc.sourceforge.net</a>
694    </td>
695  </tr>
696</table>
697
698<script type="text/javascript">
699  <!--
700  // Private objects are initially displayed (because if
701  // javascript is turned off then we want them to be
702  // visible); but by default, we want to hide them.  So hide
703  // them unless we have a cookie that says to show them.
704  checkCookie();
705  // -->
706</script>
707</body>
708</html>
709