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.SBType</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 SBType 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.SBType-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 SBType</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBType">source code</a></span></p> 61<center> 62<center> <map id="uml_class_diagram_for_lldb_sbt_5" name="uml_class_diagram_for_lldb_sbt_5"> 63<area shape="rect" id="node48" href="lldb.SBType-class.html#__swig_setmethods__" title="lldb.SBType.__swig_setmethods__" alt="" coords="17,31,197,49"/> 64<area shape="rect" id="node48" href="lldb.SBType-class.html#__swig_getmethods__" title="lldb.SBType.__swig_getmethods__" alt="" coords="17,49,197,68"/> 65<area shape="rect" id="node48" href="lldb.SBType-class.html#bases" title="A read only property that returns a list() of lldb.SBTypeMember objects  that represent all of the direct base classes for this type." alt="" coords="17,68,197,87"/> 66<area shape="rect" id="node48" href="lldb.SBType-class.html#fields" title="A read only property that returns a list() of lldb.SBTypeMember objects  that represent all of the fields for this type." alt="" coords="17,87,197,105"/> 67<area shape="rect" id="node48" href="lldb.SBType-class.html#is_complete" title="A read only property that returns a boolean value that indicates if this  type is a complete type (True) or a forward declaration (False)." alt="" coords="17,105,197,124"/> 68<area shape="rect" id="node48" href="lldb.SBType-class.html#is_pointer" title="A read only property that returns a boolean value that indicates if this  type is a pointer type." alt="" coords="17,124,197,143"/> 69<area shape="rect" id="node48" href="lldb.SBType-class.html#is_reference" title="A read only property that returns a boolean value that indicates if this  type is a function type." alt="" coords="17,143,197,161"/> 70<area shape="rect" id="node48" href="lldb.SBType-class.html#members" title="A read only property that returns a list() of all lldb.SBTypeMember objects that represent all of the base classes, virtual base classes and fields for this type in ascending bit offset order." alt="" coords="17,161,197,180"/> 71<area shape="rect" id="node48" href="lldb.SBType-class.html#name" title="A read only property that returns the name for this type as a string." alt="" coords="17,180,197,199"/> 72<area shape="rect" id="node48" href="lldb.SBType-class.html#num_bases" title="A read only property that returns number of direct base classes in this  type as an integer." alt="" coords="17,199,197,217"/> 73<area shape="rect" id="node48" href="lldb.SBType-class.html#num_fields" title="A read only property that returns number of fields in this type as an  integer." alt="" coords="17,217,197,236"/> 74<area shape="rect" id="node48" href="lldb.SBType-class.html#num_template_args" title="A read only property that returns number of template arguments in this type as an integer." alt="" coords="17,236,197,255"/> 75<area shape="rect" id="node48" href="lldb.SBType-class.html#num_vbases" title="A read only property that returns number of virtual base classes in this  type as an integer." alt="" coords="17,255,197,273"/> 76<area shape="rect" id="node48" href="lldb.SBType-class.html#vbases" title="A read only property that returns a list() of lldb.SBTypeMember objects  that represent all of the virtual base classes for this type." alt="" coords="17,292,197,311"/> 77<area shape="rect" id="node48" href="lldb.SBType-class.html#__setattr__" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,313,197,332"/> 78<area shape="rect" id="node48" href="lldb.SBType-class.html#__getattr__" title="lldb.SBType.__getattr__" alt="" coords="17,332,197,351"/> 79<area shape="rect" id="node48" href="lldb.SBType-class.html#__repr__" title="repr(x)" alt="" coords="17,351,197,369"/> 80<area shape="rect" id="node48" href="lldb.SBType-class.html#__iter__" title="lldb.SBType.__iter__" alt="" coords="17,369,197,388"/> 81<area shape="rect" id="node48" href="lldb.SBType-class.html#__len__" title="lldb.SBType.__len__" alt="" coords="17,388,197,407"/> 82<area shape="rect" id="node48" href="lldb.SBType-class.html#__eq__" title="lldb.SBType.__eq__" alt="" coords="17,407,197,425"/> 83<area shape="rect" id="node48" href="lldb.SBType-class.html#__ne__" title="lldb.SBType.__ne__" alt="" coords="17,425,197,444"/> 84<area shape="rect" id="node48" href="lldb.SBType-class.html#__init__" title="__init__(lldb::SBType self) -> SBType __init__(lldb::SBType self, SBType  rhs) -> SBType" alt="" coords="17,444,197,463"/> 85<area shape="rect" id="node48" href="lldb.SBType-class.html#__swig_destroy__" title="delete_SBType(SBType self)" alt="" coords="17,463,197,481"/> 86<area shape="rect" id="node48" href="lldb.SBType-class.html#__del__" title="lldb.SBType.__del__" alt="" coords="17,481,197,500"/> 87<area shape="rect" id="node48" href="lldb.SBType-class.html#__nonzero__" title="lldb.SBType.__nonzero__" alt="" coords="17,500,197,519"/> 88<area shape="rect" id="node48" href="lldb.SBType-class.html#IsValid" title="IsValid(SBType self) -> bool" alt="" coords="17,519,197,537"/> 89<area shape="rect" id="node48" href="lldb.SBType-class.html#GetByteSize" title="GetByteSize(SBType self) -> uint64_t" alt="" coords="17,537,197,556"/> 90<area shape="rect" id="node48" href="lldb.SBType-class.html#__str__" title="__str__(SBType self) -> PyObject *" alt="" coords="17,575,197,593"/> 91<area shape="rect" id="node1" href="lldb.SBType-class.html" title="Represents a data type in lldb." alt="" coords="5,6,208,599"/> 92</map> 93 <img src="uml_class_diagram_for_lldb_sbt_5.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbt_5" ismap="ismap" class="graph-without-title" /> 94</center> 95</center> 96<hr /> 97<pre class="literalblock"> 98 99 Represents a data type in lldb. The FindFirstType() method of SBTarget/SBModule 100 returns a SBType. 101 102 SBType supports the eq/ne operator. For example, 103 104 main.cpp: 105 106 class Task { 107 public: 108 int id; 109 Task *next; 110 Task(int i, Task *n): 111 id(i), 112 next(n) 113 {} 114 }; 115 116 int main (int argc, char const *argv[]) 117 { 118 Task *task_head = new Task(-1, NULL); 119 Task *task1 = new Task(1, NULL); 120 Task *task2 = new Task(2, NULL); 121 Task *task3 = new Task(3, NULL); // Orphaned. 122 Task *task4 = new Task(4, NULL); 123 Task *task5 = new Task(5, NULL); 124 125 task_head->next = task1; 126 task1->next = task2; 127 task2->next = task4; 128 task4->next = task5; 129 130 int total = 0; 131 Task *t = task_head; 132 while (t != NULL) { 133 if (t->id >= 0) 134 ++total; 135 t = t->next; 136 } 137 printf('We have a total number of %d tasks 138', total); 139 140 // This corresponds to an empty task list. 141 Task *empty_task_head = new Task(-1, NULL); 142 143 return 0; // Break at this line 144 } 145 146 find_type.py: 147 148 # Get the type 'Task'. 149 task_type = target.FindFirstType('Task') 150 self.assertTrue(task_type) 151 152 # Get the variable 'task_head'. 153 frame0.FindVariable('task_head') 154 task_head_type = task_head.GetType() 155 self.assertTrue(task_head_type.IsPointerType()) 156 157 # task_head_type is 'Task *'. 158 task_pointer_type = task_type.GetPointerType() 159 self.assertTrue(task_head_type == task_pointer_type) 160 161 # Get the child mmember 'id' from 'task_head'. 162 id = task_head.GetChildMemberWithName('id') 163 id_type = id.GetType() 164 165 # SBType.GetBasicType() takes an enum 'BasicType' (lldb-enumerations.h). 166 int_type = id_type.GetBasicType(lldb.eBasicTypeInt) 167 # id_type and int_type should be the same type! 168 self.assertTrue(id_type == int_type) 169 170 ... 171 172 173 174</pre> 175 176<!-- ==================== INSTANCE METHODS ==================== --> 177<a name="section-InstanceMethods"></a> 178<table class="summary" border="1" cellpadding="3" 179 cellspacing="0" width="100%" bgcolor="white"> 180<tr bgcolor="#70b0f0" class="table-header"> 181 <td colspan="2" class="table-header"> 182 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 183 <tr valign="top"> 184 <td align="left"><span class="table-header">Instance Methods</span></td> 185 <td align="right" valign="top" 186 ><span class="options">[<a href="#section-InstanceMethods" 187 class="privatelink" onclick="toggle_private();" 188 >hide private</a>]</span></td> 189 </tr> 190 </table> 191 </td> 192</tr> 193<tr> 194 <td width="15%" align="right" valign="top" class="summary"> 195 <span class="summary-type"> </span> 196 </td><td class="summary"> 197 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 198 <tr> 199 <td><span class="summary-sig"><a href="lldb.SBType-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>, 200 <span class="summary-sig-arg">name</span>, 201 <span class="summary-sig-arg">value</span>)</span><br /> 202 x.__setattr__('name', value) <==> x.name = value</td> 203 <td align="right" valign="top"> 204 <span class="codelink"><a href="lldb-pysrc.html#SBType.__setattr__">source code</a></span> 205 206 </td> 207 </tr> 208 </table> 209 210 </td> 211 </tr> 212<tr> 213 <td width="15%" align="right" valign="top" class="summary"> 214 <span class="summary-type"> </span> 215 </td><td class="summary"> 216 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 217 <tr> 218 <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>, 219 <span class="summary-sig-arg">name</span>)</span></td> 220 <td align="right" valign="top"> 221 <span class="codelink"><a href="lldb-pysrc.html#SBType.__getattr__">source code</a></span> 222 223 </td> 224 </tr> 225 </table> 226 227 </td> 228 </tr> 229<tr> 230 <td width="15%" align="right" valign="top" class="summary"> 231 <span class="summary-type"> </span> 232 </td><td class="summary"> 233 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 234 <tr> 235 <td><span class="summary-sig"><a href="lldb.SBType-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 236 repr(x)</td> 237 <td align="right" valign="top"> 238 <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 239 240 </td> 241 </tr> 242 </table> 243 244 </td> 245 </tr> 246<tr> 247 <td width="15%" align="right" valign="top" class="summary"> 248 <span class="summary-type"> </span> 249 </td><td class="summary"> 250 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 251 <tr> 252 <td><span class="summary-sig"><a name="__iter__"></a><span class="summary-sig-name">__iter__</span>(<span class="summary-sig-arg">self</span>)</span></td> 253 <td align="right" valign="top"> 254 <span class="codelink"><a href="lldb-pysrc.html#SBType.__iter__">source code</a></span> 255 256 </td> 257 </tr> 258 </table> 259 260 </td> 261 </tr> 262<tr> 263 <td width="15%" align="right" valign="top" class="summary"> 264 <span class="summary-type"> </span> 265 </td><td class="summary"> 266 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 267 <tr> 268 <td><span class="summary-sig"><a name="__len__"></a><span class="summary-sig-name">__len__</span>(<span class="summary-sig-arg">self</span>)</span></td> 269 <td align="right" valign="top"> 270 <span class="codelink"><a href="lldb-pysrc.html#SBType.__len__">source code</a></span> 271 272 </td> 273 </tr> 274 </table> 275 276 </td> 277 </tr> 278<tr> 279 <td width="15%" align="right" valign="top" class="summary"> 280 <span class="summary-type"> </span> 281 </td><td class="summary"> 282 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 283 <tr> 284 <td><span class="summary-sig"><a name="__eq__"></a><span class="summary-sig-name">__eq__</span>(<span class="summary-sig-arg">self</span>, 285 <span class="summary-sig-arg">other</span>)</span></td> 286 <td align="right" valign="top"> 287 <span class="codelink"><a href="lldb-pysrc.html#SBType.__eq__">source code</a></span> 288 289 </td> 290 </tr> 291 </table> 292 293 </td> 294 </tr> 295<tr> 296 <td width="15%" align="right" valign="top" class="summary"> 297 <span class="summary-type"> </span> 298 </td><td class="summary"> 299 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 300 <tr> 301 <td><span class="summary-sig"><a name="__ne__"></a><span class="summary-sig-name">__ne__</span>(<span class="summary-sig-arg">self</span>, 302 <span class="summary-sig-arg">other</span>)</span></td> 303 <td align="right" valign="top"> 304 <span class="codelink"><a href="lldb-pysrc.html#SBType.__ne__">source code</a></span> 305 306 </td> 307 </tr> 308 </table> 309 310 </td> 311 </tr> 312<tr> 313 <td width="15%" align="right" valign="top" class="summary"> 314 <span class="summary-type"> </span> 315 </td><td class="summary"> 316 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 317 <tr> 318 <td><span class="summary-sig"><a href="lldb.SBType-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, 319 <span class="summary-sig-arg">*args</span>)</span><br /> 320 __init__(lldb::SBType self) -> SBType __init__(lldb::SBType self, 321 SBType rhs) -> SBType</td> 322 <td align="right" valign="top"> 323 <span class="codelink"><a href="lldb-pysrc.html#SBType.__init__">source code</a></span> 324 325 </td> 326 </tr> 327 </table> 328 329 </td> 330 </tr> 331<tr> 332 <td width="15%" align="right" valign="top" class="summary"> 333 <span class="summary-type"> </span> 334 </td><td class="summary"> 335 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 336 <tr> 337 <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 /> 338 delete_SBType(SBType self)</td> 339 <td align="right" valign="top"> 340 341 342 </td> 343 </tr> 344 </table> 345 346 </td> 347 </tr> 348<tr> 349 <td width="15%" align="right" valign="top" class="summary"> 350 <span class="summary-type"> </span> 351 </td><td class="summary"> 352 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 353 <tr> 354 <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> 355 <td align="right" valign="top"> 356 <span class="codelink"><a href="lldb-pysrc.html#SBType.__del__">source code</a></span> 357 358 </td> 359 </tr> 360 </table> 361 362 </td> 363 </tr> 364<tr> 365 <td width="15%" align="right" valign="top" class="summary"> 366 <span class="summary-type"> </span> 367 </td><td class="summary"> 368 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 369 <tr> 370 <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> 371 <td align="right" valign="top"> 372 <span class="codelink"><a href="lldb-pysrc.html#SBType.__nonzero__">source code</a></span> 373 374 </td> 375 </tr> 376 </table> 377 378 </td> 379 </tr> 380<tr> 381 <td width="15%" align="right" valign="top" class="summary"> 382 <span class="summary-type"> </span> 383 </td><td class="summary"> 384 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 385 <tr> 386 <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 /> 387 IsValid(SBType self) -> bool</td> 388 <td align="right" valign="top"> 389 <span class="codelink"><a href="lldb-pysrc.html#SBType.IsValid">source code</a></span> 390 391 </td> 392 </tr> 393 </table> 394 395 </td> 396 </tr> 397<tr> 398 <td width="15%" align="right" valign="top" class="summary"> 399 <span class="summary-type"> </span> 400 </td><td class="summary"> 401 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 402 <tr> 403 <td><span class="summary-sig"><a name="GetByteSize"></a><span class="summary-sig-name">GetByteSize</span>(<span class="summary-sig-arg">self</span>)</span><br /> 404 GetByteSize(SBType self) -> uint64_t</td> 405 <td align="right" valign="top"> 406 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetByteSize">source 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"> </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="IsPointerType"></a><span class="summary-sig-name">IsPointerType</span>(<span class="summary-sig-arg">self</span>)</span><br /> 421 IsPointerType(SBType self) -> bool</td> 422 <td align="right" valign="top"> 423 <span class="codelink"><a href="lldb-pysrc.html#SBType.IsPointerType">source code</a></span> 424 425 </td> 426 </tr> 427 </table> 428 429 </td> 430 </tr> 431<tr> 432 <td width="15%" align="right" valign="top" class="summary"> 433 <span class="summary-type"> </span> 434 </td><td class="summary"> 435 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 436 <tr> 437 <td><span class="summary-sig"><a name="IsReferenceType"></a><span class="summary-sig-name">IsReferenceType</span>(<span class="summary-sig-arg">self</span>)</span><br /> 438 IsReferenceType(SBType self) -> bool</td> 439 <td align="right" valign="top"> 440 <span class="codelink"><a href="lldb-pysrc.html#SBType.IsReferenceType">source code</a></span> 441 442 </td> 443 </tr> 444 </table> 445 446 </td> 447 </tr> 448<tr> 449 <td width="15%" align="right" valign="top" class="summary"> 450 <span class="summary-type"> </span> 451 </td><td class="summary"> 452 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 453 <tr> 454 <td><span class="summary-sig"><a name="IsFunctionType"></a><span class="summary-sig-name">IsFunctionType</span>(<span class="summary-sig-arg">self</span>)</span><br /> 455 IsFunctionType(SBType self) -> bool</td> 456 <td align="right" valign="top"> 457 <span class="codelink"><a href="lldb-pysrc.html#SBType.IsFunctionType">source code</a></span> 458 459 </td> 460 </tr> 461 </table> 462 463 </td> 464 </tr> 465<tr> 466 <td width="15%" align="right" valign="top" class="summary"> 467 <span class="summary-type"> </span> 468 </td><td class="summary"> 469 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 470 <tr> 471 <td><span class="summary-sig"><a name="IsPolymorphicClass"></a><span class="summary-sig-name">IsPolymorphicClass</span>(<span class="summary-sig-arg">self</span>)</span><br /> 472 IsPolymorphicClass(SBType self) -> bool</td> 473 <td align="right" valign="top"> 474 <span class="codelink"><a href="lldb-pysrc.html#SBType.IsPolymorphicClass">source code</a></span> 475 476 </td> 477 </tr> 478 </table> 479 480 </td> 481 </tr> 482<tr> 483 <td width="15%" align="right" valign="top" class="summary"> 484 <span class="summary-type"> </span> 485 </td><td class="summary"> 486 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 487 <tr> 488 <td><span class="summary-sig"><a name="GetPointerType"></a><span class="summary-sig-name">GetPointerType</span>(<span class="summary-sig-arg">self</span>)</span><br /> 489 GetPointerType(SBType self) -> SBType</td> 490 <td align="right" valign="top"> 491 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetPointerType">source code</a></span> 492 493 </td> 494 </tr> 495 </table> 496 497 </td> 498 </tr> 499<tr> 500 <td width="15%" align="right" valign="top" class="summary"> 501 <span class="summary-type"> </span> 502 </td><td class="summary"> 503 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 504 <tr> 505 <td><span class="summary-sig"><a name="GetPointeeType"></a><span class="summary-sig-name">GetPointeeType</span>(<span class="summary-sig-arg">self</span>)</span><br /> 506 GetPointeeType(SBType self) -> SBType</td> 507 <td align="right" valign="top"> 508 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetPointeeType">source code</a></span> 509 510 </td> 511 </tr> 512 </table> 513 514 </td> 515 </tr> 516<tr> 517 <td width="15%" align="right" valign="top" class="summary"> 518 <span class="summary-type"> </span> 519 </td><td class="summary"> 520 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 521 <tr> 522 <td><span class="summary-sig"><a name="GetReferenceType"></a><span class="summary-sig-name">GetReferenceType</span>(<span class="summary-sig-arg">self</span>)</span><br /> 523 GetReferenceType(SBType self) -> SBType</td> 524 <td align="right" valign="top"> 525 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetReferenceType">source code</a></span> 526 527 </td> 528 </tr> 529 </table> 530 531 </td> 532 </tr> 533<tr> 534 <td width="15%" align="right" valign="top" class="summary"> 535 <span class="summary-type"> </span> 536 </td><td class="summary"> 537 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 538 <tr> 539 <td><span class="summary-sig"><a name="GetDereferencedType"></a><span class="summary-sig-name">GetDereferencedType</span>(<span class="summary-sig-arg">self</span>)</span><br /> 540 GetDereferencedType(SBType self) -> SBType</td> 541 <td align="right" valign="top"> 542 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetDereferencedType">source code</a></span> 543 544 </td> 545 </tr> 546 </table> 547 548 </td> 549 </tr> 550<tr> 551 <td width="15%" align="right" valign="top" class="summary"> 552 <span class="summary-type"> </span> 553 </td><td class="summary"> 554 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 555 <tr> 556 <td><span class="summary-sig"><a name="GetUnqualifiedType"></a><span class="summary-sig-name">GetUnqualifiedType</span>(<span class="summary-sig-arg">self</span>)</span><br /> 557 GetUnqualifiedType(SBType self) -> SBType</td> 558 <td align="right" valign="top"> 559 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetUnqualifiedType">source code</a></span> 560 561 </td> 562 </tr> 563 </table> 564 565 </td> 566 </tr> 567<tr> 568 <td width="15%" align="right" valign="top" class="summary"> 569 <span class="summary-type"> </span> 570 </td><td class="summary"> 571 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 572 <tr> 573 <td><span class="summary-sig"><a name="GetCanonicalType"></a><span class="summary-sig-name">GetCanonicalType</span>(<span class="summary-sig-arg">self</span>)</span><br /> 574 GetCanonicalType(SBType self) -> SBType</td> 575 <td align="right" valign="top"> 576 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetCanonicalType">source code</a></span> 577 578 </td> 579 </tr> 580 </table> 581 582 </td> 583 </tr> 584<tr> 585 <td width="15%" align="right" valign="top" class="summary"> 586 <span class="summary-type"> </span> 587 </td><td class="summary"> 588 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 589 <tr> 590 <td><span class="summary-sig"><a name="GetBasicType"></a><span class="summary-sig-name">GetBasicType</span>(<span class="summary-sig-arg">self</span>, 591 <span class="summary-sig-arg">*args</span>)</span><br /> 592 GetBasicType(SBType self) -> lldb::BasicType GetBasicType(SBType 593 self, lldb::BasicType type) -> SBType</td> 594 <td align="right" valign="top"> 595 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetBasicType">source code</a></span> 596 597 </td> 598 </tr> 599 </table> 600 601 </td> 602 </tr> 603<tr> 604 <td width="15%" align="right" valign="top" class="summary"> 605 <span class="summary-type"> </span> 606 </td><td class="summary"> 607 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 608 <tr> 609 <td><span class="summary-sig"><a name="GetNumberOfFields"></a><span class="summary-sig-name">GetNumberOfFields</span>(<span class="summary-sig-arg">self</span>)</span><br /> 610 GetNumberOfFields(SBType self) -> uint32_t</td> 611 <td align="right" valign="top"> 612 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetNumberOfFields">source code</a></span> 613 614 </td> 615 </tr> 616 </table> 617 618 </td> 619 </tr> 620<tr> 621 <td width="15%" align="right" valign="top" class="summary"> 622 <span class="summary-type"> </span> 623 </td><td class="summary"> 624 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 625 <tr> 626 <td><span class="summary-sig"><a name="GetNumberOfDirectBaseClasses"></a><span class="summary-sig-name">GetNumberOfDirectBaseClasses</span>(<span class="summary-sig-arg">self</span>)</span><br /> 627 GetNumberOfDirectBaseClasses(SBType self) -> uint32_t</td> 628 <td align="right" valign="top"> 629 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetNumberOfDirectBaseClasses">source code</a></span> 630 631 </td> 632 </tr> 633 </table> 634 635 </td> 636 </tr> 637<tr> 638 <td width="15%" align="right" valign="top" class="summary"> 639 <span class="summary-type"> </span> 640 </td><td class="summary"> 641 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 642 <tr> 643 <td><span class="summary-sig"><a name="GetNumberOfVirtualBaseClasses"></a><span class="summary-sig-name">GetNumberOfVirtualBaseClasses</span>(<span class="summary-sig-arg">self</span>)</span><br /> 644 GetNumberOfVirtualBaseClasses(SBType self) -> uint32_t</td> 645 <td align="right" valign="top"> 646 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetNumberOfVirtualBaseClasses">source code</a></span> 647 648 </td> 649 </tr> 650 </table> 651 652 </td> 653 </tr> 654<tr> 655 <td width="15%" align="right" valign="top" class="summary"> 656 <span class="summary-type"> </span> 657 </td><td class="summary"> 658 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 659 <tr> 660 <td><span class="summary-sig"><a name="GetFieldAtIndex"></a><span class="summary-sig-name">GetFieldAtIndex</span>(<span class="summary-sig-arg">self</span>, 661 <span class="summary-sig-arg">*args</span>)</span><br /> 662 GetFieldAtIndex(SBType self, uint32_t idx) -> SBTypeMember</td> 663 <td align="right" valign="top"> 664 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetFieldAtIndex">source code</a></span> 665 666 </td> 667 </tr> 668 </table> 669 670 </td> 671 </tr> 672<tr> 673 <td width="15%" align="right" valign="top" class="summary"> 674 <span class="summary-type"> </span> 675 </td><td class="summary"> 676 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 677 <tr> 678 <td><span class="summary-sig"><a name="GetDirectBaseClassAtIndex"></a><span class="summary-sig-name">GetDirectBaseClassAtIndex</span>(<span class="summary-sig-arg">self</span>, 679 <span class="summary-sig-arg">*args</span>)</span><br /> 680 GetDirectBaseClassAtIndex(SBType self, uint32_t idx) -> 681 SBTypeMember</td> 682 <td align="right" valign="top"> 683 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetDirectBaseClassAtIndex">source code</a></span> 684 685 </td> 686 </tr> 687 </table> 688 689 </td> 690 </tr> 691<tr> 692 <td width="15%" align="right" valign="top" class="summary"> 693 <span class="summary-type"> </span> 694 </td><td class="summary"> 695 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 696 <tr> 697 <td><span class="summary-sig"><a name="GetVirtualBaseClassAtIndex"></a><span class="summary-sig-name">GetVirtualBaseClassAtIndex</span>(<span class="summary-sig-arg">self</span>, 698 <span class="summary-sig-arg">*args</span>)</span><br /> 699 GetVirtualBaseClassAtIndex(SBType self, uint32_t idx) -> 700 SBTypeMember</td> 701 <td align="right" valign="top"> 702 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetVirtualBaseClassAtIndex">source code</a></span> 703 704 </td> 705 </tr> 706 </table> 707 708 </td> 709 </tr> 710<tr> 711 <td width="15%" align="right" valign="top" class="summary"> 712 <span class="summary-type"> </span> 713 </td><td class="summary"> 714 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 715 <tr> 716 <td><span class="summary-sig"><a name="GetName"></a><span class="summary-sig-name">GetName</span>(<span class="summary-sig-arg">self</span>)</span><br /> 717 GetName(SBType self) -> str const *</td> 718 <td align="right" valign="top"> 719 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetName">source code</a></span> 720 721 </td> 722 </tr> 723 </table> 724 725 </td> 726 </tr> 727<tr> 728 <td width="15%" align="right" valign="top" class="summary"> 729 <span class="summary-type"> </span> 730 </td><td class="summary"> 731 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 732 <tr> 733 <td><span class="summary-sig"><a name="GetTypeClass"></a><span class="summary-sig-name">GetTypeClass</span>(<span class="summary-sig-arg">self</span>)</span><br /> 734 GetTypeClass(SBType self) -> lldb::TypeClass</td> 735 <td align="right" valign="top"> 736 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetTypeClass">source code</a></span> 737 738 </td> 739 </tr> 740 </table> 741 742 </td> 743 </tr> 744<tr> 745 <td width="15%" align="right" valign="top" class="summary"> 746 <span class="summary-type"> </span> 747 </td><td class="summary"> 748 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 749 <tr> 750 <td><span class="summary-sig"><a name="GetNumberOfTemplateArguments"></a><span class="summary-sig-name">GetNumberOfTemplateArguments</span>(<span class="summary-sig-arg">self</span>)</span><br /> 751 GetNumberOfTemplateArguments(SBType self) -> uint32_t</td> 752 <td align="right" valign="top"> 753 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetNumberOfTemplateArguments">source code</a></span> 754 755 </td> 756 </tr> 757 </table> 758 759 </td> 760 </tr> 761<tr> 762 <td width="15%" align="right" valign="top" class="summary"> 763 <span class="summary-type"> </span> 764 </td><td class="summary"> 765 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 766 <tr> 767 <td><span class="summary-sig"><a name="GetTemplateArgumentType"></a><span class="summary-sig-name">GetTemplateArgumentType</span>(<span class="summary-sig-arg">self</span>, 768 <span class="summary-sig-arg">*args</span>)</span><br /> 769 GetTemplateArgumentType(SBType self, uint32_t idx) -> SBType</td> 770 <td align="right" valign="top"> 771 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetTemplateArgumentType">source code</a></span> 772 773 </td> 774 </tr> 775 </table> 776 777 </td> 778 </tr> 779<tr> 780 <td width="15%" align="right" valign="top" class="summary"> 781 <span class="summary-type"> </span> 782 </td><td class="summary"> 783 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 784 <tr> 785 <td><span class="summary-sig"><a name="GetTemplateArgumentKind"></a><span class="summary-sig-name">GetTemplateArgumentKind</span>(<span class="summary-sig-arg">self</span>, 786 <span class="summary-sig-arg">*args</span>)</span><br /> 787 GetTemplateArgumentKind(SBType self, uint32_t idx) -> 788 lldb::TemplateArgumentKind</td> 789 <td align="right" valign="top"> 790 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetTemplateArgumentKind">source code</a></span> 791 792 </td> 793 </tr> 794 </table> 795 796 </td> 797 </tr> 798<tr> 799 <td width="15%" align="right" valign="top" class="summary"> 800 <span class="summary-type"> </span> 801 </td><td class="summary"> 802 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 803 <tr> 804 <td><span class="summary-sig"><a name="GetFunctionReturnType"></a><span class="summary-sig-name">GetFunctionReturnType</span>(<span class="summary-sig-arg">self</span>)</span><br /> 805 GetFunctionReturnType(SBType self) -> SBType</td> 806 <td align="right" valign="top"> 807 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetFunctionReturnType">source code</a></span> 808 809 </td> 810 </tr> 811 </table> 812 813 </td> 814 </tr> 815<tr> 816 <td width="15%" align="right" valign="top" class="summary"> 817 <span class="summary-type"> </span> 818 </td><td class="summary"> 819 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 820 <tr> 821 <td><span class="summary-sig"><a name="GetFunctionArgumentTypes"></a><span class="summary-sig-name">GetFunctionArgumentTypes</span>(<span class="summary-sig-arg">self</span>)</span><br /> 822 GetFunctionArgumentTypes(SBType self) -> SBTypeList</td> 823 <td align="right" valign="top"> 824 <span class="codelink"><a href="lldb-pysrc.html#SBType.GetFunctionArgumentTypes">source code</a></span> 825 826 </td> 827 </tr> 828 </table> 829 830 </td> 831 </tr> 832<tr> 833 <td width="15%" align="right" valign="top" class="summary"> 834 <span class="summary-type"> </span> 835 </td><td class="summary"> 836 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 837 <tr> 838 <td><span class="summary-sig"><a name="IsTypeComplete"></a><span class="summary-sig-name">IsTypeComplete</span>(<span class="summary-sig-arg">self</span>)</span><br /> 839 IsTypeComplete(SBType self) -> bool</td> 840 <td align="right" valign="top"> 841 <span class="codelink"><a href="lldb-pysrc.html#SBType.IsTypeComplete">source code</a></span> 842 843 </td> 844 </tr> 845 </table> 846 847 </td> 848 </tr> 849<tr> 850 <td width="15%" align="right" valign="top" class="summary"> 851 <span class="summary-type"> </span> 852 </td><td class="summary"> 853 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 854 <tr> 855 <td><span class="summary-sig"><a name="template_arg_array"></a><span class="summary-sig-name">template_arg_array</span>(<span class="summary-sig-arg">self</span>)</span></td> 856 <td align="right" valign="top"> 857 <span class="codelink"><a href="lldb-pysrc.html#SBType.template_arg_array">source code</a></span> 858 859 </td> 860 </tr> 861 </table> 862 863 </td> 864 </tr> 865<tr> 866 <td width="15%" align="right" valign="top" class="summary"> 867 <span class="summary-type"> </span> 868 </td><td class="summary"> 869 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 870 <tr> 871 <td><span class="summary-sig"><a name="get_bases_array"></a><span class="summary-sig-name">get_bases_array</span>(<span class="summary-sig-arg">self</span>)</span><br /> 872 An accessor function that returns a list() that contains all direct 873 base classes in a lldb.SBType object.</td> 874 <td align="right" valign="top"> 875 <span class="codelink"><a href="lldb-pysrc.html#SBType.get_bases_array">source code</a></span> 876 877 </td> 878 </tr> 879 </table> 880 881 </td> 882 </tr> 883<tr> 884 <td width="15%" align="right" valign="top" class="summary"> 885 <span class="summary-type"> </span> 886 </td><td class="summary"> 887 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 888 <tr> 889 <td><span class="summary-sig"><a name="get_vbases_array"></a><span class="summary-sig-name">get_vbases_array</span>(<span class="summary-sig-arg">self</span>)</span><br /> 890 An accessor function that returns a list() that contains all fields 891 in a lldb.SBType object.</td> 892 <td align="right" valign="top"> 893 <span class="codelink"><a href="lldb-pysrc.html#SBType.get_vbases_array">source code</a></span> 894 895 </td> 896 </tr> 897 </table> 898 899 </td> 900 </tr> 901<tr> 902 <td width="15%" align="right" valign="top" class="summary"> 903 <span class="summary-type"> </span> 904 </td><td class="summary"> 905 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 906 <tr> 907 <td><span class="summary-sig"><a name="get_fields_array"></a><span class="summary-sig-name">get_fields_array</span>(<span class="summary-sig-arg">self</span>)</span><br /> 908 An accessor function that returns a list() that contains all fields 909 in a lldb.SBType object.</td> 910 <td align="right" valign="top"> 911 <span class="codelink"><a href="lldb-pysrc.html#SBType.get_fields_array">source code</a></span> 912 913 </td> 914 </tr> 915 </table> 916 917 </td> 918 </tr> 919<tr> 920 <td width="15%" align="right" valign="top" class="summary"> 921 <span class="summary-type"> </span> 922 </td><td class="summary"> 923 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 924 <tr> 925 <td><span class="summary-sig"><a name="get_members_array"></a><span class="summary-sig-name">get_members_array</span>(<span class="summary-sig-arg">self</span>)</span><br /> 926 An accessor function that returns a list() that contains all members 927 (base classes and fields) in a lldb.SBType object in ascending bit 928 offset order.</td> 929 <td align="right" valign="top"> 930 <span class="codelink"><a href="lldb-pysrc.html#SBType.get_members_array">source code</a></span> 931 932 </td> 933 </tr> 934 </table> 935 936 </td> 937 </tr> 938<tr> 939 <td width="15%" align="right" valign="top" class="summary"> 940 <span class="summary-type"> </span> 941 </td><td class="summary"> 942 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 943 <tr> 944 <td><span class="summary-sig"><a href="lldb.SBType-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 945 __str__(SBType self) -> PyObject *</td> 946 <td align="right" valign="top"> 947 <span class="codelink"><a href="lldb-pysrc.html#SBType.__str__">source code</a></span> 948 949 </td> 950 </tr> 951 </table> 952 953 </td> 954 </tr> 955 <tr> 956 <td colspan="2" class="summary"> 957 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 958 <code>__delattr__</code>, 959 <code>__format__</code>, 960 <code>__getattribute__</code>, 961 <code>__hash__</code>, 962 <code>__new__</code>, 963 <code>__reduce__</code>, 964 <code>__reduce_ex__</code>, 965 <code>__sizeof__</code>, 966 <code>__subclasshook__</code> 967 </p> 968 </td> 969 </tr> 970</table> 971<!-- ==================== CLASS VARIABLES ==================== --> 972<a name="section-ClassVariables"></a> 973<table class="summary" border="1" cellpadding="3" 974 cellspacing="0" width="100%" bgcolor="white"> 975<tr bgcolor="#70b0f0" class="table-header"> 976 <td colspan="2" class="table-header"> 977 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 978 <tr valign="top"> 979 <td align="left"><span class="table-header">Class Variables</span></td> 980 <td align="right" valign="top" 981 ><span class="options">[<a href="#section-ClassVariables" 982 class="privatelink" onclick="toggle_private();" 983 >hide private</a>]</span></td> 984 </tr> 985 </table> 986 </td> 987</tr> 988<tr> 989 <td width="15%" align="right" valign="top" class="summary"> 990 <span class="summary-type"> </span> 991 </td><td class="summary"> 992 <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> 993 </td> 994 </tr> 995<tr> 996 <td width="15%" align="right" valign="top" class="summary"> 997 <span class="summary-type"> </span> 998 </td><td class="summary"> 999 <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code> 1000 </td> 1001 </tr> 1002</table> 1003<!-- ==================== PROPERTIES ==================== --> 1004<a name="section-Properties"></a> 1005<table class="summary" border="1" cellpadding="3" 1006 cellspacing="0" width="100%" bgcolor="white"> 1007<tr bgcolor="#70b0f0" class="table-header"> 1008 <td colspan="2" class="table-header"> 1009 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 1010 <tr valign="top"> 1011 <td align="left"><span class="table-header">Properties</span></td> 1012 <td align="right" valign="top" 1013 ><span class="options">[<a href="#section-Properties" 1014 class="privatelink" onclick="toggle_private();" 1015 >hide private</a>]</span></td> 1016 </tr> 1017 </table> 1018 </td> 1019</tr> 1020<tr> 1021 <td width="15%" align="right" valign="top" class="summary"> 1022 <span class="summary-type"> </span> 1023 </td><td class="summary"> 1024 <a href="lldb.SBType-class.html#bases" class="summary-name">bases</a><br /> 1025 A read only property that returns a list() of lldb.SBTypeMember 1026 objects that represent all of the direct base classes for this type. 1027 </td> 1028 </tr> 1029<tr> 1030 <td width="15%" align="right" valign="top" class="summary"> 1031 <span class="summary-type"> </span> 1032 </td><td class="summary"> 1033 <a href="lldb.SBType-class.html#fields" class="summary-name">fields</a><br /> 1034 A read only property that returns a list() of lldb.SBTypeMember 1035 objects that represent all of the fields for this type. 1036 </td> 1037 </tr> 1038<tr> 1039 <td width="15%" align="right" valign="top" class="summary"> 1040 <span class="summary-type"> </span> 1041 </td><td class="summary"> 1042 <a href="lldb.SBType-class.html#is_complete" class="summary-name">is_complete</a><br /> 1043 A read only property that returns a boolean value that indicates if 1044 this type is a complete type (True) or a forward declaration (False). 1045 </td> 1046 </tr> 1047<tr> 1048 <td width="15%" align="right" valign="top" class="summary"> 1049 <span class="summary-type"> </span> 1050 </td><td class="summary"> 1051 <a href="lldb.SBType-class.html#is_pointer" class="summary-name">is_pointer</a><br /> 1052 A read only property that returns a boolean value that indicates if 1053 this type is a pointer type. 1054 </td> 1055 </tr> 1056<tr> 1057 <td width="15%" align="right" valign="top" class="summary"> 1058 <span class="summary-type"> </span> 1059 </td><td class="summary"> 1060 <a href="lldb.SBType-class.html#is_reference" class="summary-name">is_reference</a><br /> 1061 A read only property that returns a boolean value that indicates if 1062 this type is a function type. 1063 </td> 1064 </tr> 1065<tr> 1066 <td width="15%" align="right" valign="top" class="summary"> 1067 <span class="summary-type"> </span> 1068 </td><td class="summary"> 1069 <a href="lldb.SBType-class.html#members" class="summary-name">members</a><br /> 1070 A read only property that returns a list() of all lldb.SBTypeMember 1071 objects that represent all of the base classes, virtual base classes 1072 and fields for this type in ascending bit offset order. 1073 </td> 1074 </tr> 1075<tr> 1076 <td width="15%" align="right" valign="top" class="summary"> 1077 <span class="summary-type"> </span> 1078 </td><td class="summary"> 1079 <a href="lldb.SBType-class.html#name" class="summary-name">name</a><br /> 1080 A read only property that returns the name for this type as a string. 1081 </td> 1082 </tr> 1083<tr> 1084 <td width="15%" align="right" valign="top" class="summary"> 1085 <span class="summary-type"> </span> 1086 </td><td class="summary"> 1087 <a href="lldb.SBType-class.html#num_bases" class="summary-name">num_bases</a><br /> 1088 A read only property that returns number of direct base classes in 1089 this type as an integer. 1090 </td> 1091 </tr> 1092<tr> 1093 <td width="15%" align="right" valign="top" class="summary"> 1094 <span class="summary-type"> </span> 1095 </td><td class="summary"> 1096 <a href="lldb.SBType-class.html#num_fields" class="summary-name">num_fields</a><br /> 1097 A read only property that returns number of fields in this type as an 1098 integer. 1099 </td> 1100 </tr> 1101<tr> 1102 <td width="15%" align="right" valign="top" class="summary"> 1103 <span class="summary-type"> </span> 1104 </td><td class="summary"> 1105 <a href="lldb.SBType-class.html#num_template_args" class="summary-name">num_template_args</a><br /> 1106 A read only property that returns number of template arguments in 1107 this type as an integer. 1108 </td> 1109 </tr> 1110<tr> 1111 <td width="15%" align="right" valign="top" class="summary"> 1112 <span class="summary-type"> </span> 1113 </td><td class="summary"> 1114 <a href="lldb.SBType-class.html#num_vbases" class="summary-name">num_vbases</a><br /> 1115 A read only property that returns number of virtual base classes in 1116 this type as an integer. 1117 </td> 1118 </tr> 1119<tr> 1120 <td width="15%" align="right" valign="top" class="summary"> 1121 <span class="summary-type"> </span> 1122 </td><td class="summary"> 1123 <a href="lldb.SBType-class.html#size" class="summary-name">size</a><br /> 1124 A read only property that returns size in bytes for this type as an 1125 integer. 1126 </td> 1127 </tr> 1128<tr> 1129 <td width="15%" align="right" valign="top" class="summary"> 1130 <span class="summary-type"> </span> 1131 </td><td class="summary"> 1132 <a href="lldb.SBType-class.html#template_args" class="summary-name">template_args</a><br /> 1133 A read only property that returns a list() of lldb.SBType objects 1134 that represent all template arguments in this type. 1135 </td> 1136 </tr> 1137<tr> 1138 <td width="15%" align="right" valign="top" class="summary"> 1139 <span class="summary-type"> </span> 1140 </td><td class="summary"> 1141 <a href="lldb.SBType-class.html#type" class="summary-name">type</a><br /> 1142 A read only property that returns an lldb enumeration value (see 1143 enumerations that start with "lldb.eTypeClass") that 1144 represents a classification for this type. 1145 </td> 1146 </tr> 1147<tr> 1148 <td width="15%" align="right" valign="top" class="summary"> 1149 <span class="summary-type"> </span> 1150 </td><td class="summary"> 1151 <a href="lldb.SBType-class.html#vbases" class="summary-name">vbases</a><br /> 1152 A read only property that returns a list() of lldb.SBTypeMember 1153 objects that represent all of the virtual base classes for this type. 1154 </td> 1155 </tr> 1156 <tr> 1157 <td colspan="2" class="summary"> 1158 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 1159 <code>__class__</code> 1160 </p> 1161 </td> 1162 </tr> 1163</table> 1164<!-- ==================== METHOD DETAILS ==================== --> 1165<a name="section-MethodDetails"></a> 1166<table class="details" border="1" cellpadding="3" 1167 cellspacing="0" width="100%" bgcolor="white"> 1168<tr bgcolor="#70b0f0" class="table-header"> 1169 <td colspan="2" class="table-header"> 1170 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 1171 <tr valign="top"> 1172 <td align="left"><span class="table-header">Method Details</span></td> 1173 <td align="right" valign="top" 1174 ><span class="options">[<a href="#section-MethodDetails" 1175 class="privatelink" onclick="toggle_private();" 1176 >hide private</a>]</span></td> 1177 </tr> 1178 </table> 1179 </td> 1180</tr> 1181</table> 1182<a name="__setattr__"></a> 1183<div> 1184<table class="details" border="1" cellpadding="3" 1185 cellspacing="0" width="100%" bgcolor="white"> 1186<tr><td> 1187 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1188 <tr valign="top"><td> 1189 <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>, 1190 <span class="sig-arg">name</span>, 1191 <span class="sig-arg">value</span>)</span> 1192 </h3> 1193 </td><td align="right" valign="top" 1194 ><span class="codelink"><a href="lldb-pysrc.html#SBType.__setattr__">source code</a></span> 1195 </td> 1196 </tr></table> 1197 1198 <p>x.__setattr__('name', value) <==> x.name = value</p> 1199 <dl class="fields"> 1200 <dt>Overrides: 1201 object.__setattr__ 1202 <dd><em class="note">(inherited documentation)</em></dd> 1203 </dt> 1204 </dl> 1205</td></tr></table> 1206</div> 1207<a name="__repr__"></a> 1208<div> 1209<table class="details" border="1" cellpadding="3" 1210 cellspacing="0" width="100%" bgcolor="white"> 1211<tr><td> 1212 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1213 <tr valign="top"><td> 1214 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> 1215 <br /><em class="fname">(Representation operator)</em> 1216 </h3> 1217 </td><td align="right" valign="top" 1218 ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 1219 </td> 1220 </tr></table> 1221 1222 <p>repr(x)</p> 1223 <dl class="fields"> 1224 <dt>Overrides: 1225 object.__repr__ 1226 <dd><em class="note">(inherited documentation)</em></dd> 1227 </dt> 1228 </dl> 1229</td></tr></table> 1230</div> 1231<a name="__init__"></a> 1232<div> 1233<table class="details" border="1" cellpadding="3" 1234 cellspacing="0" width="100%" bgcolor="white"> 1235<tr><td> 1236 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1237 <tr valign="top"><td> 1238 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 1239 <span class="sig-arg">*args</span>)</span> 1240 <br /><em class="fname">(Constructor)</em> 1241 </h3> 1242 </td><td align="right" valign="top" 1243 ><span class="codelink"><a href="lldb-pysrc.html#SBType.__init__">source code</a></span> 1244 </td> 1245 </tr></table> 1246 1247 <p>__init__(lldb::SBType self) -> SBType __init__(lldb::SBType self, 1248 SBType rhs) -> SBType</p> 1249 <dl class="fields"> 1250 <dt>Overrides: 1251 object.__init__ 1252 </dt> 1253 </dl> 1254</td></tr></table> 1255</div> 1256<a name="__str__"></a> 1257<div> 1258<table class="details" border="1" cellpadding="3" 1259 cellspacing="0" width="100%" bgcolor="white"> 1260<tr><td> 1261 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 1262 <tr valign="top"><td> 1263 <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span> 1264 <br /><em class="fname">(Informal representation operator)</em> 1265 </h3> 1266 </td><td align="right" valign="top" 1267 ><span class="codelink"><a href="lldb-pysrc.html#SBType.__str__">source code</a></span> 1268 </td> 1269 </tr></table> 1270 1271 <p>__str__(SBType self) -> PyObject *</p> 1272 <dl class="fields"> 1273 <dt>Overrides: 1274 object.__str__ 1275 </dt> 1276 </dl> 1277</td></tr></table> 1278</div> 1279<br /> 1280<!-- ==================== PROPERTY DETAILS ==================== --> 1281<a name="section-PropertyDetails"></a> 1282<table class="details" border="1" cellpadding="3" 1283 cellspacing="0" width="100%" bgcolor="white"> 1284<tr bgcolor="#70b0f0" class="table-header"> 1285 <td colspan="2" class="table-header"> 1286 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 1287 <tr valign="top"> 1288 <td align="left"><span class="table-header">Property Details</span></td> 1289 <td align="right" valign="top" 1290 ><span class="options">[<a href="#section-PropertyDetails" 1291 class="privatelink" onclick="toggle_private();" 1292 >hide private</a>]</span></td> 1293 </tr> 1294 </table> 1295 </td> 1296</tr> 1297</table> 1298<a name="bases"></a> 1299<div> 1300<table class="details" border="1" cellpadding="3" 1301 cellspacing="0" width="100%" bgcolor="white"> 1302<tr><td> 1303 <h3 class="epydoc">bases</h3> 1304 <p>A read only property that returns a list() of lldb.SBTypeMember 1305 objects that represent all of the direct base classes for this type.</p> 1306 <dl class="fields"> 1307 <dt>Get Method:</dt> 1308 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#get_bases_array" class="summary-sig-name">get_bases_array</a>(<span class="summary-sig-arg">self</span>)</span> 1309 - An accessor function that returns a list() that contains all direct 1310 base classes in a lldb.SBType object. 1311 </dd> 1312 </dl> 1313</td></tr></table> 1314</div> 1315<a name="fields"></a> 1316<div> 1317<table class="details" border="1" cellpadding="3" 1318 cellspacing="0" width="100%" bgcolor="white"> 1319<tr><td> 1320 <h3 class="epydoc">fields</h3> 1321 <p>A read only property that returns a list() of lldb.SBTypeMember 1322 objects that represent all of the fields for this type.</p> 1323 <dl class="fields"> 1324 <dt>Get Method:</dt> 1325 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#get_fields_array" class="summary-sig-name">get_fields_array</a>(<span class="summary-sig-arg">self</span>)</span> 1326 - An accessor function that returns a list() that contains all fields 1327 in a lldb.SBType object. 1328 </dd> 1329 </dl> 1330</td></tr></table> 1331</div> 1332<a name="is_complete"></a> 1333<div> 1334<table class="details" border="1" cellpadding="3" 1335 cellspacing="0" width="100%" bgcolor="white"> 1336<tr><td> 1337 <h3 class="epydoc">is_complete</h3> 1338 <p>A read only property that returns a boolean value that indicates if 1339 this type is a complete type (True) or a forward declaration (False).</p> 1340 <dl class="fields"> 1341 <dt>Get Method:</dt> 1342 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#IsTypeComplete" class="summary-sig-name">IsTypeComplete</a>(<span class="summary-sig-arg">self</span>)</span> 1343 - IsTypeComplete(SBType self) -> bool 1344 </dd> 1345 </dl> 1346</td></tr></table> 1347</div> 1348<a name="is_pointer"></a> 1349<div> 1350<table class="details" border="1" cellpadding="3" 1351 cellspacing="0" width="100%" bgcolor="white"> 1352<tr><td> 1353 <h3 class="epydoc">is_pointer</h3> 1354 <p>A read only property that returns a boolean value that indicates if 1355 this type is a pointer type.</p> 1356 <dl class="fields"> 1357 <dt>Get Method:</dt> 1358 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#IsPointerType" class="summary-sig-name">IsPointerType</a>(<span class="summary-sig-arg">self</span>)</span> 1359 - IsPointerType(SBType self) -> bool 1360 </dd> 1361 </dl> 1362</td></tr></table> 1363</div> 1364<a name="is_reference"></a> 1365<div> 1366<table class="details" border="1" cellpadding="3" 1367 cellspacing="0" width="100%" bgcolor="white"> 1368<tr><td> 1369 <h3 class="epydoc">is_reference</h3> 1370 <p>A read only property that returns a boolean value that indicates if 1371 this type is a function type.</p> 1372 <dl class="fields"> 1373 <dt>Get Method:</dt> 1374 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#IsReferenceType" class="summary-sig-name">IsReferenceType</a>(<span class="summary-sig-arg">self</span>)</span> 1375 - IsReferenceType(SBType self) -> bool 1376 </dd> 1377 </dl> 1378</td></tr></table> 1379</div> 1380<a name="members"></a> 1381<div> 1382<table class="details" border="1" cellpadding="3" 1383 cellspacing="0" width="100%" bgcolor="white"> 1384<tr><td> 1385 <h3 class="epydoc">members</h3> 1386 <p>A read only property that returns a list() of all lldb.SBTypeMember 1387 objects that represent all of the base classes, virtual base classes and 1388 fields for this type in ascending bit offset order.</p> 1389 <dl class="fields"> 1390 <dt>Get Method:</dt> 1391 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#get_members_array" class="summary-sig-name">get_members_array</a>(<span class="summary-sig-arg">self</span>)</span> 1392 - An accessor function that returns a list() that contains all members 1393 (base classes and fields) in a lldb.SBType object in ascending bit 1394 offset order. 1395 </dd> 1396 </dl> 1397</td></tr></table> 1398</div> 1399<a name="name"></a> 1400<div> 1401<table class="details" border="1" cellpadding="3" 1402 cellspacing="0" width="100%" bgcolor="white"> 1403<tr><td> 1404 <h3 class="epydoc">name</h3> 1405 <p>A read only property that returns the name for this type as a 1406 string.</p> 1407 <dl class="fields"> 1408 <dt>Get Method:</dt> 1409 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#GetName" class="summary-sig-name">GetName</a>(<span class="summary-sig-arg">self</span>)</span> 1410 - GetName(SBType self) -> str const * 1411 </dd> 1412 </dl> 1413</td></tr></table> 1414</div> 1415<a name="num_bases"></a> 1416<div> 1417<table class="details" border="1" cellpadding="3" 1418 cellspacing="0" width="100%" bgcolor="white"> 1419<tr><td> 1420 <h3 class="epydoc">num_bases</h3> 1421 <p>A read only property that returns number of direct base classes in 1422 this type as an integer.</p> 1423 <dl class="fields"> 1424 <dt>Get Method:</dt> 1425 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#GetNumberOfDirectBaseClasses" class="summary-sig-name">GetNumberOfDirectBaseClasses</a>(<span class="summary-sig-arg">self</span>)</span> 1426 - GetNumberOfDirectBaseClasses(SBType self) -> uint32_t 1427 </dd> 1428 </dl> 1429</td></tr></table> 1430</div> 1431<a name="num_fields"></a> 1432<div> 1433<table class="details" border="1" cellpadding="3" 1434 cellspacing="0" width="100%" bgcolor="white"> 1435<tr><td> 1436 <h3 class="epydoc">num_fields</h3> 1437 <p>A read only property that returns number of fields in this type as an 1438 integer.</p> 1439 <dl class="fields"> 1440 <dt>Get Method:</dt> 1441 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#GetNumberOfFields" class="summary-sig-name">GetNumberOfFields</a>(<span class="summary-sig-arg">self</span>)</span> 1442 - GetNumberOfFields(SBType self) -> uint32_t 1443 </dd> 1444 </dl> 1445</td></tr></table> 1446</div> 1447<a name="num_template_args"></a> 1448<div> 1449<table class="details" border="1" cellpadding="3" 1450 cellspacing="0" width="100%" bgcolor="white"> 1451<tr><td> 1452 <h3 class="epydoc">num_template_args</h3> 1453 <p>A read only property that returns number of template arguments in this 1454 type as an integer.</p> 1455 <dl class="fields"> 1456 <dt>Get Method:</dt> 1457 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#GetNumberOfTemplateArguments" class="summary-sig-name">GetNumberOfTemplateArguments</a>(<span class="summary-sig-arg">self</span>)</span> 1458 - GetNumberOfTemplateArguments(SBType self) -> uint32_t 1459 </dd> 1460 </dl> 1461</td></tr></table> 1462</div> 1463<a name="num_vbases"></a> 1464<div> 1465<table class="details" border="1" cellpadding="3" 1466 cellspacing="0" width="100%" bgcolor="white"> 1467<tr><td> 1468 <h3 class="epydoc">num_vbases</h3> 1469 <p>A read only property that returns number of virtual base classes in 1470 this type as an integer.</p> 1471 <dl class="fields"> 1472 <dt>Get Method:</dt> 1473 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#GetNumberOfVirtualBaseClasses" class="summary-sig-name">GetNumberOfVirtualBaseClasses</a>(<span class="summary-sig-arg">self</span>)</span> 1474 - GetNumberOfVirtualBaseClasses(SBType self) -> uint32_t 1475 </dd> 1476 </dl> 1477</td></tr></table> 1478</div> 1479<a name="size"></a> 1480<div> 1481<table class="details" border="1" cellpadding="3" 1482 cellspacing="0" width="100%" bgcolor="white"> 1483<tr><td> 1484 <h3 class="epydoc">size</h3> 1485 <p>A read only property that returns size in bytes for this type as an 1486 integer.</p> 1487 <dl class="fields"> 1488 <dt>Get Method:</dt> 1489 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#GetByteSize" class="summary-sig-name">GetByteSize</a>(<span class="summary-sig-arg">self</span>)</span> 1490 - GetByteSize(SBType self) -> uint64_t 1491 </dd> 1492 </dl> 1493</td></tr></table> 1494</div> 1495<a name="template_args"></a> 1496<div> 1497<table class="details" border="1" cellpadding="3" 1498 cellspacing="0" width="100%" bgcolor="white"> 1499<tr><td> 1500 <h3 class="epydoc">template_args</h3> 1501 <p>A read only property that returns a list() of lldb.SBType objects that 1502 represent all template arguments in this type.</p> 1503 <dl class="fields"> 1504 <dt>Get Method:</dt> 1505 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#template_arg_array" class="summary-sig-name">template_arg_array</a>(<span class="summary-sig-arg">self</span>)</span> 1506 </dd> 1507 </dl> 1508</td></tr></table> 1509</div> 1510<a name="type"></a> 1511<div> 1512<table class="details" border="1" cellpadding="3" 1513 cellspacing="0" width="100%" bgcolor="white"> 1514<tr><td> 1515 <h3 class="epydoc">type</h3> 1516 <p>A read only property that returns an lldb enumeration value (see 1517 enumerations that start with "lldb.eTypeClass") that represents 1518 a classification for this type.</p> 1519 <dl class="fields"> 1520 <dt>Get Method:</dt> 1521 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#GetTypeClass" class="summary-sig-name">GetTypeClass</a>(<span class="summary-sig-arg">self</span>)</span> 1522 - GetTypeClass(SBType self) -> lldb::TypeClass 1523 </dd> 1524 </dl> 1525</td></tr></table> 1526</div> 1527<a name="vbases"></a> 1528<div> 1529<table class="details" border="1" cellpadding="3" 1530 cellspacing="0" width="100%" bgcolor="white"> 1531<tr><td> 1532 <h3 class="epydoc">vbases</h3> 1533 <p>A read only property that returns a list() of lldb.SBTypeMember 1534 objects that represent all of the virtual base classes for this type.</p> 1535 <dl class="fields"> 1536 <dt>Get Method:</dt> 1537 <dd class="value"><span class="summary-sig"><a href="lldb.SBType-class.html#get_vbases_array" class="summary-sig-name">get_vbases_array</a>(<span class="summary-sig-arg">self</span>)</span> 1538 - An accessor function that returns a list() that contains all fields 1539 in a lldb.SBType object. 1540 </dd> 1541 </dl> 1542</td></tr></table> 1543</div> 1544<br /> 1545<!-- ==================== NAVIGATION BAR ==================== --> 1546<table class="navbar" border="0" width="100%" cellpadding="0" 1547 bgcolor="#a0c0ff" cellspacing="0"> 1548 <tr valign="middle"> 1549 1550 <!-- Tree link --> 1551 <th> <a 1552 href="module-tree.html">Trees</a> </th> 1553 1554 <!-- Index link --> 1555 <th> <a 1556 href="identifier-index.html">Indices</a> </th> 1557 1558 <!-- Help link --> 1559 <th> <a 1560 href="help.html">Help</a> </th> 1561 1562 <!-- Project homepage --> 1563 <th class="navbar" align="right" width="100%"> 1564 <table border="0" cellpadding="0" cellspacing="0"> 1565 <tr><th class="navbar" align="center" 1566 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 1567 </tr></table></th> 1568 </tr> 1569</table> 1570<table border="0" cellpadding="0" cellspacing="0" width="100%%"> 1571 <tr> 1572 <td align="left" class="footer"> 1573 Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:36 2013 1574 </td> 1575 <td align="right" class="footer"> 1576 <a target="mainFrame" href="http://epydoc.sourceforge.net" 1577 >http://epydoc.sourceforge.net</a> 1578 </td> 1579 </tr> 1580</table> 1581 1582<script type="text/javascript"> 1583 <!-- 1584 // Private objects are initially displayed (because if 1585 // javascript is turned off then we want them to be 1586 // visible); but by default, we want to hide them. So hide 1587 // them unless we have a cookie that says to show them. 1588 checkCookie(); 1589 // --> 1590</script> 1591</body> 1592</html> 1593