| Trees | Indices | Help | 
 | 
|---|
|  | 
 
Represents a list of SBTypes.  The FindTypes() method of SBTarget/SBModule
returns a SBTypeList.
SBTypeList supports SBType iteration. For example,
main.cpp:
class Task {
public:
    int id;
    Task *next;
    Task(int i, Task *n):
        id(i),
        next(n)
    {}
};
...
find_type.py:
        # Get the type 'Task'.
        type_list = target.FindTypes('Task')
        self.assertTrue(len(type_list) == 1)
        # To illustrate the SBType iteration.
        for type in type_list:
            # do something with type
...
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| Inherited from  | |||
| 
 | |||
| __swig_setmethods__ =  | |||
| __swig_getmethods__ =  | |||
| 
 | |||
| Inherited from  | |||
| 
 | |||
| 
 x.__setattr__('name', value) <==> x.name = value 
 | 
| 
 repr(x) 
 | 
| 
 __init__(lldb::SBTypeList self) -> SBTypeList 
 | 
| Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Fri Oct 14 13:55:29 2016 | http://epydoc.sourceforge.net |