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.SBFileSpec</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> <a 20 href="module-tree.html">Trees</a> </th> 21 22 <!-- Index link --> 23 <th> <a 24 href="identifier-index.html">Indices</a> </th> 25 26 <!-- Help link --> 27 <th> <a 28 href="help.html">Help</a> </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 lldb</a> :: 43 Class SBFileSpec 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 private</a>]</span></td></tr> 51 <tr><td align="right"><span class="options" 52 >[<a href="frames.html" target="_top">frames</a 53 >] | <a href="lldb.SBFileSpec-class.html" 54 target="_top">no frames</a>]</span></td></tr> 55 </table> 56 </td> 57 </tr> 58 </table> 59 <!-- ==================== CLASS DESCRIPTION ==================== --> 60 <h1 class="epydoc">Class SBFileSpec</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBFileSpec">source code</a></span></p> 61 <center> 62 <center> <map id="uml_class_diagram_for_lldb_sbf" name="uml_class_diagram_for_lldb_sbf"> 63 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__swig_setmethods__" title="lldb.SBFileSpec.__swig_setmethods__" alt="" coords="17,31,216,49"/> 64 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__swig_getmethods__" title="lldb.SBFileSpec.__swig_getmethods__" alt="" coords="17,49,216,68"/> 65 <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"/> 66 <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"/> 67 <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"/> 68 <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"/> 69 <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"/> 70 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__getattr__" title="lldb.SBFileSpec.__getattr__" alt="" coords="17,164,216,183"/> 71 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__repr__" title="repr(x)" alt="" coords="17,183,216,201"/> 72 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__eq__" title="lldb.SBFileSpec.__eq__" alt="" coords="17,201,216,220"/> 73 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__ne__" title="lldb.SBFileSpec.__ne__" alt="" coords="17,220,216,239"/> 74 <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"/> 75 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__swig_destroy__" title="delete_SBFileSpec(SBFileSpec self)" alt="" coords="17,257,216,276"/> 76 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__del__" title="lldb.SBFileSpec.__del__" alt="" coords="17,276,216,295"/> 77 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__nonzero__" title="lldb.SBFileSpec.__nonzero__" alt="" coords="17,295,216,313"/> 78 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#IsValid" title="IsValid(SBFileSpec self) -> bool" alt="" coords="17,313,216,332"/> 79 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#Exists" title="Exists(SBFileSpec self) -> bool" alt="" coords="17,332,216,351"/> 80 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#ResolveExecutableLocation" title="ResolveExecutableLocation(SBFileSpec self) -> bool" alt="" coords="17,351,216,369"/> 81 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#GetFilename" title="GetFilename(SBFileSpec self) -> str const *" alt="" coords="17,369,216,388"/> 82 <area shape="rect" id="node17" href="lldb.SBFileSpec-class.html#__str__" title="__str__(SBFileSpec self) -> PyObject *" alt="" coords="17,407,216,425"/> 83 <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"/> 84 </map> 85 <img src="uml_class_diagram_for_lldb_sbf.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbf" ismap="ismap" class="graph-without-title" /> 86 </center> 87 </center> 88 <hr /> 89 <pre class="literalblock"> 90 91 Represents a file specfication that divides the path into a directory and 92 basename. The string values of the paths are put into uniqued string pools 93 for fast comparisons and efficient memory usage. 94 95 For example, the following code 96 97 lineEntry = context.GetLineEntry() 98 self.expect(lineEntry.GetFileSpec().GetDirectory(), 'The line entry should have the correct directory', 99 exe=False, 100 substrs = [self.mydir]) 101 self.expect(lineEntry.GetFileSpec().GetFilename(), 'The line entry should have the correct filename', 102 exe=False, 103 substrs = ['main.c']) 104 self.assertTrue(lineEntry.GetLine() == self.line, 105 'The line entry's line number should match ') 106 107 gets the line entry from the symbol context when a thread is stopped. 108 It gets the file spec corresponding to the line entry and checks that 109 the filename and the directory matches wat we expect. 110 111 </pre> 112 113 <!-- ==================== INSTANCE METHODS ==================== --> 114 <a name="section-InstanceMethods"></a> 115 <table class="summary" border="1" cellpadding="3" 116 cellspacing="0" width="100%" bgcolor="white"> 117 <tr bgcolor="#70b0f0" class="table-header"> 118 <td colspan="2" class="table-header"> 119 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 120 <tr valign="top"> 121 <td align="left"><span class="table-header">Instance Methods</span></td> 122 <td align="right" valign="top" 123 ><span class="options">[<a href="#section-InstanceMethods" 124 class="privatelink" onclick="toggle_private();" 125 >hide private</a>]</span></td> 126 </tr> 127 </table> 128 </td> 129 </tr> 130 <tr> 131 <td width="15%" align="right" valign="top" class="summary"> 132 <span class="summary-type"> </span> 133 </td><td class="summary"> 134 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 135 <tr> 136 <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>, 137 <span class="summary-sig-arg">name</span>, 138 <span class="summary-sig-arg">value</span>)</span><br /> 139 x.__setattr__('name', value) <==> x.name = value</td> 140 <td align="right" valign="top"> 141 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__setattr__">source code</a></span> 142 143 </td> 144 </tr> 145 </table> 146 147 </td> 148 </tr> 149 <tr> 150 <td width="15%" align="right" valign="top" class="summary"> 151 <span class="summary-type"> </span> 152 </td><td class="summary"> 153 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 154 <tr> 155 <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>, 156 <span class="summary-sig-arg">name</span>)</span></td> 157 <td align="right" valign="top"> 158 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__getattr__">source code</a></span> 159 160 </td> 161 </tr> 162 </table> 163 164 </td> 165 </tr> 166 <tr> 167 <td width="15%" align="right" valign="top" class="summary"> 168 <span class="summary-type"> </span> 169 </td><td class="summary"> 170 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 171 <tr> 172 <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 /> 173 repr(x)</td> 174 <td align="right" valign="top"> 175 <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 176 177 </td> 178 </tr> 179 </table> 180 181 </td> 182 </tr> 183 <tr> 184 <td width="15%" align="right" valign="top" class="summary"> 185 <span class="summary-type"> </span> 186 </td><td class="summary"> 187 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 188 <tr> 189 <td><span class="summary-sig"><a name="__eq__"></a><span class="summary-sig-name">__eq__</span>(<span class="summary-sig-arg">self</span>, 190 <span class="summary-sig-arg">other</span>)</span></td> 191 <td align="right" valign="top"> 192 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__eq__">source code</a></span> 193 194 </td> 195 </tr> 196 </table> 197 198 </td> 199 </tr> 200 <tr> 201 <td width="15%" align="right" valign="top" class="summary"> 202 <span class="summary-type"> </span> 203 </td><td class="summary"> 204 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 205 <tr> 206 <td><span class="summary-sig"><a name="__ne__"></a><span class="summary-sig-name">__ne__</span>(<span class="summary-sig-arg">self</span>, 207 <span class="summary-sig-arg">other</span>)</span></td> 208 <td align="right" valign="top"> 209 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__ne__">source code</a></span> 210 211 </td> 212 </tr> 213 </table> 214 215 </td> 216 </tr> 217 <tr> 218 <td width="15%" align="right" valign="top" class="summary"> 219 <span class="summary-type"> </span> 220 </td><td class="summary"> 221 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 222 <tr> 223 <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>, 224 <span class="summary-sig-arg">*args</span>)</span><br /> 225 __init__(lldb::SBFileSpec self) -> SBFileSpec 226 __init__(lldb::SBFileSpec self, SBFileSpec rhs) -> SBFileSpec 227 __init__(lldb::SBFileSpec self, str const * path) -> SBFileSpec 228 __init__(lldb::SBFileSpec self, str const * path, bool resolve) -> 229 SBFileSpec</td> 230 <td align="right" valign="top"> 231 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__init__">source code</a></span> 232 233 </td> 234 </tr> 235 </table> 236 237 </td> 238 </tr> 239 <tr> 240 <td width="15%" align="right" valign="top" class="summary"> 241 <span class="summary-type"> </span> 242 </td><td class="summary"> 243 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 244 <tr> 245 <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 /> 246 delete_SBFileSpec(SBFileSpec self)</td> 247 <td align="right" valign="top"> 248 249 250 </td> 251 </tr> 252 </table> 253 254 </td> 255 </tr> 256 <tr> 257 <td width="15%" align="right" valign="top" class="summary"> 258 <span class="summary-type"> </span> 259 </td><td class="summary"> 260 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 261 <tr> 262 <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> 263 <td align="right" valign="top"> 264 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__del__">source code</a></span> 265 266 </td> 267 </tr> 268 </table> 269 270 </td> 271 </tr> 272 <tr> 273 <td width="15%" align="right" valign="top" class="summary"> 274 <span class="summary-type"> </span> 275 </td><td class="summary"> 276 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 277 <tr> 278 <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> 279 <td align="right" valign="top"> 280 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__nonzero__">source 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"> </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 name="IsValid"></a><span class="summary-sig-name">IsValid</span>(<span class="summary-sig-arg">self</span>)</span><br /> 295 IsValid(SBFileSpec self) -> bool</td> 296 <td align="right" valign="top"> 297 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.IsValid">source 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"> </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="Exists"></a><span class="summary-sig-name">Exists</span>(<span class="summary-sig-arg">self</span>)</span><br /> 312 Exists(SBFileSpec self) -> bool</td> 313 <td align="right" valign="top"> 314 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.Exists">source code</a></span> 315 316 </td> 317 </tr> 318 </table> 319 320 </td> 321 </tr> 322 <tr> 323 <td width="15%" align="right" valign="top" class="summary"> 324 <span class="summary-type"> </span> 325 </td><td class="summary"> 326 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 327 <tr> 328 <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 /> 329 ResolveExecutableLocation(SBFileSpec self) -> bool</td> 330 <td align="right" valign="top"> 331 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.ResolveExecutableLocation">source code</a></span> 332 333 </td> 334 </tr> 335 </table> 336 337 </td> 338 </tr> 339 <tr> 340 <td width="15%" align="right" valign="top" class="summary"> 341 <span class="summary-type"> </span> 342 </td><td class="summary"> 343 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 344 <tr> 345 <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 /> 346 GetFilename(SBFileSpec self) -> str const *</td> 347 <td align="right" valign="top"> 348 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.GetFilename">source code</a></span> 349 350 </td> 351 </tr> 352 </table> 353 354 </td> 355 </tr> 356 <tr> 357 <td width="15%" align="right" valign="top" class="summary"> 358 <span class="summary-type"> </span> 359 </td><td class="summary"> 360 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 361 <tr> 362 <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 /> 363 GetDirectory(SBFileSpec self) -> str const *</td> 364 <td align="right" valign="top"> 365 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.GetDirectory">source code</a></span> 366 367 </td> 368 </tr> 369 </table> 370 371 </td> 372 </tr> 373 <tr> 374 <td width="15%" align="right" valign="top" class="summary"> 375 <span class="summary-type"> </span> 376 </td><td class="summary"> 377 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 378 <tr> 379 <td><span class="summary-sig"><a name="GetPath"></a><span class="summary-sig-name">GetPath</span>(<span class="summary-sig-arg">self</span>, 380 <span class="summary-sig-arg">*args</span>)</span><br /> 381 GetPath(SBFileSpec self, str * dst_path, size_t dst_len) -> 382 uint32_t</td> 383 <td align="right" valign="top"> 384 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.GetPath">source code</a></span> 385 386 </td> 387 </tr> 388 </table> 389 390 </td> 391 </tr> 392 <tr> 393 <td width="15%" align="right" valign="top" class="summary"> 394 <span class="summary-type"> </span> 395 </td><td class="summary"> 396 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 397 <tr> 398 <td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>, 399 <span class="summary-sig-arg">*args</span>)</span><br /> 400 GetDescription(SBFileSpec self, SBStream description) -> bool</td> 401 <td align="right" valign="top"> 402 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.GetDescription">source code</a></span> 403 404 </td> 405 </tr> 406 </table> 407 408 </td> 409 </tr> 410 <tr> 411 <td width="15%" align="right" valign="top" class="summary"> 412 <span class="summary-type"> </span> 413 </td><td class="summary"> 414 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 415 <tr> 416 <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> 417 <td align="right" valign="top"> 418 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__get_fullpath__">source code</a></span> 419 420 </td> 421 </tr> 422 </table> 423 424 </td> 425 </tr> 426 <tr> 427 <td width="15%" align="right" valign="top" class="summary"> 428 <span class="summary-type"> </span> 429 </td><td class="summary"> 430 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 431 <tr> 432 <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 /> 433 __str__(SBFileSpec self) -> PyObject *</td> 434 <td align="right" valign="top"> 435 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__str__">source code</a></span> 436 437 </td> 438 </tr> 439 </table> 440 441 </td> 442 </tr> 443 <tr> 444 <td colspan="2" class="summary"> 445 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 446 <code>__delattr__</code>, 447 <code>__format__</code>, 448 <code>__getattribute__</code>, 449 <code>__hash__</code>, 450 <code>__new__</code>, 451 <code>__reduce__</code>, 452 <code>__reduce_ex__</code>, 453 <code>__sizeof__</code>, 454 <code>__subclasshook__</code> 455 </p> 456 </td> 457 </tr> 458 </table> 459 <!-- ==================== STATIC METHODS ==================== --> 460 <a name="section-StaticMethods"></a> 461 <table class="summary" border="1" cellpadding="3" 462 cellspacing="0" width="100%" bgcolor="white"> 463 <tr bgcolor="#70b0f0" class="table-header"> 464 <td colspan="2" class="table-header"> 465 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 466 <tr valign="top"> 467 <td align="left"><span class="table-header">Static Methods</span></td> 468 <td align="right" valign="top" 469 ><span class="options">[<a href="#section-StaticMethods" 470 class="privatelink" onclick="toggle_private();" 471 >hide private</a>]</span></td> 472 </tr> 473 </table> 474 </td> 475 </tr> 476 <tr> 477 <td width="15%" align="right" valign="top" class="summary"> 478 <span class="summary-type"> </span> 479 </td><td class="summary"> 480 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 481 <tr> 482 <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 /> 483 ResolvePath(str const * src_path, str * dst_path, size_t dst_len) 484 -> int</td> 485 <td align="right" valign="top"> 486 <span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.ResolvePath">source code</a></span> 487 488 </td> 489 </tr> 490 </table> 491 492 </td> 493 </tr> 494 </table> 495 <!-- ==================== CLASS VARIABLES ==================== --> 496 <a name="section-ClassVariables"></a> 497 <table class="summary" border="1" cellpadding="3" 498 cellspacing="0" width="100%" bgcolor="white"> 499 <tr bgcolor="#70b0f0" class="table-header"> 500 <td colspan="2" class="table-header"> 501 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 502 <tr valign="top"> 503 <td align="left"><span class="table-header">Class Variables</span></td> 504 <td align="right" valign="top" 505 ><span class="options">[<a href="#section-ClassVariables" 506 class="privatelink" onclick="toggle_private();" 507 >hide private</a>]</span></td> 508 </tr> 509 </table> 510 </td> 511 </tr> 512 <tr> 513 <td width="15%" align="right" valign="top" class="summary"> 514 <span class="summary-type"> </span> 515 </td><td class="summary"> 516 <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> 517 </td> 518 </tr> 519 <tr> 520 <td width="15%" align="right" valign="top" class="summary"> 521 <span class="summary-type"> </span> 522 </td><td class="summary"> 523 <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code> 524 </td> 525 </tr> 526 </table> 527 <!-- ==================== PROPERTIES ==================== --> 528 <a name="section-Properties"></a> 529 <table class="summary" border="1" cellpadding="3" 530 cellspacing="0" width="100%" bgcolor="white"> 531 <tr bgcolor="#70b0f0" class="table-header"> 532 <td colspan="2" class="table-header"> 533 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 534 <tr valign="top"> 535 <td align="left"><span class="table-header">Properties</span></td> 536 <td align="right" valign="top" 537 ><span class="options">[<a href="#section-Properties" 538 class="privatelink" onclick="toggle_private();" 539 >hide private</a>]</span></td> 540 </tr> 541 </table> 542 </td> 543 </tr> 544 <tr> 545 <td width="15%" align="right" valign="top" class="summary"> 546 <span class="summary-type"> </span> 547 </td><td class="summary"> 548 <a href="lldb.SBFileSpec-class.html#basename" class="summary-name">basename</a><br /> 549 A read only property that returns the path basename as a python 550 string. 551 </td> 552 </tr> 553 <tr> 554 <td width="15%" align="right" valign="top" class="summary"> 555 <span class="summary-type"> </span> 556 </td><td class="summary"> 557 <a href="lldb.SBFileSpec-class.html#dirname" class="summary-name">dirname</a><br /> 558 A read only property that returns the path directory name as a python 559 string. 560 </td> 561 </tr> 562 <tr> 563 <td width="15%" align="right" valign="top" class="summary"> 564 <span class="summary-type"> </span> 565 </td><td class="summary"> 566 <a href="lldb.SBFileSpec-class.html#exists" class="summary-name">exists</a><br /> 567 A read only property that returns a boolean value that indicates if 568 the file exists. 569 </td> 570 </tr> 571 <tr> 572 <td width="15%" align="right" valign="top" class="summary"> 573 <span class="summary-type"> </span> 574 </td><td class="summary"> 575 <a href="lldb.SBFileSpec-class.html#fullpath" class="summary-name">fullpath</a><br /> 576 A read only property that returns the fullpath as a python string. 577 </td> 578 </tr> 579 <tr> 580 <td colspan="2" class="summary"> 581 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 582 <code>__class__</code> 583 </p> 584 </td> 585 </tr> 586 </table> 587 <!-- ==================== METHOD DETAILS ==================== --> 588 <a name="section-MethodDetails"></a> 589 <table class="details" border="1" cellpadding="3" 590 cellspacing="0" width="100%" bgcolor="white"> 591 <tr bgcolor="#70b0f0" class="table-header"> 592 <td colspan="2" class="table-header"> 593 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 594 <tr valign="top"> 595 <td align="left"><span class="table-header">Method Details</span></td> 596 <td align="right" valign="top" 597 ><span class="options">[<a href="#section-MethodDetails" 598 class="privatelink" onclick="toggle_private();" 599 >hide private</a>]</span></td> 600 </tr> 601 </table> 602 </td> 603 </tr> 604 </table> 605 <a name="__setattr__"></a> 606 <div> 607 <table class="details" border="1" cellpadding="3" 608 cellspacing="0" width="100%" bgcolor="white"> 609 <tr><td> 610 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 611 <tr valign="top"><td> 612 <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>, 613 <span class="sig-arg">name</span>, 614 <span class="sig-arg">value</span>)</span> 615 </h3> 616 </td><td align="right" valign="top" 617 ><span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__setattr__">source code</a></span> 618 </td> 619 </tr></table> 620 621 <p>x.__setattr__('name', value) <==> x.name = value</p> 622 <dl class="fields"> 623 <dt>Overrides: 624 object.__setattr__ 625 <dd><em class="note">(inherited documentation)</em></dd> 626 </dt> 627 </dl> 628 </td></tr></table> 629 </div> 630 <a name="__repr__"></a> 631 <div> 632 <table class="details" border="1" cellpadding="3" 633 cellspacing="0" width="100%" bgcolor="white"> 634 <tr><td> 635 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 636 <tr valign="top"><td> 637 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> 638 <br /><em class="fname">(Representation operator)</em> 639 </h3> 640 </td><td align="right" valign="top" 641 ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 642 </td> 643 </tr></table> 644 645 <p>repr(x)</p> 646 <dl class="fields"> 647 <dt>Overrides: 648 object.__repr__ 649 <dd><em class="note">(inherited documentation)</em></dd> 650 </dt> 651 </dl> 652 </td></tr></table> 653 </div> 654 <a name="__init__"></a> 655 <div> 656 <table class="details" border="1" cellpadding="3" 657 cellspacing="0" width="100%" bgcolor="white"> 658 <tr><td> 659 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 660 <tr valign="top"><td> 661 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 662 <span class="sig-arg">*args</span>)</span> 663 <br /><em class="fname">(Constructor)</em> 664 </h3> 665 </td><td align="right" valign="top" 666 ><span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__init__">source code</a></span> 667 </td> 668 </tr></table> 669 670 <p>__init__(lldb::SBFileSpec self) -> SBFileSpec 671 __init__(lldb::SBFileSpec self, SBFileSpec rhs) -> SBFileSpec 672 __init__(lldb::SBFileSpec self, str const * path) -> SBFileSpec 673 __init__(lldb::SBFileSpec self, str const * path, bool resolve) -> 674 SBFileSpec</p> 675 <dl class="fields"> 676 <dt>Overrides: 677 object.__init__ 678 </dt> 679 </dl> 680 </td></tr></table> 681 </div> 682 <a name="__str__"></a> 683 <div> 684 <table class="details" border="1" cellpadding="3" 685 cellspacing="0" width="100%" bgcolor="white"> 686 <tr><td> 687 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 688 <tr valign="top"><td> 689 <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span> 690 <br /><em class="fname">(Informal representation operator)</em> 691 </h3> 692 </td><td align="right" valign="top" 693 ><span class="codelink"><a href="lldb-pysrc.html#SBFileSpec.__str__">source code</a></span> 694 </td> 695 </tr></table> 696 697 <p>__str__(SBFileSpec self) -> PyObject *</p> 698 <dl class="fields"> 699 <dt>Overrides: 700 object.__str__ 701 </dt> 702 </dl> 703 </td></tr></table> 704 </div> 705 <br /> 706 <!-- ==================== PROPERTY DETAILS ==================== --> 707 <a name="section-PropertyDetails"></a> 708 <table class="details" border="1" cellpadding="3" 709 cellspacing="0" width="100%" bgcolor="white"> 710 <tr bgcolor="#70b0f0" class="table-header"> 711 <td colspan="2" class="table-header"> 712 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 713 <tr valign="top"> 714 <td align="left"><span class="table-header">Property Details</span></td> 715 <td align="right" valign="top" 716 ><span class="options">[<a href="#section-PropertyDetails" 717 class="privatelink" onclick="toggle_private();" 718 >hide private</a>]</span></td> 719 </tr> 720 </table> 721 </td> 722 </tr> 723 </table> 724 <a name="basename"></a> 725 <div> 726 <table class="details" border="1" cellpadding="3" 727 cellspacing="0" width="100%" bgcolor="white"> 728 <tr><td> 729 <h3 class="epydoc">basename</h3> 730 <p>A read only property that returns the path basename as a python 731 string.</p> 732 <dl class="fields"> 733 <dt>Get Method:</dt> 734 <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> 735 - GetFilename(SBFileSpec self) -> str const * 736 </dd> 737 </dl> 738 </td></tr></table> 739 </div> 740 <a name="dirname"></a> 741 <div> 742 <table class="details" border="1" cellpadding="3" 743 cellspacing="0" width="100%" bgcolor="white"> 744 <tr><td> 745 <h3 class="epydoc">dirname</h3> 746 <p>A read only property that returns the path directory name as a python 747 string.</p> 748 <dl class="fields"> 749 <dt>Get Method:</dt> 750 <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> 751 - GetDirectory(SBFileSpec self) -> str const * 752 </dd> 753 </dl> 754 </td></tr></table> 755 </div> 756 <a name="exists"></a> 757 <div> 758 <table class="details" border="1" cellpadding="3" 759 cellspacing="0" width="100%" bgcolor="white"> 760 <tr><td> 761 <h3 class="epydoc">exists</h3> 762 <p>A read only property that returns a boolean value that indicates if 763 the file exists.</p> 764 <dl class="fields"> 765 <dt>Get Method:</dt> 766 <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> 767 - Exists(SBFileSpec self) -> bool 768 </dd> 769 </dl> 770 </td></tr></table> 771 </div> 772 <a name="fullpath"></a> 773 <div> 774 <table class="details" border="1" cellpadding="3" 775 cellspacing="0" width="100%" bgcolor="white"> 776 <tr><td> 777 <h3 class="epydoc">fullpath</h3> 778 <p>A read only property that returns the fullpath as a python string.</p> 779 <dl class="fields"> 780 <dt>Get Method:</dt> 781 <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> 782 </dd> 783 </dl> 784 </td></tr></table> 785 </div> 786 <br /> 787 <!-- ==================== NAVIGATION BAR ==================== --> 788 <table class="navbar" border="0" width="100%" cellpadding="0" 789 bgcolor="#a0c0ff" cellspacing="0"> 790 <tr valign="middle"> 791 792 <!-- Tree link --> 793 <th> <a 794 href="module-tree.html">Trees</a> </th> 795 796 <!-- Index link --> 797 <th> <a 798 href="identifier-index.html">Indices</a> </th> 799 800 <!-- Help link --> 801 <th> <a 802 href="help.html">Help</a> </th> 803 804 <!-- Project homepage --> 805 <th class="navbar" align="right" width="100%"> 806 <table border="0" cellpadding="0" cellspacing="0"> 807 <tr><th class="navbar" align="center" 808 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 809 </tr></table></th> 810 </tr> 811 </table> 812 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> 813 <tr> 814 <td align="left" class="footer"> 815 Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:35 2013 816 </td> 817 <td align="right" class="footer"> 818 <a target="mainFrame" href="http://epydoc.sourceforge.net" 819 >http://epydoc.sourceforge.net</a> 820 </td> 821 </tr> 822 </table> 823 824 <script type="text/javascript"> 825 <!-- 826 // Private objects are initially displayed (because if 827 // javascript is turned off then we want them to be 828 // visible); but by default, we want to hide them. So hide 829 // them unless we have a cookie that says to show them. 830 checkCookie(); 831 // --> 832 </script> 833 </body> 834 </html> 835