<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>lldb.SBFileSpec</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script type="text/javascript" src="epydoc.js"></script> </head> <body bgcolor="white" text="black" link="blue" vlink="#204080" alink="#204080"> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <!-- Project homepage --> <th class="navbar" align="right" width="100%"> <table border="0" cellpadding="0" cellspacing="0"> <tr><th class="navbar" align="center" ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> </tr></table></th> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="100%"> <span class="breadcrumbs"> <a href="lldb-module.html">Package lldb</a> :: Class SBFileSpec </span> </td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" onclick="toggle_private();">hide private</a>]</span></td></tr> <tr><td align="right"><span class="options" >[<a href="frames.html" target="_top">frames</a >] | <a href="lldb.SBFileSpec-class.html" target="_top">no frames</a>]</span></td></tr> </table> </td> </tr> </table> <!-- ==================== CLASS DESCRIPTION ==================== --> <h1 class="epydoc">Class SBFileSpec</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBFileSpec">source code</a></span></p> <center> <center> <map id="uml_class_diagram_for_lldb_sbf" name="uml_class_diagram_for_lldb_sbf"> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__swig_setmethods__" title="lldb.SBFileSpec.__swig_setmethods__" alt="" coords="17,31,216,49"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__swig_getmethods__" title="lldb.SBFileSpec.__swig_getmethods__" alt="" coords="17,49,216,68"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#basename" title="A read only property that returns the path basename as a python string." alt="" coords="17,68,216,87"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#dirname" title="A read only property that returns the path directory name as a python  string." alt="" coords="17,87,216,105"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#exists" title="A read only property that returns a boolean value that indicates if the  file exists." alt="" coords="17,105,216,124"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#fullpath" title="A read only property that returns the fullpath as a python string." alt="" coords="17,124,216,143"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__setattr__" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,145,216,164"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__getattr__" title="lldb.SBFileSpec.__getattr__" alt="" coords="17,164,216,183"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__repr__" title="repr(x)" alt="" coords="17,183,216,201"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__eq__" title="lldb.SBFileSpec.__eq__" alt="" coords="17,201,216,220"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__ne__" title="lldb.SBFileSpec.__ne__" alt="" coords="17,220,216,239"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__init__" title="__init__(lldb::SBFileSpec self) -> SBFileSpec __init__(lldb::SBFileSpec  self, SBFileSpec rhs) -> SBFileSpec __init__(lldb::SBFileSpec self, str  const * path) -> SBFileSpec __init__(lldb::SBFileSpec self, str const *  path, bool resolve) -> SBFileSpec" alt="" coords="17,239,216,257"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__swig_destroy__" title="delete_SBFileSpec(SBFileSpec self)" alt="" coords="17,257,216,276"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__del__" title="lldb.SBFileSpec.__del__" alt="" coords="17,276,216,295"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__nonzero__" title="lldb.SBFileSpec.__nonzero__" alt="" coords="17,295,216,313"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#IsValid" title="IsValid(SBFileSpec self) -> bool" alt="" coords="17,313,216,332"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#Exists" title="Exists(SBFileSpec self) -> bool" alt="" coords="17,332,216,351"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#ResolveExecutableLocation" title="ResolveExecutableLocation(SBFileSpec self) -> bool" alt="" coords="17,351,216,369"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#GetFilename" title="GetFilename(SBFileSpec self) -> str const *" alt="" coords="17,369,216,388"/> <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__str__" title="__str__(SBFileSpec self) -> PyObject *" alt="" coords="17,407,216,425"/> <area shape="rect" id="node1" href="lldb.SBFileSpec-class.html" title="Represents a file specfication that divides the path into a directory and basename." alt="" coords="5,6,227,431"/> </map> <img src="uml_class_diagram_for_lldb_sbf.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbf" ismap="ismap" class="graph-without-title" /> </center> </center> <hr /> <pre class="literalblock"> Represents a file specfication that divides the path into a directory and basename. The string values of the paths are put into uniqued string pools for fast comparisons and efficient memory usage. For example, the following code lineEntry = context.GetLineEntry() self.expect(lineEntry.GetFileSpec().GetDirectory(), 'The line entry should have the correct directory', exe=False, substrs = [self.mydir]) self.expect(lineEntry.GetFileSpec().GetFilename(), 'The line entry should have the correct filename', exe=False, substrs = ['main.c']) self.assertTrue(lineEntry.GetLine() == self.line, 'The line entry's line number should match ') gets the line entry from the symbol context when a thread is stopped. It gets the file spec corresponding to the line entry and checks that the filename and the directory matches wat we expect. </pre> <!-- ==================== INSTANCE METHODS ==================== --> <a name="section-InstanceMethods"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Instance Methods</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-InstanceMethods" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a href="lldb.SBFileSpec-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>, <span class="summary-sig-arg">name</span>, <span class="summary-sig-arg">value</span>)</span><br /> x.__setattr__('name', value) <==> x.name = value</td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__setattr__">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>, <span class="summary-sig-arg">name</span>)</span></td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__getattr__">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a href="lldb.SBFileSpec-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br /> repr(x)</td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="__eq__"></a><span class="summary-sig-name">__eq__</span>(<span class="summary-sig-arg">self</span>, <span class="summary-sig-arg">other</span>)</span></td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__eq__">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="__ne__"></a><span class="summary-sig-name">__ne__</span>(<span class="summary-sig-arg">self</span>, <span class="summary-sig-arg">other</span>)</span></td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__ne__">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a href="lldb.SBFileSpec-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, <span class="summary-sig-arg">*args</span>)</span><br /> __init__(lldb::SBFileSpec self) -> SBFileSpec __init__(lldb::SBFileSpec self, SBFileSpec rhs) -> SBFileSpec __init__(lldb::SBFileSpec self, str const * path) -> SBFileSpec __init__(lldb::SBFileSpec self, str const * path, bool resolve) -> SBFileSpec</td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__init__">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <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 /> delete_SBFileSpec(SBFileSpec self)</td> <td align="right" valign="top"> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <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> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__del__">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <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> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__nonzero__">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <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 /> IsValid(SBFileSpec self) -> bool</td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.IsValid">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="Exists"></a><span class="summary-sig-name">Exists</span>(<span class="summary-sig-arg">self</span>)</span><br /> Exists(SBFileSpec self) -> bool</td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.Exists">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="ResolveExecutableLocation"></a><span class="summary-sig-name">ResolveExecutableLocation</span>(<span class="summary-sig-arg">self</span>)</span><br /> ResolveExecutableLocation(SBFileSpec self) -> bool</td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.ResolveExecutableLocation">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="GetFilename"></a><span class="summary-sig-name">GetFilename</span>(<span class="summary-sig-arg">self</span>)</span><br /> GetFilename(SBFileSpec self) -> str const *</td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.GetFilename">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="GetDirectory"></a><span class="summary-sig-name">GetDirectory</span>(<span class="summary-sig-arg">self</span>)</span><br /> GetDirectory(SBFileSpec self) -> str const *</td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.GetDirectory">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="GetPath"></a><span class="summary-sig-name">GetPath</span>(<span class="summary-sig-arg">self</span>, <span class="summary-sig-arg">*args</span>)</span><br /> GetPath(SBFileSpec self, str * dst_path, size_t dst_len) -> uint32_t</td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.GetPath">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>, <span class="summary-sig-arg">*args</span>)</span><br /> GetDescription(SBFileSpec self, SBStream description) -> bool</td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.GetDescription">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="__get_fullpath__"></a><span class="summary-sig-name">__get_fullpath__</span>(<span class="summary-sig-arg">self</span>)</span></td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__get_fullpath__">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a href="lldb.SBFileSpec-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br /> __str__(SBFileSpec self) -> PyObject *</td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__str__">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" class="summary"> <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: <code>__delattr__</code>, <code>__format__</code>, <code>__getattribute__</code>, <code>__hash__</code>, <code>__new__</code>, <code>__reduce__</code>, <code>__reduce_ex__</code>, <code>__sizeof__</code>, <code>__subclasshook__</code> </p> </td> </tr> </table> <!-- ==================== STATIC METHODS ==================== --> <a name="section-StaticMethods"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Static Methods</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-StaticMethods" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="ResolvePath"></a><span class="summary-sig-name">ResolvePath</span>(<span class="summary-sig-arg">*args</span>)</span><br /> ResolvePath(str const * src_path, str * dst_path, size_t dst_len) -> int</td> <td align="right" valign="top"> <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.ResolvePath">source code</a></span> </td> </tr> </table> </td> </tr> </table> <!-- ==================== CLASS VARIABLES ==================== --> <a name="section-ClassVariables"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Class Variables</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-ClassVariables" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <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> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code> </td> </tr> </table> <!-- ==================== PROPERTIES ==================== --> <a name="section-Properties"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Properties</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-Properties" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="lldb.SBFileSpec-class.html#basename" class="summary-name">basename</a><br /> A read only property that returns the path basename as a python string. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="lldb.SBFileSpec-class.html#dirname" class="summary-name">dirname</a><br /> A read only property that returns the path directory name as a python string. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="lldb.SBFileSpec-class.html#exists" class="summary-name">exists</a><br /> A read only property that returns a boolean value that indicates if the file exists. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="lldb.SBFileSpec-class.html#fullpath" class="summary-name">fullpath</a><br /> A read only property that returns the fullpath as a python string. </td> </tr> <tr> <td colspan="2" class="summary"> <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: <code>__class__</code> </p> </td> </tr> </table> <!-- ==================== METHOD DETAILS ==================== --> <a name="section-MethodDetails"></a> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Method Details</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-MethodDetails" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> </table> <a name="__setattr__"></a> <div> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr><td> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr valign="top"><td> <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>, <span class="sig-arg">name</span>, <span class="sig-arg">value</span>)</span> </h3> </td><td align="right" valign="top" ><span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__setattr__">source code</a></span> </td> </tr></table> <p>x.__setattr__('name', value) <==> x.name = value</p> <dl class="fields"> <dt>Overrides: object.__setattr__ <dd><em class="note">(inherited documentation)</em></dd> </dt> </dl> </td></tr></table> </div> <a name="__repr__"></a> <div> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr><td> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr valign="top"><td> <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> <br /><em class="fname">(Representation operator)</em> </h3> </td><td align="right" valign="top" ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> </td> </tr></table> <p>repr(x)</p> <dl class="fields"> <dt>Overrides: object.__repr__ <dd><em class="note">(inherited documentation)</em></dd> </dt> </dl> </td></tr></table> </div> <a name="__init__"></a> <div> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr><td> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr valign="top"><td> <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, <span class="sig-arg">*args</span>)</span> <br /><em class="fname">(Constructor)</em> </h3> </td><td align="right" valign="top" ><span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__init__">source code</a></span> </td> </tr></table> <p>__init__(lldb::SBFileSpec self) -> SBFileSpec __init__(lldb::SBFileSpec self, SBFileSpec rhs) -> SBFileSpec __init__(lldb::SBFileSpec self, str const * path) -> SBFileSpec __init__(lldb::SBFileSpec self, str const * path, bool resolve) -> SBFileSpec</p> <dl class="fields"> <dt>Overrides: object.__init__ </dt> </dl> </td></tr></table> </div> <a name="__str__"></a> <div> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr><td> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr valign="top"><td> <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span> <br /><em class="fname">(Informal representation operator)</em> </h3> </td><td align="right" valign="top" ><span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__str__">source code</a></span> </td> </tr></table> <p>__str__(SBFileSpec self) -> PyObject *</p> <dl class="fields"> <dt>Overrides: object.__str__ </dt> </dl> </td></tr></table> </div> <br /> <!-- ==================== PROPERTY DETAILS ==================== --> <a name="section-PropertyDetails"></a> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Property Details</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-PropertyDetails" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> </table> <a name="basename"></a> <div> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr><td> <h3 class="epydoc">basename</h3> <p>A read only property that returns the path basename as a python string.</p> <dl class="fields"> <dt>Get Method:</dt> <dd class="value"><span class="summary-sig"><a href="lldb.SBFileSpec-class.html#GetFilename" class="summary-sig-name">GetFilename</a>(<span class="summary-sig-arg">self</span>)</span> - GetFilename(SBFileSpec self) -> str const * </dd> </dl> </td></tr></table> </div> <a name="dirname"></a> <div> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr><td> <h3 class="epydoc">dirname</h3> <p>A read only property that returns the path directory name as a python string.</p> <dl class="fields"> <dt>Get Method:</dt> <dd class="value"><span class="summary-sig"><a href="lldb.SBFileSpec-class.html#GetDirectory" class="summary-sig-name">GetDirectory</a>(<span class="summary-sig-arg">self</span>)</span> - GetDirectory(SBFileSpec self) -> str const * </dd> </dl> </td></tr></table> </div> <a name="exists"></a> <div> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr><td> <h3 class="epydoc">exists</h3> <p>A read only property that returns a boolean value that indicates if the file exists.</p> <dl class="fields"> <dt>Get Method:</dt> <dd class="value"><span class="summary-sig"><a href="lldb.SBFileSpec-class.html#Exists" class="summary-sig-name">Exists</a>(<span class="summary-sig-arg">self</span>)</span> - Exists(SBFileSpec self) -> bool </dd> </dl> </td></tr></table> </div> <a name="fullpath"></a> <div> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr><td> <h3 class="epydoc">fullpath</h3> <p>A read only property that returns the fullpath as a python string.</p> <dl class="fields"> <dt>Get Method:</dt> <dd class="value"><span class="summary-sig"><a href="lldb.SBFileSpec-class.html#__get_fullpath__" class="summary-sig-name">__get_fullpath__</a>(<span class="summary-sig-arg">self</span>)</span> </dd> </dl> </td></tr></table> </div> <br /> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <!-- Project homepage --> <th class="navbar" align="right" width="100%"> <table border="0" cellpadding="0" cellspacing="0"> <tr><th class="navbar" align="center" ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> </tr></table></th> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%%"> <tr> <td align="left" class="footer"> Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:35 2013 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" >http://epydoc.sourceforge.net</a> </td> </tr> </table> <script type="text/javascript"> <!-- // Private objects are initially displayed (because if // javascript is turned off then we want them to be // visible); but by default, we want to hide them. So hide // them unless we have a cookie that says to show them. checkCookie(); // --> </script> </body> </html>