| 1 | |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 | <html><head><title>Python: module CppHeaderParser</title> |
| 4 | <meta charset="utf-8"> |
| 5 | </head><body bgcolor="#f0f0f8"> |
| 6 | |
| 7 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
| 8 | <tr bgcolor="#7799ee"> |
| 9 | <td valign=bottom> <br> |
| 10 | <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>CppHeaderParser</strong></big></big> (version 2.7.4)</font></td |
| 11 | ><td align=right valign=bottom |
| 12 | ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/senex/workspace/cppheaderparser/CppHeaderParser/CppHeaderParser.py">/home/senex/workspace/cppheaderparser/CppHeaderParser/CppHeaderParser.py</a></font></td></tr></table> |
| 13 | <p><tt>Parse C++ header files and generate a data structure<br> |
| 14 | representing the class</tt></p> |
| 15 | <p> |
| 16 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 17 | <tr bgcolor="#aa55cc"> |
| 18 | <td colspan=3 valign=bottom> <br> |
| 19 | <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> |
| 20 | |
| 21 | <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> |
| 22 | <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="inspect.html">inspect</a><br> |
| 23 | <a href="ply.lex.html">ply.lex</a><br> |
| 24 | </td><td width="25%" valign=top><a href="os.html">os</a><br> |
| 25 | <a href="re.html">re</a><br> |
| 26 | </td><td width="25%" valign=top><a href="sys.html">sys</a><br> |
| 27 | </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> |
| 28 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 29 | <tr bgcolor="#ee77aa"> |
| 30 | <td colspan=3 valign=bottom> <br> |
| 31 | <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> |
| 32 | |
| 33 | <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> |
| 34 | <td width="100%"><dl> |
| 35 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#_CppEnum">_CppEnum</a>(<a href="__builtin__.html#dict">__builtin__.dict</a>) |
| 36 | </font></dt><dd> |
| 37 | <dl> |
| 38 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#CppEnum">CppEnum</a> |
| 39 | </font></dt></dl> |
| 40 | </dd> |
| 41 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#_CppHeader">_CppHeader</a>(<a href="CppHeaderParser.html#Resolver">Resolver</a>) |
| 42 | </font></dt><dd> |
| 43 | <dl> |
| 44 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#CppHeader">CppHeader</a> |
| 45 | </font></dt></dl> |
| 46 | </dd> |
| 47 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#_CppMethod">_CppMethod</a>(<a href="__builtin__.html#dict">__builtin__.dict</a>) |
| 48 | </font></dt><dd> |
| 49 | <dl> |
| 50 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#CppMethod">CppMethod</a> |
| 51 | </font></dt></dl> |
| 52 | </dd> |
| 53 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#_CppVariable">_CppVariable</a>(<a href="__builtin__.html#dict">__builtin__.dict</a>) |
| 54 | </font></dt><dd> |
| 55 | <dl> |
| 56 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#CppVariable">CppVariable</a> |
| 57 | </font></dt></dl> |
| 58 | </dd> |
| 59 | <dt><font face="helvetica, arial"><a href="__builtin__.html#dict">__builtin__.dict</a>(<a href="__builtin__.html#object">__builtin__.object</a>) |
| 60 | </font></dt><dd> |
| 61 | <dl> |
| 62 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#CppClass">CppClass</a> |
| 63 | </font></dt><dd> |
| 64 | <dl> |
| 65 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#CppUnion">CppUnion</a> |
| 66 | </font></dt></dl> |
| 67 | </dd> |
| 68 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#CppStruct">CppStruct</a> |
| 69 | </font></dt></dl> |
| 70 | </dd> |
| 71 | <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a> |
| 72 | </font></dt><dd> |
| 73 | <dl> |
| 74 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#Resolver">Resolver</a> |
| 75 | </font></dt></dl> |
| 76 | </dd> |
| 77 | <dt><font face="helvetica, arial"><a href="__builtin__.html#str">__builtin__.str</a>(<a href="__builtin__.html#basestring">__builtin__.basestring</a>) |
| 78 | </font></dt><dd> |
| 79 | <dl> |
| 80 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#TagStr">TagStr</a> |
| 81 | </font></dt></dl> |
| 82 | </dd> |
| 83 | <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>) |
| 84 | </font></dt><dd> |
| 85 | <dl> |
| 86 | <dt><font face="helvetica, arial"><a href="CppHeaderParser.html#CppParseError">CppParseError</a> |
| 87 | </font></dt></dl> |
| 88 | </dd> |
| 89 | </dl> |
| 90 | <p> |
| 91 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 92 | <tr bgcolor="#ffc8d8"> |
| 93 | <td colspan=3 valign=bottom> <br> |
| 94 | <font color="#000000" face="helvetica, arial"><a name="CppClass">class <strong>CppClass</strong></a>(<a href="__builtin__.html#dict">__builtin__.dict</a>)</font></td></tr> |
| 95 | |
| 96 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 97 | <td colspan=2><tt>Takes a name stack and turns it into a class<br> |
| 98 | <br> |
| 99 | Contains the following Keys:<br> |
| 100 | self['name'] - Name of the class<br> |
| 101 | self['doxygen'] - Doxygen comments associated with the class if they exist<br> |
| 102 | self['inherits'] - List of Classes that this one inherits where the values<br> |
| 103 | are of the form {"access": Anything in supportedAccessSpecifier<br> |
| 104 | "class": Name of the class<br> |
| 105 | self['methods'] - Dictionary where keys are from supportedAccessSpecifier<br> |
| 106 | and values are a lists of <a href="#CppMethod">CppMethod</a>'s<br> |
| 107 | self['properties'] - Dictionary where keys are from supportedAccessSpecifier<br> |
| 108 | and values are lists of <a href="#CppVariable">CppVariable</a>'s <br> |
| 109 | self['enums'] - Dictionary where keys are from supportedAccessSpecifier and<br> |
| 110 | values are lists of <a href="#CppEnum">CppEnum</a>'s<br> |
| 111 | self['structs'] - Dictionary where keys are from supportedAccessSpecifier and<br> |
| 112 | values are lists of nested Struct's<br> |
| 113 | <br> |
| 114 | An example of how this could look is as follows:<br> |
| 115 | #self =<br> |
| 116 | {<br> |
| 117 | 'name': ""<br> |
| 118 | 'inherits':[]<br> |
| 119 | 'methods':<br> |
| 120 | {<br> |
| 121 | 'public':[],<br> |
| 122 | 'protected':[], <br> |
| 123 | 'private':[]<br> |
| 124 | }, <br> |
| 125 | 'properties':<br> |
| 126 | {<br> |
| 127 | 'public':[],<br> |
| 128 | 'protected':[], <br> |
| 129 | 'private':[]<br> |
| 130 | },<br> |
| 131 | 'enums':<br> |
| 132 | {<br> |
| 133 | 'public':[],<br> |
| 134 | 'protected':[], <br> |
| 135 | 'private':[]<br> |
| 136 | }<br> |
| 137 | }<br> </tt></td></tr> |
| 138 | <tr><td> </td> |
| 139 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 140 | <dd><a href="CppHeaderParser.html#CppClass">CppClass</a></dd> |
| 141 | <dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd> |
| 142 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 143 | </dl> |
| 144 | <hr> |
| 145 | Methods defined here:<br> |
| 146 | <dl><dt><a name="CppClass-__init__"><strong>__init__</strong></a>(self, nameStack, curTemplate)</dt></dl> |
| 147 | |
| 148 | <dl><dt><a name="CppClass-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>Convert class to a string</tt></dd></dl> |
| 149 | |
| 150 | <dl><dt><a name="CppClass-get_all_method_names"><strong>get_all_method_names</strong></a>(self)</dt></dl> |
| 151 | |
| 152 | <dl><dt><a name="CppClass-get_all_methods"><strong>get_all_methods</strong></a>(self)</dt></dl> |
| 153 | |
| 154 | <dl><dt><a name="CppClass-get_all_pure_virtual_methods"><strong>get_all_pure_virtual_methods</strong></a>(self)</dt></dl> |
| 155 | |
| 156 | <dl><dt><a name="CppClass-get_method_names"><strong>get_method_names</strong></a>(self, type<font color="#909090">='public'</font>)</dt></dl> |
| 157 | |
| 158 | <dl><dt><a name="CppClass-get_pure_virtual_methods"><strong>get_pure_virtual_methods</strong></a>(self, type<font color="#909090">='public'</font>)</dt></dl> |
| 159 | |
| 160 | <dl><dt><a name="CppClass-show"><strong>show</strong></a>(self)</dt><dd><tt>Convert class to a string</tt></dd></dl> |
| 161 | |
| 162 | <hr> |
| 163 | Data descriptors defined here:<br> |
| 164 | <dl><dt><strong>__dict__</strong></dt> |
| 165 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 166 | </dl> |
| 167 | <dl><dt><strong>__weakref__</strong></dt> |
| 168 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 169 | </dl> |
| 170 | <hr> |
| 171 | Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> |
| 172 | <dl><dt><a name="CppClass-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl> |
| 173 | |
| 174 | <dl><dt><a name="CppClass-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-__contains__">__contains__</a>(k) -> True if D has a key k, else False</tt></dd></dl> |
| 175 | |
| 176 | <dl><dt><a name="CppClass-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl> |
| 177 | |
| 178 | <dl><dt><a name="CppClass-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl> |
| 179 | |
| 180 | <dl><dt><a name="CppClass-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl> |
| 181 | |
| 182 | <dl><dt><a name="CppClass-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 183 | |
| 184 | <dl><dt><a name="CppClass-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
| 185 | |
| 186 | <dl><dt><a name="CppClass-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl> |
| 187 | |
| 188 | <dl><dt><a name="CppClass-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl> |
| 189 | |
| 190 | <dl><dt><a name="CppClass-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl> |
| 191 | |
| 192 | <dl><dt><a name="CppClass-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__len__">__len__</a>() <==> len(x)</tt></dd></dl> |
| 193 | |
| 194 | <dl><dt><a name="CppClass-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl> |
| 195 | |
| 196 | <dl><dt><a name="CppClass-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl> |
| 197 | |
| 198 | <dl><dt><a name="CppClass-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 199 | |
| 200 | <dl><dt><a name="CppClass-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppClass-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl> |
| 201 | |
| 202 | <dl><dt><a name="CppClass-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-__sizeof__">__sizeof__</a>() -> size of D in memory, in bytes</tt></dd></dl> |
| 203 | |
| 204 | <dl><dt><a name="CppClass-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl> |
| 205 | |
| 206 | <dl><dt><a name="CppClass-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-copy">copy</a>() -> a shallow copy of D</tt></dd></dl> |
| 207 | |
| 208 | <dl><dt><a name="CppClass-fromkeys"><strong>fromkeys</strong></a>(...)</dt><dd><tt><a href="__builtin__.html#dict">dict</a>.<a href="#CppClass-fromkeys">fromkeys</a>(S[,v]) -> New <a href="__builtin__.html#dict">dict</a> with keys from S and values equal to v.<br> |
| 209 | v defaults to None.</tt></dd></dl> |
| 210 | |
| 211 | <dl><dt><a name="CppClass-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl> |
| 212 | |
| 213 | <dl><dt><a name="CppClass-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl> |
| 214 | |
| 215 | <dl><dt><a name="CppClass-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl> |
| 216 | |
| 217 | <dl><dt><a name="CppClass-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl> |
| 218 | |
| 219 | <dl><dt><a name="CppClass-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl> |
| 220 | |
| 221 | <dl><dt><a name="CppClass-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl> |
| 222 | |
| 223 | <dl><dt><a name="CppClass-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-keys">keys</a>() -> list of D's keys</tt></dd></dl> |
| 224 | |
| 225 | <dl><dt><a name="CppClass-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value.<br> |
| 226 | If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl> |
| 227 | |
| 228 | <dl><dt><a name="CppClass-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br> |
| 229 | 2-tuple; but raise KeyError if D is empty.</tt></dd></dl> |
| 230 | |
| 231 | <dl><dt><a name="CppClass-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-setdefault">setdefault</a>(k[,d]) -> D.<a href="#CppClass-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl> |
| 232 | |
| 233 | <dl><dt><a name="CppClass-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-update">update</a>([E, ]**F) -> None. Update D from <a href="__builtin__.html#dict">dict</a>/iterable E and F.<br> |
| 234 | If E present and has a .<a href="#CppClass-keys">keys</a>() method, does: for k in E: D[k] = E[k]<br> |
| 235 | If E present and lacks .<a href="#CppClass-keys">keys</a>() method, does: for (k, v) in E: D[k] = v<br> |
| 236 | In either case, this is followed by: for k in F: D[k] = F[k]</tt></dd></dl> |
| 237 | |
| 238 | <dl><dt><a name="CppClass-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-values">values</a>() -> list of D's values</tt></dd></dl> |
| 239 | |
| 240 | <dl><dt><a name="CppClass-viewitems"><strong>viewitems</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-viewitems">viewitems</a>() -> a set-like <a href="__builtin__.html#object">object</a> providing a view on D's items</tt></dd></dl> |
| 241 | |
| 242 | <dl><dt><a name="CppClass-viewkeys"><strong>viewkeys</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-viewkeys">viewkeys</a>() -> a set-like <a href="__builtin__.html#object">object</a> providing a view on D's keys</tt></dd></dl> |
| 243 | |
| 244 | <dl><dt><a name="CppClass-viewvalues"><strong>viewvalues</strong></a>(...)</dt><dd><tt>D.<a href="#CppClass-viewvalues">viewvalues</a>() -> an <a href="__builtin__.html#object">object</a> providing a view on D's values</tt></dd></dl> |
| 245 | |
| 246 | <hr> |
| 247 | Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> |
| 248 | <dl><dt><strong>__hash__</strong> = None</dl> |
| 249 | |
| 250 | <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#CppClass-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> |
| 251 | |
| 252 | </td></tr></table> <p> |
| 253 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 254 | <tr bgcolor="#ffc8d8"> |
| 255 | <td colspan=3 valign=bottom> <br> |
| 256 | <font color="#000000" face="helvetica, arial"><a name="CppEnum">class <strong>CppEnum</strong></a>(<a href="CppHeaderParser.html#_CppEnum">_CppEnum</a>)</font></td></tr> |
| 257 | |
| 258 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 259 | <td colspan=2><tt>Takes a name stack and turns it into an Enum<br> |
| 260 | <br> |
| 261 | Contains the following Keys:<br> |
| 262 | self['name'] - Name of the enum (ex. "ItemState")<br> |
| 263 | self['namespace'] - Namespace containing the enum<br> |
| 264 | self['values'] - List of values where the values are a dictionary of the<br> |
| 265 | form {"name": name of the key (ex. "PARSING_HEADER"),<br> |
| 266 | "value": Specified value of the enum, this key will only exist<br> |
| 267 | if a value for a given enum value was defined<br> |
| 268 | }<br> </tt></td></tr> |
| 269 | <tr><td> </td> |
| 270 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 271 | <dd><a href="CppHeaderParser.html#CppEnum">CppEnum</a></dd> |
| 272 | <dd><a href="CppHeaderParser.html#_CppEnum">_CppEnum</a></dd> |
| 273 | <dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd> |
| 274 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 275 | </dl> |
| 276 | <hr> |
| 277 | Methods defined here:<br> |
| 278 | <dl><dt><a name="CppEnum-__init__"><strong>__init__</strong></a>(self, nameStack)</dt></dl> |
| 279 | |
| 280 | <hr> |
| 281 | Methods inherited from <a href="CppHeaderParser.html#_CppEnum">_CppEnum</a>:<br> |
| 282 | <dl><dt><a name="CppEnum-resolve_enum_values"><strong>resolve_enum_values</strong></a>(self, values)</dt><dd><tt>Evaluates the values list of dictionaries passed in and figures out what the enum value<br> |
| 283 | for each enum is editing in place:<br> |
| 284 | <br> |
| 285 | Example:<br> |
| 286 | From: [{'name': 'ORANGE'},<br> |
| 287 | {'name': 'RED'},<br> |
| 288 | {'name': 'GREEN', 'value': '8'}]<br> |
| 289 | To: [{'name': 'ORANGE', 'value': 0},<br> |
| 290 | {'name': 'RED', 'value': 1},<br> |
| 291 | {'name': 'GREEN', 'value': 8}]</tt></dd></dl> |
| 292 | |
| 293 | <hr> |
| 294 | Data descriptors inherited from <a href="CppHeaderParser.html#_CppEnum">_CppEnum</a>:<br> |
| 295 | <dl><dt><strong>__dict__</strong></dt> |
| 296 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 297 | </dl> |
| 298 | <dl><dt><strong>__weakref__</strong></dt> |
| 299 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 300 | </dl> |
| 301 | <hr> |
| 302 | Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> |
| 303 | <dl><dt><a name="CppEnum-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl> |
| 304 | |
| 305 | <dl><dt><a name="CppEnum-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-__contains__">__contains__</a>(k) -> True if D has a key k, else False</tt></dd></dl> |
| 306 | |
| 307 | <dl><dt><a name="CppEnum-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl> |
| 308 | |
| 309 | <dl><dt><a name="CppEnum-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl> |
| 310 | |
| 311 | <dl><dt><a name="CppEnum-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl> |
| 312 | |
| 313 | <dl><dt><a name="CppEnum-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 314 | |
| 315 | <dl><dt><a name="CppEnum-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
| 316 | |
| 317 | <dl><dt><a name="CppEnum-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl> |
| 318 | |
| 319 | <dl><dt><a name="CppEnum-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl> |
| 320 | |
| 321 | <dl><dt><a name="CppEnum-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl> |
| 322 | |
| 323 | <dl><dt><a name="CppEnum-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__len__">__len__</a>() <==> len(x)</tt></dd></dl> |
| 324 | |
| 325 | <dl><dt><a name="CppEnum-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl> |
| 326 | |
| 327 | <dl><dt><a name="CppEnum-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl> |
| 328 | |
| 329 | <dl><dt><a name="CppEnum-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 330 | |
| 331 | <dl><dt><a name="CppEnum-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppEnum-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl> |
| 332 | |
| 333 | <dl><dt><a name="CppEnum-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-__sizeof__">__sizeof__</a>() -> size of D in memory, in bytes</tt></dd></dl> |
| 334 | |
| 335 | <dl><dt><a name="CppEnum-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl> |
| 336 | |
| 337 | <dl><dt><a name="CppEnum-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-copy">copy</a>() -> a shallow copy of D</tt></dd></dl> |
| 338 | |
| 339 | <dl><dt><a name="CppEnum-fromkeys"><strong>fromkeys</strong></a>(...)</dt><dd><tt><a href="__builtin__.html#dict">dict</a>.<a href="#CppEnum-fromkeys">fromkeys</a>(S[,v]) -> New <a href="__builtin__.html#dict">dict</a> with keys from S and values equal to v.<br> |
| 340 | v defaults to None.</tt></dd></dl> |
| 341 | |
| 342 | <dl><dt><a name="CppEnum-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl> |
| 343 | |
| 344 | <dl><dt><a name="CppEnum-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl> |
| 345 | |
| 346 | <dl><dt><a name="CppEnum-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl> |
| 347 | |
| 348 | <dl><dt><a name="CppEnum-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl> |
| 349 | |
| 350 | <dl><dt><a name="CppEnum-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl> |
| 351 | |
| 352 | <dl><dt><a name="CppEnum-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl> |
| 353 | |
| 354 | <dl><dt><a name="CppEnum-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-keys">keys</a>() -> list of D's keys</tt></dd></dl> |
| 355 | |
| 356 | <dl><dt><a name="CppEnum-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value.<br> |
| 357 | If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl> |
| 358 | |
| 359 | <dl><dt><a name="CppEnum-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br> |
| 360 | 2-tuple; but raise KeyError if D is empty.</tt></dd></dl> |
| 361 | |
| 362 | <dl><dt><a name="CppEnum-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-setdefault">setdefault</a>(k[,d]) -> D.<a href="#CppEnum-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl> |
| 363 | |
| 364 | <dl><dt><a name="CppEnum-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-update">update</a>([E, ]**F) -> None. Update D from <a href="__builtin__.html#dict">dict</a>/iterable E and F.<br> |
| 365 | If E present and has a .<a href="#CppEnum-keys">keys</a>() method, does: for k in E: D[k] = E[k]<br> |
| 366 | If E present and lacks .<a href="#CppEnum-keys">keys</a>() method, does: for (k, v) in E: D[k] = v<br> |
| 367 | In either case, this is followed by: for k in F: D[k] = F[k]</tt></dd></dl> |
| 368 | |
| 369 | <dl><dt><a name="CppEnum-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-values">values</a>() -> list of D's values</tt></dd></dl> |
| 370 | |
| 371 | <dl><dt><a name="CppEnum-viewitems"><strong>viewitems</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-viewitems">viewitems</a>() -> a set-like <a href="__builtin__.html#object">object</a> providing a view on D's items</tt></dd></dl> |
| 372 | |
| 373 | <dl><dt><a name="CppEnum-viewkeys"><strong>viewkeys</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-viewkeys">viewkeys</a>() -> a set-like <a href="__builtin__.html#object">object</a> providing a view on D's keys</tt></dd></dl> |
| 374 | |
| 375 | <dl><dt><a name="CppEnum-viewvalues"><strong>viewvalues</strong></a>(...)</dt><dd><tt>D.<a href="#CppEnum-viewvalues">viewvalues</a>() -> an <a href="__builtin__.html#object">object</a> providing a view on D's values</tt></dd></dl> |
| 376 | |
| 377 | <hr> |
| 378 | Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> |
| 379 | <dl><dt><strong>__hash__</strong> = None</dl> |
| 380 | |
| 381 | <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#CppEnum-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> |
| 382 | |
| 383 | </td></tr></table> <p> |
| 384 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 385 | <tr bgcolor="#ffc8d8"> |
| 386 | <td colspan=3 valign=bottom> <br> |
| 387 | <font color="#000000" face="helvetica, arial"><a name="CppHeader">class <strong>CppHeader</strong></a>(<a href="CppHeaderParser.html#_CppHeader">_CppHeader</a>)</font></td></tr> |
| 388 | |
| 389 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 390 | <td colspan=2><tt>Parsed C++ class header<br> |
| 391 | <br> |
| 392 | Variables produced:<br> |
| 393 | self.<strong>classes</strong> - Dictionary of classes found in a given header file where the<br> |
| 394 | key is the name of the class<br> </tt></td></tr> |
| 395 | <tr><td> </td> |
| 396 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 397 | <dd><a href="CppHeaderParser.html#CppHeader">CppHeader</a></dd> |
| 398 | <dd><a href="CppHeaderParser.html#_CppHeader">_CppHeader</a></dd> |
| 399 | <dd><a href="CppHeaderParser.html#Resolver">Resolver</a></dd> |
| 400 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 401 | </dl> |
| 402 | <hr> |
| 403 | Methods defined here:<br> |
| 404 | <dl><dt><a name="CppHeader-__init__"><strong>__init__</strong></a>(self, headerFileName, argType<font color="#909090">='file'</font>, **kwargs)</dt><dd><tt>Create the parsed C++ header file parse tree<br> |
| 405 | <br> |
| 406 | headerFileName - Name of the file to parse OR actual file contents (depends on argType)<br> |
| 407 | argType - Indicates how to interpret headerFileName as a file string or file name<br> |
| 408 | kwargs - Supports the following keywords</tt></dd></dl> |
| 409 | |
| 410 | <dl><dt><a name="CppHeader-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> |
| 411 | |
| 412 | <dl><dt><a name="CppHeader-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| 413 | |
| 414 | <dl><dt><a name="CppHeader-evaluate_enum_stack"><strong>evaluate_enum_stack</strong></a>(self)</dt><dd><tt>Create an Enum out of the name stack</tt></dd></dl> |
| 415 | |
| 416 | <dl><dt><a name="CppHeader-evaluate_stack"><strong>evaluate_stack</strong></a>(self, token<font color="#909090">=None</font>)</dt><dd><tt>Evaluates the current name stack</tt></dd></dl> |
| 417 | |
| 418 | <dl><dt><a name="CppHeader-show"><strong>show</strong></a>(self)</dt></dl> |
| 419 | |
| 420 | <dl><dt><a name="CppHeader-strip_parent_keys"><strong>strip_parent_keys</strong></a>(self)</dt><dd><tt>Strip all parent (and method) keys to prevent loops</tt></dd></dl> |
| 421 | |
| 422 | <dl><dt><a name="CppHeader-toJSON"><strong>toJSON</strong></a>(self, indent<font color="#909090">=4</font>)</dt><dd><tt>Converts a parsed structure to JSON</tt></dd></dl> |
| 423 | |
| 424 | <hr> |
| 425 | Data and other attributes defined here:<br> |
| 426 | <dl><dt><strong>IGNORE_NAMES</strong> = ['__extension__']</dl> |
| 427 | |
| 428 | <hr> |
| 429 | Methods inherited from <a href="CppHeaderParser.html#_CppHeader">_CppHeader</a>:<br> |
| 430 | <dl><dt><a name="CppHeader-evaluate_class_stack"><strong>evaluate_class_stack</strong></a>(self)</dt><dd><tt>Create a Class out of the name stack (but not its parts)</tt></dd></dl> |
| 431 | |
| 432 | <dl><dt><a name="CppHeader-evaluate_method_stack"><strong>evaluate_method_stack</strong></a>(self)</dt><dd><tt>Create a method out of the name stack</tt></dd></dl> |
| 433 | |
| 434 | <dl><dt><a name="CppHeader-evaluate_property_stack"><strong>evaluate_property_stack</strong></a>(self)</dt><dd><tt>Create a Property out of the name stack</tt></dd></dl> |
| 435 | |
| 436 | <dl><dt><a name="CppHeader-evaluate_struct_stack"><strong>evaluate_struct_stack</strong></a>(self)</dt><dd><tt>Create a Struct out of the name stack (but not its parts)</tt></dd></dl> |
| 437 | |
| 438 | <dl><dt><a name="CppHeader-evaluate_typedef"><strong>evaluate_typedef</strong></a>(self)</dt></dl> |
| 439 | |
| 440 | <dl><dt><a name="CppHeader-evalute_forward_decl"><strong>evalute_forward_decl</strong></a>(self)</dt></dl> |
| 441 | |
| 442 | <dl><dt><a name="CppHeader-finalize"><strong>finalize</strong></a>(self)</dt></dl> |
| 443 | |
| 444 | <dl><dt><a name="CppHeader-parse_method_type"><strong>parse_method_type</strong></a>(self, stack)</dt></dl> |
| 445 | |
| 446 | <hr> |
| 447 | Methods inherited from <a href="CppHeaderParser.html#Resolver">Resolver</a>:<br> |
| 448 | <dl><dt><a name="CppHeader-concrete_typedef"><strong>concrete_typedef</strong></a>(self, key)</dt></dl> |
| 449 | |
| 450 | <dl><dt><a name="CppHeader-cur_namespace"><strong>cur_namespace</strong></a>(self, add_double_colon<font color="#909090">=False</font>)</dt></dl> |
| 451 | |
| 452 | <dl><dt><a name="CppHeader-current_namespace"><strong>current_namespace</strong></a>(self)</dt></dl> |
| 453 | |
| 454 | <dl><dt><a name="CppHeader-finalize_vars"><strong>finalize_vars</strong></a>(self)</dt></dl> |
| 455 | |
| 456 | <dl><dt><a name="CppHeader-guess_ctypes_type"><strong>guess_ctypes_type</strong></a>(self, string)</dt></dl> |
| 457 | |
| 458 | <dl><dt><a name="CppHeader-initextra"><strong>initextra</strong></a>(self)</dt></dl> |
| 459 | |
| 460 | <dl><dt><a name="CppHeader-resolve_type"><strong>resolve_type</strong></a>(self, string, result)</dt><dd><tt>keeps track of useful things like: how many pointers, number of typedefs, is fundamental or a class, etc...</tt></dd></dl> |
| 461 | |
| 462 | <hr> |
| 463 | Data descriptors inherited from <a href="CppHeaderParser.html#Resolver">Resolver</a>:<br> |
| 464 | <dl><dt><strong>__dict__</strong></dt> |
| 465 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 466 | </dl> |
| 467 | <dl><dt><strong>__weakref__</strong></dt> |
| 468 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 469 | </dl> |
| 470 | <hr> |
| 471 | Data and other attributes inherited from <a href="CppHeaderParser.html#Resolver">Resolver</a>:<br> |
| 472 | <dl><dt><strong>CLASSES</strong> = {}</dl> |
| 473 | |
| 474 | <dl><dt><strong>C_FUNDAMENTAL</strong> = ['size_t', 'unsigned', 'signed', 'bool', 'char', 'wchar', 'short', 'int', 'float', 'double', 'long', 'void', 'struct', 'union', 'enum']</dl> |
| 475 | |
| 476 | <dl><dt><strong>NAMESPACES</strong> = []</dl> |
| 477 | |
| 478 | <dl><dt><strong>STRUCTS</strong> = {}</dl> |
| 479 | |
| 480 | <dl><dt><strong>SubTypedefs</strong> = {}</dl> |
| 481 | |
| 482 | </td></tr></table> <p> |
| 483 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 484 | <tr bgcolor="#ffc8d8"> |
| 485 | <td colspan=3 valign=bottom> <br> |
| 486 | <font color="#000000" face="helvetica, arial"><a name="CppMethod">class <strong>CppMethod</strong></a>(<a href="CppHeaderParser.html#_CppMethod">_CppMethod</a>)</font></td></tr> |
| 487 | |
| 488 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 489 | <td colspan=2><tt>Takes a name stack and turns it into a method<br> |
| 490 | <br> |
| 491 | Contains the following Keys:<br> |
| 492 | self['rtnType'] - Return type of the method (ex. "int")<br> |
| 493 | self['name'] - Name of the method (ex. "getSize")<br> |
| 494 | self['doxygen'] - Doxygen comments associated with the method if they exist<br> |
| 495 | self['parameters'] - List of CppVariables<br> </tt></td></tr> |
| 496 | <tr><td> </td> |
| 497 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 498 | <dd><a href="CppHeaderParser.html#CppMethod">CppMethod</a></dd> |
| 499 | <dd><a href="CppHeaderParser.html#_CppMethod">_CppMethod</a></dd> |
| 500 | <dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd> |
| 501 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 502 | </dl> |
| 503 | <hr> |
| 504 | Methods defined here:<br> |
| 505 | <dl><dt><a name="CppMethod-__init__"><strong>__init__</strong></a>(self, nameStack, curClass, methinfo, curTemplate)</dt></dl> |
| 506 | |
| 507 | <dl><dt><a name="CppMethod-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| 508 | |
| 509 | <dl><dt><a name="CppMethod-show"><strong>show</strong></a>(self)</dt></dl> |
| 510 | |
| 511 | <hr> |
| 512 | Data descriptors inherited from <a href="CppHeaderParser.html#_CppMethod">_CppMethod</a>:<br> |
| 513 | <dl><dt><strong>__dict__</strong></dt> |
| 514 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 515 | </dl> |
| 516 | <dl><dt><strong>__weakref__</strong></dt> |
| 517 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 518 | </dl> |
| 519 | <hr> |
| 520 | Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> |
| 521 | <dl><dt><a name="CppMethod-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl> |
| 522 | |
| 523 | <dl><dt><a name="CppMethod-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-__contains__">__contains__</a>(k) -> True if D has a key k, else False</tt></dd></dl> |
| 524 | |
| 525 | <dl><dt><a name="CppMethod-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl> |
| 526 | |
| 527 | <dl><dt><a name="CppMethod-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl> |
| 528 | |
| 529 | <dl><dt><a name="CppMethod-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl> |
| 530 | |
| 531 | <dl><dt><a name="CppMethod-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 532 | |
| 533 | <dl><dt><a name="CppMethod-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
| 534 | |
| 535 | <dl><dt><a name="CppMethod-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl> |
| 536 | |
| 537 | <dl><dt><a name="CppMethod-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl> |
| 538 | |
| 539 | <dl><dt><a name="CppMethod-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl> |
| 540 | |
| 541 | <dl><dt><a name="CppMethod-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__len__">__len__</a>() <==> len(x)</tt></dd></dl> |
| 542 | |
| 543 | <dl><dt><a name="CppMethod-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl> |
| 544 | |
| 545 | <dl><dt><a name="CppMethod-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl> |
| 546 | |
| 547 | <dl><dt><a name="CppMethod-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 548 | |
| 549 | <dl><dt><a name="CppMethod-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppMethod-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl> |
| 550 | |
| 551 | <dl><dt><a name="CppMethod-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-__sizeof__">__sizeof__</a>() -> size of D in memory, in bytes</tt></dd></dl> |
| 552 | |
| 553 | <dl><dt><a name="CppMethod-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl> |
| 554 | |
| 555 | <dl><dt><a name="CppMethod-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-copy">copy</a>() -> a shallow copy of D</tt></dd></dl> |
| 556 | |
| 557 | <dl><dt><a name="CppMethod-fromkeys"><strong>fromkeys</strong></a>(...)</dt><dd><tt><a href="__builtin__.html#dict">dict</a>.<a href="#CppMethod-fromkeys">fromkeys</a>(S[,v]) -> New <a href="__builtin__.html#dict">dict</a> with keys from S and values equal to v.<br> |
| 558 | v defaults to None.</tt></dd></dl> |
| 559 | |
| 560 | <dl><dt><a name="CppMethod-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl> |
| 561 | |
| 562 | <dl><dt><a name="CppMethod-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl> |
| 563 | |
| 564 | <dl><dt><a name="CppMethod-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl> |
| 565 | |
| 566 | <dl><dt><a name="CppMethod-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl> |
| 567 | |
| 568 | <dl><dt><a name="CppMethod-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl> |
| 569 | |
| 570 | <dl><dt><a name="CppMethod-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl> |
| 571 | |
| 572 | <dl><dt><a name="CppMethod-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-keys">keys</a>() -> list of D's keys</tt></dd></dl> |
| 573 | |
| 574 | <dl><dt><a name="CppMethod-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value.<br> |
| 575 | If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl> |
| 576 | |
| 577 | <dl><dt><a name="CppMethod-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br> |
| 578 | 2-tuple; but raise KeyError if D is empty.</tt></dd></dl> |
| 579 | |
| 580 | <dl><dt><a name="CppMethod-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-setdefault">setdefault</a>(k[,d]) -> D.<a href="#CppMethod-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl> |
| 581 | |
| 582 | <dl><dt><a name="CppMethod-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-update">update</a>([E, ]**F) -> None. Update D from <a href="__builtin__.html#dict">dict</a>/iterable E and F.<br> |
| 583 | If E present and has a .<a href="#CppMethod-keys">keys</a>() method, does: for k in E: D[k] = E[k]<br> |
| 584 | If E present and lacks .<a href="#CppMethod-keys">keys</a>() method, does: for (k, v) in E: D[k] = v<br> |
| 585 | In either case, this is followed by: for k in F: D[k] = F[k]</tt></dd></dl> |
| 586 | |
| 587 | <dl><dt><a name="CppMethod-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-values">values</a>() -> list of D's values</tt></dd></dl> |
| 588 | |
| 589 | <dl><dt><a name="CppMethod-viewitems"><strong>viewitems</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-viewitems">viewitems</a>() -> a set-like <a href="__builtin__.html#object">object</a> providing a view on D's items</tt></dd></dl> |
| 590 | |
| 591 | <dl><dt><a name="CppMethod-viewkeys"><strong>viewkeys</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-viewkeys">viewkeys</a>() -> a set-like <a href="__builtin__.html#object">object</a> providing a view on D's keys</tt></dd></dl> |
| 592 | |
| 593 | <dl><dt><a name="CppMethod-viewvalues"><strong>viewvalues</strong></a>(...)</dt><dd><tt>D.<a href="#CppMethod-viewvalues">viewvalues</a>() -> an <a href="__builtin__.html#object">object</a> providing a view on D's values</tt></dd></dl> |
| 594 | |
| 595 | <hr> |
| 596 | Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> |
| 597 | <dl><dt><strong>__hash__</strong> = None</dl> |
| 598 | |
| 599 | <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#CppMethod-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> |
| 600 | |
| 601 | </td></tr></table> <p> |
| 602 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 603 | <tr bgcolor="#ffc8d8"> |
| 604 | <td colspan=3 valign=bottom> <br> |
| 605 | <font color="#000000" face="helvetica, arial"><a name="CppParseError">class <strong>CppParseError</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> |
| 606 | |
| 607 | <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| 608 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 609 | <dd><a href="CppHeaderParser.html#CppParseError">CppParseError</a></dd> |
| 610 | <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> |
| 611 | <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> |
| 612 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 613 | </dl> |
| 614 | <hr> |
| 615 | Data descriptors defined here:<br> |
| 616 | <dl><dt><strong>__weakref__</strong></dt> |
| 617 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 618 | </dl> |
| 619 | <hr> |
| 620 | Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> |
| 621 | <dl><dt><a name="CppParseError-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#CppParseError-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</tt></dd></dl> |
| 622 | |
| 623 | <hr> |
| 624 | Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> |
| 625 | <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#CppParseError-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> |
| 626 | |
| 627 | <hr> |
| 628 | Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> |
| 629 | <dl><dt><a name="CppParseError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#CppParseError-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> |
| 630 | |
| 631 | <dl><dt><a name="CppParseError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#CppParseError-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 632 | |
| 633 | <dl><dt><a name="CppParseError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppParseError-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
| 634 | |
| 635 | <dl><dt><a name="CppParseError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#CppParseError-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> |
| 636 | <br> |
| 637 | Use of negative indices is not supported.</tt></dd></dl> |
| 638 | |
| 639 | <dl><dt><a name="CppParseError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> |
| 640 | |
| 641 | <dl><dt><a name="CppParseError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#CppParseError-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 642 | |
| 643 | <dl><dt><a name="CppParseError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#CppParseError-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> |
| 644 | |
| 645 | <dl><dt><a name="CppParseError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> |
| 646 | |
| 647 | <dl><dt><a name="CppParseError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#CppParseError-__str__">__str__</a>() <==> <a href="__builtin__.html#str">str</a>(x)</tt></dd></dl> |
| 648 | |
| 649 | <dl><dt><a name="CppParseError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> |
| 650 | |
| 651 | <hr> |
| 652 | Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> |
| 653 | <dl><dt><strong>__dict__</strong></dt> |
| 654 | </dl> |
| 655 | <dl><dt><strong>args</strong></dt> |
| 656 | </dl> |
| 657 | <dl><dt><strong>message</strong></dt> |
| 658 | </dl> |
| 659 | </td></tr></table> <p> |
| 660 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 661 | <tr bgcolor="#ffc8d8"> |
| 662 | <td colspan=3 valign=bottom> <br> |
| 663 | <font color="#000000" face="helvetica, arial"><a name="CppStruct">class <strong>CppStruct</strong></a>(<a href="__builtin__.html#dict">__builtin__.dict</a>)</font></td></tr> |
| 664 | |
| 665 | <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| 666 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 667 | <dd><a href="CppHeaderParser.html#CppStruct">CppStruct</a></dd> |
| 668 | <dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd> |
| 669 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 670 | </dl> |
| 671 | <hr> |
| 672 | Methods defined here:<br> |
| 673 | <dl><dt><a name="CppStruct-__init__"><strong>__init__</strong></a>(self, nameStack)</dt></dl> |
| 674 | |
| 675 | <hr> |
| 676 | Data descriptors defined here:<br> |
| 677 | <dl><dt><strong>__dict__</strong></dt> |
| 678 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 679 | </dl> |
| 680 | <dl><dt><strong>__weakref__</strong></dt> |
| 681 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 682 | </dl> |
| 683 | <hr> |
| 684 | Data and other attributes defined here:<br> |
| 685 | <dl><dt><strong>Structs</strong> = []</dl> |
| 686 | |
| 687 | <hr> |
| 688 | Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> |
| 689 | <dl><dt><a name="CppStruct-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl> |
| 690 | |
| 691 | <dl><dt><a name="CppStruct-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-__contains__">__contains__</a>(k) -> True if D has a key k, else False</tt></dd></dl> |
| 692 | |
| 693 | <dl><dt><a name="CppStruct-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl> |
| 694 | |
| 695 | <dl><dt><a name="CppStruct-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl> |
| 696 | |
| 697 | <dl><dt><a name="CppStruct-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl> |
| 698 | |
| 699 | <dl><dt><a name="CppStruct-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 700 | |
| 701 | <dl><dt><a name="CppStruct-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
| 702 | |
| 703 | <dl><dt><a name="CppStruct-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl> |
| 704 | |
| 705 | <dl><dt><a name="CppStruct-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl> |
| 706 | |
| 707 | <dl><dt><a name="CppStruct-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl> |
| 708 | |
| 709 | <dl><dt><a name="CppStruct-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__len__">__len__</a>() <==> len(x)</tt></dd></dl> |
| 710 | |
| 711 | <dl><dt><a name="CppStruct-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl> |
| 712 | |
| 713 | <dl><dt><a name="CppStruct-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl> |
| 714 | |
| 715 | <dl><dt><a name="CppStruct-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 716 | |
| 717 | <dl><dt><a name="CppStruct-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppStruct-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl> |
| 718 | |
| 719 | <dl><dt><a name="CppStruct-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-__sizeof__">__sizeof__</a>() -> size of D in memory, in bytes</tt></dd></dl> |
| 720 | |
| 721 | <dl><dt><a name="CppStruct-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl> |
| 722 | |
| 723 | <dl><dt><a name="CppStruct-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-copy">copy</a>() -> a shallow copy of D</tt></dd></dl> |
| 724 | |
| 725 | <dl><dt><a name="CppStruct-fromkeys"><strong>fromkeys</strong></a>(...)</dt><dd><tt><a href="__builtin__.html#dict">dict</a>.<a href="#CppStruct-fromkeys">fromkeys</a>(S[,v]) -> New <a href="__builtin__.html#dict">dict</a> with keys from S and values equal to v.<br> |
| 726 | v defaults to None.</tt></dd></dl> |
| 727 | |
| 728 | <dl><dt><a name="CppStruct-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl> |
| 729 | |
| 730 | <dl><dt><a name="CppStruct-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl> |
| 731 | |
| 732 | <dl><dt><a name="CppStruct-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl> |
| 733 | |
| 734 | <dl><dt><a name="CppStruct-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl> |
| 735 | |
| 736 | <dl><dt><a name="CppStruct-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl> |
| 737 | |
| 738 | <dl><dt><a name="CppStruct-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl> |
| 739 | |
| 740 | <dl><dt><a name="CppStruct-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-keys">keys</a>() -> list of D's keys</tt></dd></dl> |
| 741 | |
| 742 | <dl><dt><a name="CppStruct-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value.<br> |
| 743 | If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl> |
| 744 | |
| 745 | <dl><dt><a name="CppStruct-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br> |
| 746 | 2-tuple; but raise KeyError if D is empty.</tt></dd></dl> |
| 747 | |
| 748 | <dl><dt><a name="CppStruct-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-setdefault">setdefault</a>(k[,d]) -> D.<a href="#CppStruct-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl> |
| 749 | |
| 750 | <dl><dt><a name="CppStruct-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-update">update</a>([E, ]**F) -> None. Update D from <a href="__builtin__.html#dict">dict</a>/iterable E and F.<br> |
| 751 | If E present and has a .<a href="#CppStruct-keys">keys</a>() method, does: for k in E: D[k] = E[k]<br> |
| 752 | If E present and lacks .<a href="#CppStruct-keys">keys</a>() method, does: for (k, v) in E: D[k] = v<br> |
| 753 | In either case, this is followed by: for k in F: D[k] = F[k]</tt></dd></dl> |
| 754 | |
| 755 | <dl><dt><a name="CppStruct-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-values">values</a>() -> list of D's values</tt></dd></dl> |
| 756 | |
| 757 | <dl><dt><a name="CppStruct-viewitems"><strong>viewitems</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-viewitems">viewitems</a>() -> a set-like <a href="__builtin__.html#object">object</a> providing a view on D's items</tt></dd></dl> |
| 758 | |
| 759 | <dl><dt><a name="CppStruct-viewkeys"><strong>viewkeys</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-viewkeys">viewkeys</a>() -> a set-like <a href="__builtin__.html#object">object</a> providing a view on D's keys</tt></dd></dl> |
| 760 | |
| 761 | <dl><dt><a name="CppStruct-viewvalues"><strong>viewvalues</strong></a>(...)</dt><dd><tt>D.<a href="#CppStruct-viewvalues">viewvalues</a>() -> an <a href="__builtin__.html#object">object</a> providing a view on D's values</tt></dd></dl> |
| 762 | |
| 763 | <hr> |
| 764 | Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> |
| 765 | <dl><dt><strong>__hash__</strong> = None</dl> |
| 766 | |
| 767 | <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#CppStruct-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> |
| 768 | |
| 769 | </td></tr></table> <p> |
| 770 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 771 | <tr bgcolor="#ffc8d8"> |
| 772 | <td colspan=3 valign=bottom> <br> |
| 773 | <font color="#000000" face="helvetica, arial"><a name="CppUnion">class <strong>CppUnion</strong></a>(<a href="CppHeaderParser.html#CppClass">CppClass</a>)</font></td></tr> |
| 774 | |
| 775 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 776 | <td colspan=2><tt>Takes a name stack and turns it into a union<br> |
| 777 | <br> |
| 778 | Contains the following Keys:<br> |
| 779 | self['name'] - Name of the union<br> |
| 780 | self['doxygen'] - Doxygen comments associated with the union if they exist<br> |
| 781 | self['members'] - List of members the union has <br> |
| 782 | <br> |
| 783 | An example of how this could look is as follows:<br> |
| 784 | #self =<br> |
| 785 | {<br> |
| 786 | 'name': ""<br> |
| 787 | 'members': []<br> |
| 788 | }<br> </tt></td></tr> |
| 789 | <tr><td> </td> |
| 790 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 791 | <dd><a href="CppHeaderParser.html#CppUnion">CppUnion</a></dd> |
| 792 | <dd><a href="CppHeaderParser.html#CppClass">CppClass</a></dd> |
| 793 | <dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd> |
| 794 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 795 | </dl> |
| 796 | <hr> |
| 797 | Methods defined here:<br> |
| 798 | <dl><dt><a name="CppUnion-__init__"><strong>__init__</strong></a>(self, nameStack)</dt></dl> |
| 799 | |
| 800 | <dl><dt><a name="CppUnion-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>Convert class to a string</tt></dd></dl> |
| 801 | |
| 802 | <dl><dt><a name="CppUnion-show"><strong>show</strong></a>(self)</dt><dd><tt>Convert class to a string</tt></dd></dl> |
| 803 | |
| 804 | <dl><dt><a name="CppUnion-transform_to_union_keys"><strong>transform_to_union_keys</strong></a>(self)</dt></dl> |
| 805 | |
| 806 | <hr> |
| 807 | Methods inherited from <a href="CppHeaderParser.html#CppClass">CppClass</a>:<br> |
| 808 | <dl><dt><a name="CppUnion-get_all_method_names"><strong>get_all_method_names</strong></a>(self)</dt></dl> |
| 809 | |
| 810 | <dl><dt><a name="CppUnion-get_all_methods"><strong>get_all_methods</strong></a>(self)</dt></dl> |
| 811 | |
| 812 | <dl><dt><a name="CppUnion-get_all_pure_virtual_methods"><strong>get_all_pure_virtual_methods</strong></a>(self)</dt></dl> |
| 813 | |
| 814 | <dl><dt><a name="CppUnion-get_method_names"><strong>get_method_names</strong></a>(self, type<font color="#909090">='public'</font>)</dt></dl> |
| 815 | |
| 816 | <dl><dt><a name="CppUnion-get_pure_virtual_methods"><strong>get_pure_virtual_methods</strong></a>(self, type<font color="#909090">='public'</font>)</dt></dl> |
| 817 | |
| 818 | <hr> |
| 819 | Data descriptors inherited from <a href="CppHeaderParser.html#CppClass">CppClass</a>:<br> |
| 820 | <dl><dt><strong>__dict__</strong></dt> |
| 821 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 822 | </dl> |
| 823 | <dl><dt><strong>__weakref__</strong></dt> |
| 824 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 825 | </dl> |
| 826 | <hr> |
| 827 | Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> |
| 828 | <dl><dt><a name="CppUnion-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl> |
| 829 | |
| 830 | <dl><dt><a name="CppUnion-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-__contains__">__contains__</a>(k) -> True if D has a key k, else False</tt></dd></dl> |
| 831 | |
| 832 | <dl><dt><a name="CppUnion-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl> |
| 833 | |
| 834 | <dl><dt><a name="CppUnion-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl> |
| 835 | |
| 836 | <dl><dt><a name="CppUnion-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl> |
| 837 | |
| 838 | <dl><dt><a name="CppUnion-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 839 | |
| 840 | <dl><dt><a name="CppUnion-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
| 841 | |
| 842 | <dl><dt><a name="CppUnion-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl> |
| 843 | |
| 844 | <dl><dt><a name="CppUnion-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl> |
| 845 | |
| 846 | <dl><dt><a name="CppUnion-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl> |
| 847 | |
| 848 | <dl><dt><a name="CppUnion-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__len__">__len__</a>() <==> len(x)</tt></dd></dl> |
| 849 | |
| 850 | <dl><dt><a name="CppUnion-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl> |
| 851 | |
| 852 | <dl><dt><a name="CppUnion-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl> |
| 853 | |
| 854 | <dl><dt><a name="CppUnion-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 855 | |
| 856 | <dl><dt><a name="CppUnion-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppUnion-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl> |
| 857 | |
| 858 | <dl><dt><a name="CppUnion-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-__sizeof__">__sizeof__</a>() -> size of D in memory, in bytes</tt></dd></dl> |
| 859 | |
| 860 | <dl><dt><a name="CppUnion-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl> |
| 861 | |
| 862 | <dl><dt><a name="CppUnion-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-copy">copy</a>() -> a shallow copy of D</tt></dd></dl> |
| 863 | |
| 864 | <dl><dt><a name="CppUnion-fromkeys"><strong>fromkeys</strong></a>(...)</dt><dd><tt><a href="__builtin__.html#dict">dict</a>.<a href="#CppUnion-fromkeys">fromkeys</a>(S[,v]) -> New <a href="__builtin__.html#dict">dict</a> with keys from S and values equal to v.<br> |
| 865 | v defaults to None.</tt></dd></dl> |
| 866 | |
| 867 | <dl><dt><a name="CppUnion-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl> |
| 868 | |
| 869 | <dl><dt><a name="CppUnion-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl> |
| 870 | |
| 871 | <dl><dt><a name="CppUnion-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl> |
| 872 | |
| 873 | <dl><dt><a name="CppUnion-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl> |
| 874 | |
| 875 | <dl><dt><a name="CppUnion-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl> |
| 876 | |
| 877 | <dl><dt><a name="CppUnion-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl> |
| 878 | |
| 879 | <dl><dt><a name="CppUnion-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-keys">keys</a>() -> list of D's keys</tt></dd></dl> |
| 880 | |
| 881 | <dl><dt><a name="CppUnion-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value.<br> |
| 882 | If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl> |
| 883 | |
| 884 | <dl><dt><a name="CppUnion-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br> |
| 885 | 2-tuple; but raise KeyError if D is empty.</tt></dd></dl> |
| 886 | |
| 887 | <dl><dt><a name="CppUnion-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-setdefault">setdefault</a>(k[,d]) -> D.<a href="#CppUnion-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl> |
| 888 | |
| 889 | <dl><dt><a name="CppUnion-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-update">update</a>([E, ]**F) -> None. Update D from <a href="__builtin__.html#dict">dict</a>/iterable E and F.<br> |
| 890 | If E present and has a .<a href="#CppUnion-keys">keys</a>() method, does: for k in E: D[k] = E[k]<br> |
| 891 | If E present and lacks .<a href="#CppUnion-keys">keys</a>() method, does: for (k, v) in E: D[k] = v<br> |
| 892 | In either case, this is followed by: for k in F: D[k] = F[k]</tt></dd></dl> |
| 893 | |
| 894 | <dl><dt><a name="CppUnion-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-values">values</a>() -> list of D's values</tt></dd></dl> |
| 895 | |
| 896 | <dl><dt><a name="CppUnion-viewitems"><strong>viewitems</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-viewitems">viewitems</a>() -> a set-like <a href="__builtin__.html#object">object</a> providing a view on D's items</tt></dd></dl> |
| 897 | |
| 898 | <dl><dt><a name="CppUnion-viewkeys"><strong>viewkeys</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-viewkeys">viewkeys</a>() -> a set-like <a href="__builtin__.html#object">object</a> providing a view on D's keys</tt></dd></dl> |
| 899 | |
| 900 | <dl><dt><a name="CppUnion-viewvalues"><strong>viewvalues</strong></a>(...)</dt><dd><tt>D.<a href="#CppUnion-viewvalues">viewvalues</a>() -> an <a href="__builtin__.html#object">object</a> providing a view on D's values</tt></dd></dl> |
| 901 | |
| 902 | <hr> |
| 903 | Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> |
| 904 | <dl><dt><strong>__hash__</strong> = None</dl> |
| 905 | |
| 906 | <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#CppUnion-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> |
| 907 | |
| 908 | </td></tr></table> <p> |
| 909 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 910 | <tr bgcolor="#ffc8d8"> |
| 911 | <td colspan=3 valign=bottom> <br> |
| 912 | <font color="#000000" face="helvetica, arial"><a name="CppVariable">class <strong>CppVariable</strong></a>(<a href="CppHeaderParser.html#_CppVariable">_CppVariable</a>)</font></td></tr> |
| 913 | |
| 914 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 915 | <td colspan=2><tt>Takes a name stack and turns it into a method<br> |
| 916 | <br> |
| 917 | Contains the following Keys:<br> |
| 918 | self['type'] - Type for the variable (ex. "const string &")<br> |
| 919 | self['name'] - Name of the variable (ex. "numItems")<br> |
| 920 | self['namespace'] - Namespace containing the enum<br> |
| 921 | self['desc'] - Description of the variable if part of a method (optional)<br> |
| 922 | self['doxygen'] - Doxygen comments associated with the method if they exist<br> |
| 923 | self['defaultValue'] - Default value of the variable, this key will only<br> |
| 924 | exist if there is a default value<br> |
| 925 | self['extern'] - True if its an extern, false if not<br> </tt></td></tr> |
| 926 | <tr><td> </td> |
| 927 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 928 | <dd><a href="CppHeaderParser.html#CppVariable">CppVariable</a></dd> |
| 929 | <dd><a href="CppHeaderParser.html#_CppVariable">_CppVariable</a></dd> |
| 930 | <dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd> |
| 931 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 932 | </dl> |
| 933 | <hr> |
| 934 | Methods defined here:<br> |
| 935 | <dl><dt><a name="CppVariable-__init__"><strong>__init__</strong></a>(self, nameStack, **kwargs)</dt></dl> |
| 936 | |
| 937 | <dl><dt><a name="CppVariable-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| 938 | |
| 939 | <hr> |
| 940 | Data and other attributes defined here:<br> |
| 941 | <dl><dt><strong>Vars</strong> = []</dl> |
| 942 | |
| 943 | <hr> |
| 944 | Methods inherited from <a href="CppHeaderParser.html#_CppVariable">_CppVariable</a>:<br> |
| 945 | <dl><dt><a name="CppVariable-init"><strong>init</strong></a>(self)</dt></dl> |
| 946 | |
| 947 | <hr> |
| 948 | Data descriptors inherited from <a href="CppHeaderParser.html#_CppVariable">_CppVariable</a>:<br> |
| 949 | <dl><dt><strong>__dict__</strong></dt> |
| 950 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 951 | </dl> |
| 952 | <dl><dt><strong>__weakref__</strong></dt> |
| 953 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 954 | </dl> |
| 955 | <hr> |
| 956 | Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> |
| 957 | <dl><dt><a name="CppVariable-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl> |
| 958 | |
| 959 | <dl><dt><a name="CppVariable-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-__contains__">__contains__</a>(k) -> True if D has a key k, else False</tt></dd></dl> |
| 960 | |
| 961 | <dl><dt><a name="CppVariable-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl> |
| 962 | |
| 963 | <dl><dt><a name="CppVariable-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl> |
| 964 | |
| 965 | <dl><dt><a name="CppVariable-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl> |
| 966 | |
| 967 | <dl><dt><a name="CppVariable-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 968 | |
| 969 | <dl><dt><a name="CppVariable-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
| 970 | |
| 971 | <dl><dt><a name="CppVariable-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl> |
| 972 | |
| 973 | <dl><dt><a name="CppVariable-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl> |
| 974 | |
| 975 | <dl><dt><a name="CppVariable-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl> |
| 976 | |
| 977 | <dl><dt><a name="CppVariable-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__len__">__len__</a>() <==> len(x)</tt></dd></dl> |
| 978 | |
| 979 | <dl><dt><a name="CppVariable-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl> |
| 980 | |
| 981 | <dl><dt><a name="CppVariable-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl> |
| 982 | |
| 983 | <dl><dt><a name="CppVariable-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 984 | |
| 985 | <dl><dt><a name="CppVariable-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CppVariable-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl> |
| 986 | |
| 987 | <dl><dt><a name="CppVariable-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-__sizeof__">__sizeof__</a>() -> size of D in memory, in bytes</tt></dd></dl> |
| 988 | |
| 989 | <dl><dt><a name="CppVariable-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl> |
| 990 | |
| 991 | <dl><dt><a name="CppVariable-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-copy">copy</a>() -> a shallow copy of D</tt></dd></dl> |
| 992 | |
| 993 | <dl><dt><a name="CppVariable-fromkeys"><strong>fromkeys</strong></a>(...)</dt><dd><tt><a href="__builtin__.html#dict">dict</a>.<a href="#CppVariable-fromkeys">fromkeys</a>(S[,v]) -> New <a href="__builtin__.html#dict">dict</a> with keys from S and values equal to v.<br> |
| 994 | v defaults to None.</tt></dd></dl> |
| 995 | |
| 996 | <dl><dt><a name="CppVariable-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl> |
| 997 | |
| 998 | <dl><dt><a name="CppVariable-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl> |
| 999 | |
| 1000 | <dl><dt><a name="CppVariable-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl> |
| 1001 | |
| 1002 | <dl><dt><a name="CppVariable-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl> |
| 1003 | |
| 1004 | <dl><dt><a name="CppVariable-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl> |
| 1005 | |
| 1006 | <dl><dt><a name="CppVariable-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl> |
| 1007 | |
| 1008 | <dl><dt><a name="CppVariable-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-keys">keys</a>() -> list of D's keys</tt></dd></dl> |
| 1009 | |
| 1010 | <dl><dt><a name="CppVariable-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value.<br> |
| 1011 | If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl> |
| 1012 | |
| 1013 | <dl><dt><a name="CppVariable-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br> |
| 1014 | 2-tuple; but raise KeyError if D is empty.</tt></dd></dl> |
| 1015 | |
| 1016 | <dl><dt><a name="CppVariable-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-setdefault">setdefault</a>(k[,d]) -> D.<a href="#CppVariable-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl> |
| 1017 | |
| 1018 | <dl><dt><a name="CppVariable-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-update">update</a>([E, ]**F) -> None. Update D from <a href="__builtin__.html#dict">dict</a>/iterable E and F.<br> |
| 1019 | If E present and has a .<a href="#CppVariable-keys">keys</a>() method, does: for k in E: D[k] = E[k]<br> |
| 1020 | If E present and lacks .<a href="#CppVariable-keys">keys</a>() method, does: for (k, v) in E: D[k] = v<br> |
| 1021 | In either case, this is followed by: for k in F: D[k] = F[k]</tt></dd></dl> |
| 1022 | |
| 1023 | <dl><dt><a name="CppVariable-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-values">values</a>() -> list of D's values</tt></dd></dl> |
| 1024 | |
| 1025 | <dl><dt><a name="CppVariable-viewitems"><strong>viewitems</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-viewitems">viewitems</a>() -> a set-like <a href="__builtin__.html#object">object</a> providing a view on D's items</tt></dd></dl> |
| 1026 | |
| 1027 | <dl><dt><a name="CppVariable-viewkeys"><strong>viewkeys</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-viewkeys">viewkeys</a>() -> a set-like <a href="__builtin__.html#object">object</a> providing a view on D's keys</tt></dd></dl> |
| 1028 | |
| 1029 | <dl><dt><a name="CppVariable-viewvalues"><strong>viewvalues</strong></a>(...)</dt><dd><tt>D.<a href="#CppVariable-viewvalues">viewvalues</a>() -> an <a href="__builtin__.html#object">object</a> providing a view on D's values</tt></dd></dl> |
| 1030 | |
| 1031 | <hr> |
| 1032 | Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> |
| 1033 | <dl><dt><strong>__hash__</strong> = None</dl> |
| 1034 | |
| 1035 | <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#CppVariable-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> |
| 1036 | |
| 1037 | </td></tr></table> <p> |
| 1038 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 1039 | <tr bgcolor="#ffc8d8"> |
| 1040 | <td colspan=3 valign=bottom> <br> |
| 1041 | <font color="#000000" face="helvetica, arial"><a name="Resolver">class <strong>Resolver</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> |
| 1042 | |
| 1043 | <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| 1044 | <td width="100%">Methods defined here:<br> |
| 1045 | <dl><dt><a name="Resolver-concrete_typedef"><strong>concrete_typedef</strong></a>(self, key)</dt></dl> |
| 1046 | |
| 1047 | <dl><dt><a name="Resolver-cur_namespace"><strong>cur_namespace</strong></a>(self, add_double_colon<font color="#909090">=False</font>)</dt></dl> |
| 1048 | |
| 1049 | <dl><dt><a name="Resolver-current_namespace"><strong>current_namespace</strong></a>(self)</dt></dl> |
| 1050 | |
| 1051 | <dl><dt><a name="Resolver-finalize_vars"><strong>finalize_vars</strong></a>(self)</dt></dl> |
| 1052 | |
| 1053 | <dl><dt><a name="Resolver-guess_ctypes_type"><strong>guess_ctypes_type</strong></a>(self, string)</dt></dl> |
| 1054 | |
| 1055 | <dl><dt><a name="Resolver-initextra"><strong>initextra</strong></a>(self)</dt></dl> |
| 1056 | |
| 1057 | <dl><dt><a name="Resolver-resolve_type"><strong>resolve_type</strong></a>(self, string, result)</dt><dd><tt>keeps track of useful things like: how many pointers, number of typedefs, is fundamental or a class, etc...</tt></dd></dl> |
| 1058 | |
| 1059 | <hr> |
| 1060 | Data descriptors defined here:<br> |
| 1061 | <dl><dt><strong>__dict__</strong></dt> |
| 1062 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 1063 | </dl> |
| 1064 | <dl><dt><strong>__weakref__</strong></dt> |
| 1065 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 1066 | </dl> |
| 1067 | <hr> |
| 1068 | Data and other attributes defined here:<br> |
| 1069 | <dl><dt><strong>CLASSES</strong> = {}</dl> |
| 1070 | |
| 1071 | <dl><dt><strong>C_FUNDAMENTAL</strong> = ['size_t', 'unsigned', 'signed', 'bool', 'char', 'wchar', 'short', 'int', 'float', 'double', 'long', 'void', 'struct', 'union', 'enum']</dl> |
| 1072 | |
| 1073 | <dl><dt><strong>NAMESPACES</strong> = []</dl> |
| 1074 | |
| 1075 | <dl><dt><strong>STRUCTS</strong> = {}</dl> |
| 1076 | |
| 1077 | <dl><dt><strong>SubTypedefs</strong> = {}</dl> |
| 1078 | |
| 1079 | </td></tr></table> <p> |
| 1080 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 1081 | <tr bgcolor="#ffc8d8"> |
| 1082 | <td colspan=3 valign=bottom> <br> |
| 1083 | <font color="#000000" face="helvetica, arial"><a name="TagStr">class <strong>TagStr</strong></a>(<a href="__builtin__.html#str">__builtin__.str</a>)</font></td></tr> |
| 1084 | |
| 1085 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 1086 | <td colspan=2><tt>Wrapper for a string that allows us to store the line number associated with it<br> </tt></td></tr> |
| 1087 | <tr><td> </td> |
| 1088 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 1089 | <dd><a href="CppHeaderParser.html#TagStr">TagStr</a></dd> |
| 1090 | <dd><a href="__builtin__.html#str">__builtin__.str</a></dd> |
| 1091 | <dd><a href="__builtin__.html#basestring">__builtin__.basestring</a></dd> |
| 1092 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 1093 | </dl> |
| 1094 | <hr> |
| 1095 | Methods defined here:<br> |
| 1096 | <dl><dt><a name="TagStr-__del__"><strong>__del__</strong></a>(self)</dt></dl> |
| 1097 | |
| 1098 | <dl><dt><a name="TagStr-lineno"><strong>lineno</strong></a>(self)</dt></dl> |
| 1099 | |
| 1100 | <hr> |
| 1101 | Static methods defined here:<br> |
| 1102 | <dl><dt><a name="TagStr-__new__"><strong>__new__</strong></a>(cls, *args, **kw)</dt></dl> |
| 1103 | |
| 1104 | <hr> |
| 1105 | Data descriptors defined here:<br> |
| 1106 | <dl><dt><strong>__dict__</strong></dt> |
| 1107 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 1108 | </dl> |
| 1109 | <hr> |
| 1110 | Data and other attributes defined here:<br> |
| 1111 | <dl><dt><strong>lineno_reg</strong> = {}</dl> |
| 1112 | |
| 1113 | <hr> |
| 1114 | Methods inherited from <a href="__builtin__.html#str">__builtin__.str</a>:<br> |
| 1115 | <dl><dt><a name="TagStr-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__add__">__add__</a>(y) <==> x+y</tt></dd></dl> |
| 1116 | |
| 1117 | <dl><dt><a name="TagStr-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__contains__">__contains__</a>(y) <==> y in x</tt></dd></dl> |
| 1118 | |
| 1119 | <dl><dt><a name="TagStr-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl> |
| 1120 | |
| 1121 | <dl><dt><a name="TagStr-__format__"><strong>__format__</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-__format__">__format__</a>(format_spec) -> string<br> |
| 1122 | <br> |
| 1123 | Return a formatted version of S as described by format_spec.</tt></dd></dl> |
| 1124 | |
| 1125 | <dl><dt><a name="TagStr-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl> |
| 1126 | |
| 1127 | <dl><dt><a name="TagStr-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 1128 | |
| 1129 | <dl><dt><a name="TagStr-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
| 1130 | |
| 1131 | <dl><dt><a name="TagStr-__getnewargs__"><strong>__getnewargs__</strong></a>(...)</dt></dl> |
| 1132 | |
| 1133 | <dl><dt><a name="TagStr-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> |
| 1134 | <br> |
| 1135 | Use of negative indices is not supported.</tt></dd></dl> |
| 1136 | |
| 1137 | <dl><dt><a name="TagStr-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl> |
| 1138 | |
| 1139 | <dl><dt><a name="TagStr-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__hash__">__hash__</a>() <==> hash(x)</tt></dd></dl> |
| 1140 | |
| 1141 | <dl><dt><a name="TagStr-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl> |
| 1142 | |
| 1143 | <dl><dt><a name="TagStr-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__len__">__len__</a>() <==> len(x)</tt></dd></dl> |
| 1144 | |
| 1145 | <dl><dt><a name="TagStr-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl> |
| 1146 | |
| 1147 | <dl><dt><a name="TagStr-__mod__"><strong>__mod__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__mod__">__mod__</a>(y) <==> x%y</tt></dd></dl> |
| 1148 | |
| 1149 | <dl><dt><a name="TagStr-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__mul__">__mul__</a>(n) <==> x*n</tt></dd></dl> |
| 1150 | |
| 1151 | <dl><dt><a name="TagStr-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl> |
| 1152 | |
| 1153 | <dl><dt><a name="TagStr-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 1154 | |
| 1155 | <dl><dt><a name="TagStr-__rmod__"><strong>__rmod__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__rmod__">__rmod__</a>(y) <==> y%x</tt></dd></dl> |
| 1156 | |
| 1157 | <dl><dt><a name="TagStr-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__rmul__">__rmul__</a>(n) <==> n*x</tt></dd></dl> |
| 1158 | |
| 1159 | <dl><dt><a name="TagStr-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-__sizeof__">__sizeof__</a>() -> size of S in memory, in bytes</tt></dd></dl> |
| 1160 | |
| 1161 | <dl><dt><a name="TagStr-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#TagStr-__str__">__str__</a>() <==> <a href="__builtin__.html#str">str</a>(x)</tt></dd></dl> |
| 1162 | |
| 1163 | <dl><dt><a name="TagStr-capitalize"><strong>capitalize</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-capitalize">capitalize</a>() -> string<br> |
| 1164 | <br> |
| 1165 | Return a copy of the string S with only its first character<br> |
| 1166 | capitalized.</tt></dd></dl> |
| 1167 | |
| 1168 | <dl><dt><a name="TagStr-center"><strong>center</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-center">center</a>(width[, fillchar]) -> string<br> |
| 1169 | <br> |
| 1170 | Return S centered in a string of length width. Padding is<br> |
| 1171 | done using the specified fill character (default is a space)</tt></dd></dl> |
| 1172 | |
| 1173 | <dl><dt><a name="TagStr-count"><strong>count</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-count">count</a>(sub[, start[, end]]) -> int<br> |
| 1174 | <br> |
| 1175 | Return the number of non-overlapping occurrences of substring sub in<br> |
| 1176 | string S[start:end]. Optional arguments start and end are interpreted<br> |
| 1177 | as in slice notation.</tt></dd></dl> |
| 1178 | |
| 1179 | <dl><dt><a name="TagStr-decode"><strong>decode</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-decode">decode</a>([encoding[,errors]]) -> <a href="__builtin__.html#object">object</a><br> |
| 1180 | <br> |
| 1181 | Decodes S using the codec registered for encoding. encoding defaults<br> |
| 1182 | to the default encoding. errors may be given to set a different error<br> |
| 1183 | handling scheme. Default is 'strict' meaning that encoding errors raise<br> |
| 1184 | a UnicodeDecodeError. Other possible values are 'ignore' and 'replace'<br> |
| 1185 | as well as any other name registered with codecs.register_error that is<br> |
| 1186 | able to handle UnicodeDecodeErrors.</tt></dd></dl> |
| 1187 | |
| 1188 | <dl><dt><a name="TagStr-encode"><strong>encode</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-encode">encode</a>([encoding[,errors]]) -> <a href="__builtin__.html#object">object</a><br> |
| 1189 | <br> |
| 1190 | Encodes S using the codec registered for encoding. encoding defaults<br> |
| 1191 | to the default encoding. errors may be given to set a different error<br> |
| 1192 | handling scheme. Default is 'strict' meaning that encoding errors raise<br> |
| 1193 | a UnicodeEncodeError. Other possible values are 'ignore', 'replace' and<br> |
| 1194 | 'xmlcharrefreplace' as well as any other name registered with<br> |
| 1195 | codecs.register_error that is able to handle UnicodeEncodeErrors.</tt></dd></dl> |
| 1196 | |
| 1197 | <dl><dt><a name="TagStr-endswith"><strong>endswith</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-endswith">endswith</a>(suffix[, start[, end]]) -> bool<br> |
| 1198 | <br> |
| 1199 | Return True if S ends with the specified suffix, False otherwise.<br> |
| 1200 | With optional start, test S beginning at that position.<br> |
| 1201 | With optional end, stop comparing S at that position.<br> |
| 1202 | suffix can also be a tuple of strings to try.</tt></dd></dl> |
| 1203 | |
| 1204 | <dl><dt><a name="TagStr-expandtabs"><strong>expandtabs</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-expandtabs">expandtabs</a>([tabsize]) -> string<br> |
| 1205 | <br> |
| 1206 | Return a copy of S where all tab characters are expanded using spaces.<br> |
| 1207 | If tabsize is not given, a tab size of 8 characters is assumed.</tt></dd></dl> |
| 1208 | |
| 1209 | <dl><dt><a name="TagStr-find"><strong>find</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-find">find</a>(sub [,start [,end]]) -> int<br> |
| 1210 | <br> |
| 1211 | Return the lowest index in S where substring sub is found,<br> |
| 1212 | such that sub is contained within S[start:end]. Optional<br> |
| 1213 | arguments start and end are interpreted as in slice notation.<br> |
| 1214 | <br> |
| 1215 | Return -1 on failure.</tt></dd></dl> |
| 1216 | |
| 1217 | <dl><dt><a name="TagStr-format"><strong>format</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-format">format</a>(*args, **kwargs) -> string<br> |
| 1218 | <br> |
| 1219 | Return a formatted version of S, using substitutions from args and kwargs.<br> |
| 1220 | The substitutions are identified by braces ('{' and '}').</tt></dd></dl> |
| 1221 | |
| 1222 | <dl><dt><a name="TagStr-index"><strong>index</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-index">index</a>(sub [,start [,end]]) -> int<br> |
| 1223 | <br> |
| 1224 | Like S.<a href="#TagStr-find">find</a>() but raise ValueError when the substring is not found.</tt></dd></dl> |
| 1225 | |
| 1226 | <dl><dt><a name="TagStr-isalnum"><strong>isalnum</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-isalnum">isalnum</a>() -> bool<br> |
| 1227 | <br> |
| 1228 | Return True if all characters in S are alphanumeric<br> |
| 1229 | and there is at least one character in S, False otherwise.</tt></dd></dl> |
| 1230 | |
| 1231 | <dl><dt><a name="TagStr-isalpha"><strong>isalpha</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-isalpha">isalpha</a>() -> bool<br> |
| 1232 | <br> |
| 1233 | Return True if all characters in S are alphabetic<br> |
| 1234 | and there is at least one character in S, False otherwise.</tt></dd></dl> |
| 1235 | |
| 1236 | <dl><dt><a name="TagStr-isdigit"><strong>isdigit</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-isdigit">isdigit</a>() -> bool<br> |
| 1237 | <br> |
| 1238 | Return True if all characters in S are digits<br> |
| 1239 | and there is at least one character in S, False otherwise.</tt></dd></dl> |
| 1240 | |
| 1241 | <dl><dt><a name="TagStr-islower"><strong>islower</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-islower">islower</a>() -> bool<br> |
| 1242 | <br> |
| 1243 | Return True if all cased characters in S are lowercase and there is<br> |
| 1244 | at least one cased character in S, False otherwise.</tt></dd></dl> |
| 1245 | |
| 1246 | <dl><dt><a name="TagStr-isspace"><strong>isspace</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-isspace">isspace</a>() -> bool<br> |
| 1247 | <br> |
| 1248 | Return True if all characters in S are whitespace<br> |
| 1249 | and there is at least one character in S, False otherwise.</tt></dd></dl> |
| 1250 | |
| 1251 | <dl><dt><a name="TagStr-istitle"><strong>istitle</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-istitle">istitle</a>() -> bool<br> |
| 1252 | <br> |
| 1253 | Return True if S is a titlecased string and there is at least one<br> |
| 1254 | character in S, i.e. uppercase characters may only follow uncased<br> |
| 1255 | characters and lowercase characters only cased ones. Return False<br> |
| 1256 | otherwise.</tt></dd></dl> |
| 1257 | |
| 1258 | <dl><dt><a name="TagStr-isupper"><strong>isupper</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-isupper">isupper</a>() -> bool<br> |
| 1259 | <br> |
| 1260 | Return True if all cased characters in S are uppercase and there is<br> |
| 1261 | at least one cased character in S, False otherwise.</tt></dd></dl> |
| 1262 | |
| 1263 | <dl><dt><a name="TagStr-join"><strong>join</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-join">join</a>(iterable) -> string<br> |
| 1264 | <br> |
| 1265 | Return a string which is the concatenation of the strings in the<br> |
| 1266 | iterable. The separator between elements is S.</tt></dd></dl> |
| 1267 | |
| 1268 | <dl><dt><a name="TagStr-ljust"><strong>ljust</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-ljust">ljust</a>(width[, fillchar]) -> string<br> |
| 1269 | <br> |
| 1270 | Return S left-justified in a string of length width. Padding is<br> |
| 1271 | done using the specified fill character (default is a space).</tt></dd></dl> |
| 1272 | |
| 1273 | <dl><dt><a name="TagStr-lower"><strong>lower</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-lower">lower</a>() -> string<br> |
| 1274 | <br> |
| 1275 | Return a copy of the string S converted to lowercase.</tt></dd></dl> |
| 1276 | |
| 1277 | <dl><dt><a name="TagStr-lstrip"><strong>lstrip</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-lstrip">lstrip</a>([chars]) -> string or unicode<br> |
| 1278 | <br> |
| 1279 | Return a copy of the string S with leading whitespace removed.<br> |
| 1280 | If chars is given and not None, remove characters in chars instead.<br> |
| 1281 | If chars is unicode, S will be converted to unicode before stripping</tt></dd></dl> |
| 1282 | |
| 1283 | <dl><dt><a name="TagStr-partition"><strong>partition</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-partition">partition</a>(sep) -> (head, sep, tail)<br> |
| 1284 | <br> |
| 1285 | Search for the separator sep in S, and return the part before it,<br> |
| 1286 | the separator itself, and the part after it. If the separator is not<br> |
| 1287 | found, return S and two empty strings.</tt></dd></dl> |
| 1288 | |
| 1289 | <dl><dt><a name="TagStr-replace"><strong>replace</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-replace">replace</a>(old, new[, count]) -> string<br> |
| 1290 | <br> |
| 1291 | Return a copy of string S with all occurrences of substring<br> |
| 1292 | old replaced by new. If the optional argument count is<br> |
| 1293 | given, only the first count occurrences are replaced.</tt></dd></dl> |
| 1294 | |
| 1295 | <dl><dt><a name="TagStr-rfind"><strong>rfind</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-rfind">rfind</a>(sub [,start [,end]]) -> int<br> |
| 1296 | <br> |
| 1297 | Return the highest index in S where substring sub is found,<br> |
| 1298 | such that sub is contained within S[start:end]. Optional<br> |
| 1299 | arguments start and end are interpreted as in slice notation.<br> |
| 1300 | <br> |
| 1301 | Return -1 on failure.</tt></dd></dl> |
| 1302 | |
| 1303 | <dl><dt><a name="TagStr-rindex"><strong>rindex</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-rindex">rindex</a>(sub [,start [,end]]) -> int<br> |
| 1304 | <br> |
| 1305 | Like S.<a href="#TagStr-rfind">rfind</a>() but raise ValueError when the substring is not found.</tt></dd></dl> |
| 1306 | |
| 1307 | <dl><dt><a name="TagStr-rjust"><strong>rjust</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-rjust">rjust</a>(width[, fillchar]) -> string<br> |
| 1308 | <br> |
| 1309 | Return S right-justified in a string of length width. Padding is<br> |
| 1310 | done using the specified fill character (default is a space)</tt></dd></dl> |
| 1311 | |
| 1312 | <dl><dt><a name="TagStr-rpartition"><strong>rpartition</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-rpartition">rpartition</a>(sep) -> (head, sep, tail)<br> |
| 1313 | <br> |
| 1314 | Search for the separator sep in S, starting at the end of S, and return<br> |
| 1315 | the part before it, the separator itself, and the part after it. If the<br> |
| 1316 | separator is not found, return two empty strings and S.</tt></dd></dl> |
| 1317 | |
| 1318 | <dl><dt><a name="TagStr-rsplit"><strong>rsplit</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-rsplit">rsplit</a>([sep [,maxsplit]]) -> list of strings<br> |
| 1319 | <br> |
| 1320 | Return a list of the words in the string S, using sep as the<br> |
| 1321 | delimiter string, starting at the end of the string and working<br> |
| 1322 | to the front. If maxsplit is given, at most maxsplit splits are<br> |
| 1323 | done. If sep is not specified or is None, any whitespace string<br> |
| 1324 | is a separator.</tt></dd></dl> |
| 1325 | |
| 1326 | <dl><dt><a name="TagStr-rstrip"><strong>rstrip</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-rstrip">rstrip</a>([chars]) -> string or unicode<br> |
| 1327 | <br> |
| 1328 | Return a copy of the string S with trailing whitespace removed.<br> |
| 1329 | If chars is given and not None, remove characters in chars instead.<br> |
| 1330 | If chars is unicode, S will be converted to unicode before stripping</tt></dd></dl> |
| 1331 | |
| 1332 | <dl><dt><a name="TagStr-split"><strong>split</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-split">split</a>([sep [,maxsplit]]) -> list of strings<br> |
| 1333 | <br> |
| 1334 | Return a list of the words in the string S, using sep as the<br> |
| 1335 | delimiter string. If maxsplit is given, at most maxsplit<br> |
| 1336 | splits are done. If sep is not specified or is None, any<br> |
| 1337 | whitespace string is a separator and empty strings are removed<br> |
| 1338 | from the result.</tt></dd></dl> |
| 1339 | |
| 1340 | <dl><dt><a name="TagStr-splitlines"><strong>splitlines</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-splitlines">splitlines</a>(keepends=False) -> list of strings<br> |
| 1341 | <br> |
| 1342 | Return a list of the lines in S, breaking at line boundaries.<br> |
| 1343 | Line breaks are not included in the resulting list unless keepends<br> |
| 1344 | is given and true.</tt></dd></dl> |
| 1345 | |
| 1346 | <dl><dt><a name="TagStr-startswith"><strong>startswith</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-startswith">startswith</a>(prefix[, start[, end]]) -> bool<br> |
| 1347 | <br> |
| 1348 | Return True if S starts with the specified prefix, False otherwise.<br> |
| 1349 | With optional start, test S beginning at that position.<br> |
| 1350 | With optional end, stop comparing S at that position.<br> |
| 1351 | prefix can also be a tuple of strings to try.</tt></dd></dl> |
| 1352 | |
| 1353 | <dl><dt><a name="TagStr-strip"><strong>strip</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-strip">strip</a>([chars]) -> string or unicode<br> |
| 1354 | <br> |
| 1355 | Return a copy of the string S with leading and trailing<br> |
| 1356 | whitespace removed.<br> |
| 1357 | If chars is given and not None, remove characters in chars instead.<br> |
| 1358 | If chars is unicode, S will be converted to unicode before stripping</tt></dd></dl> |
| 1359 | |
| 1360 | <dl><dt><a name="TagStr-swapcase"><strong>swapcase</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-swapcase">swapcase</a>() -> string<br> |
| 1361 | <br> |
| 1362 | Return a copy of the string S with uppercase characters<br> |
| 1363 | converted to lowercase and vice versa.</tt></dd></dl> |
| 1364 | |
| 1365 | <dl><dt><a name="TagStr-title"><strong>title</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-title">title</a>() -> string<br> |
| 1366 | <br> |
| 1367 | Return a titlecased version of S, i.e. words start with uppercase<br> |
| 1368 | characters, all remaining cased characters have lowercase.</tt></dd></dl> |
| 1369 | |
| 1370 | <dl><dt><a name="TagStr-translate"><strong>translate</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-translate">translate</a>(table [,deletechars]) -> string<br> |
| 1371 | <br> |
| 1372 | Return a copy of the string S, where all characters occurring<br> |
| 1373 | in the optional argument deletechars are removed, and the<br> |
| 1374 | remaining characters have been mapped through the given<br> |
| 1375 | translation table, which must be a string of length 256 or None.<br> |
| 1376 | If the table argument is None, no translation is applied and<br> |
| 1377 | the operation simply removes the characters in deletechars.</tt></dd></dl> |
| 1378 | |
| 1379 | <dl><dt><a name="TagStr-upper"><strong>upper</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-upper">upper</a>() -> string<br> |
| 1380 | <br> |
| 1381 | Return a copy of the string S converted to uppercase.</tt></dd></dl> |
| 1382 | |
| 1383 | <dl><dt><a name="TagStr-zfill"><strong>zfill</strong></a>(...)</dt><dd><tt>S.<a href="#TagStr-zfill">zfill</a>(width) -> string<br> |
| 1384 | <br> |
| 1385 | Pad a numeric string S with zeros on the left, to fill a field<br> |
| 1386 | of the specified width. The string S is never truncated.</tt></dd></dl> |
| 1387 | |
| 1388 | </td></tr></table></td></tr></table><p> |
| 1389 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 1390 | <tr bgcolor="#eeaa77"> |
| 1391 | <td colspan=3 valign=bottom> <br> |
| 1392 | <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> |
| 1393 | |
| 1394 | <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> |
| 1395 | <td width="100%"><dl><dt><a name="-debug_print"><strong>debug_print</strong></a>(arg)</dt></dl> |
| 1396 | <dl><dt><a name="-detect_lineno"><strong>detect_lineno</strong></a>(s)</dt><dd><tt>Detect the line number for a given token string</tt></dd></dl> |
| 1397 | <dl><dt><a name="-error_print"><strong>error_print</strong></a>(arg)</dt></dl> |
| 1398 | <dl><dt><a name="-filter_out_attribute_keyword"><strong>filter_out_attribute_keyword</strong></a>(stack)</dt><dd><tt>Strips __attribute__ and its parenthetical expression from the stack</tt></dd></dl> |
| 1399 | <dl><dt><a name="-is_enum_namestack"><strong>is_enum_namestack</strong></a>(nameStack)</dt><dd><tt>Determines if a namestack is an enum namestack</tt></dd></dl> |
| 1400 | <dl><dt><a name="-is_function_pointer_stack"><strong>is_function_pointer_stack</strong></a>(stack)</dt><dd><tt>Count how many non-nested paranthesis are in the stack. Useful for determining if a stack is a function pointer</tt></dd></dl> |
| 1401 | <dl><dt><a name="-is_fundamental"><strong>is_fundamental</strong></a>(s)</dt></dl> |
| 1402 | <dl><dt><a name="-is_method_namestack"><strong>is_method_namestack</strong></a>(stack)</dt></dl> |
| 1403 | <dl><dt><a name="-is_namespace"><strong>is_namespace</strong></a>(nameStack)</dt><dd><tt>Determines if a namespace is being specified</tt></dd></dl> |
| 1404 | <dl><dt><a name="-is_property_namestack"><strong>is_property_namestack</strong></a>(nameStack)</dt></dl> |
| 1405 | <dl><dt><a name="-lineno"><strong>lineno</strong></a>()</dt><dd><tt>Returns the current line number in our program.</tt></dd></dl> |
| 1406 | <dl><dt><a name="-standardize_fundamental"><strong>standardize_fundamental</strong></a>(s)</dt></dl> |
| 1407 | <dl><dt><a name="-t_COMMENT_MULTILINE"><strong>t_COMMENT_MULTILINE</strong></a>(t)</dt><dd><tt>/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/</tt></dd></dl> |
| 1408 | <dl><dt><a name="-t_COMMENT_SINGLELINE"><strong>t_COMMENT_SINGLELINE</strong></a>(t)</dt><dd><tt>\/\/.*\n</tt></dd></dl> |
| 1409 | <dl><dt><a name="-t_NEWLINE"><strong>t_NEWLINE</strong></a>(t)</dt><dd><tt>\n+</tt></dd></dl> |
| 1410 | <dl><dt><a name="-t_error"><strong>t_error</strong></a>(v)</dt></dl> |
| 1411 | <dl><dt><a name="-trace_print"><strong>trace_print</strong></a>(*arg)</dt></dl> |
| 1412 | <dl><dt><a name="-warning_print"><strong>warning_print</strong></a>(arg)</dt></dl> |
| 1413 | </td></tr></table><p> |
| 1414 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 1415 | <tr bgcolor="#55aa55"> |
| 1416 | <td colspan=3 valign=bottom> <br> |
| 1417 | <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> |
| 1418 | |
| 1419 | <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> |
| 1420 | <td width="100%"><strong>C99_NONSTANDARD</strong> = {'int16': 'short int', 'int32': 'int', 'int64': 'int64_t', 'int8': 'signed char', 'uint': 'unsigned int', 'uint16': 'unsigned short int', 'uint32': 'unsigned int', 'uint64': 'uint64_t', 'uint8': 'unsigned char'}<br> |
| 1421 | <strong>__version__</strong> = '2.7.4'<br> |
| 1422 | <strong>debug</strong> = 0<br> |
| 1423 | <strong>debug_trace</strong> = 0<br> |
| 1424 | <strong>doxygenCommentCache</strong> = ''<br> |
| 1425 | <strong>ignoreSymbols</strong> = ['Q_OBJECT']<br> |
| 1426 | <strong>parseHistory</strong> = []<br> |
| 1427 | <strong>print_errors</strong> = 1<br> |
| 1428 | <strong>print_warnings</strong> = 1<br> |
| 1429 | <strong>supportedAccessSpecifier</strong> = ['public', 'protected', 'private']<br> |
| 1430 | <strong>t_AMPERSTAND</strong> = '&'<br> |
| 1431 | <strong>t_ASTERISK</strong> = r'\*'<br> |
| 1432 | <strong>t_BACKSLASH</strong> = r'\\'<br> |
| 1433 | <strong>t_CARET</strong> = r'\^'<br> |
| 1434 | <strong>t_CHAR_LITERAL</strong> = "'.'"<br> |
| 1435 | <strong>t_CLOSE_BRACE</strong> = '}'<br> |
| 1436 | <strong>t_CLOSE_PAREN</strong> = r'\)'<br> |
| 1437 | <strong>t_CLOSE_SQUARE_BRACKET</strong> = r'\]'<br> |
| 1438 | <strong>t_COLON</strong> = ':'<br> |
| 1439 | <strong>t_COMMA</strong> = ','<br> |
| 1440 | <strong>t_DIVIDE</strong> = '/(?!/)'<br> |
| 1441 | <strong>t_EQUALS</strong> = '='<br> |
| 1442 | <strong>t_EXCLAMATION</strong> = '!'<br> |
| 1443 | <strong>t_FLOAT_NUMBER</strong> = r'[-+]?[0-9]*\.[0-9]+([eE][-+]?[0-9]+)?'<br> |
| 1444 | <strong>t_MINUS</strong> = r'\-'<br> |
| 1445 | <strong>t_NAME</strong> = '[<>A-Za-z_~][A-Za-z0-9_]*'<br> |
| 1446 | <strong>t_NUMBER</strong> = '[0-9][0-9XxA-Fa-f]*'<br> |
| 1447 | <strong>t_OPEN_BRACE</strong> = '{'<br> |
| 1448 | <strong>t_OPEN_PAREN</strong> = r'\('<br> |
| 1449 | <strong>t_OPEN_SQUARE_BRACKET</strong> = r'\['<br> |
| 1450 | <strong>t_PERCENT</strong> = '%'<br> |
| 1451 | <strong>t_PIPE</strong> = r'\|'<br> |
| 1452 | <strong>t_PLUS</strong> = r'\+'<br> |
| 1453 | <strong>t_PRECOMP_MACRO</strong> = r'\#.*'<br> |
| 1454 | <strong>t_PRECOMP_MACRO_CONT</strong> = r'.*\\\n'<br> |
| 1455 | <strong>t_SEMI_COLON</strong> = ';'<br> |
| 1456 | <strong>t_SQUOTE</strong> = "'"<br> |
| 1457 | <strong>t_STRING_LITERAL</strong> = r'"([^"\\]|\\.)*"'<br> |
| 1458 | <strong>t_TAB</strong> = r'\t'<br> |
| 1459 | <strong>t_TEMPLATE_NAME</strong> = 'CppHeaderParser_template_[0-9]+'<br> |
| 1460 | <strong>t_ignore</strong> = ' <font color="#c040c0">\r</font>.?@<font color="#c040c0">\x0c</font>'<br> |
| 1461 | <strong>tokens</strong> = ['NUMBER', 'FLOAT_NUMBER', 'TEMPLATE_NAME', 'NAME', 'OPEN_PAREN', 'CLOSE_PAREN', 'OPEN_BRACE', 'CLOSE_BRACE', 'OPEN_SQUARE_BRACKET', 'CLOSE_SQUARE_BRACKET', 'COLON', 'SEMI_COLON', 'COMMA', 'TAB', 'BACKSLASH', 'PIPE', 'PERCENT', 'EXCLAMATION', 'CARET', 'COMMENT_SINGLELINE', ...]<br> |
| 1462 | <strong>version</strong> = '2.7.4'</td></tr></table> |
| 1463 | </body></html> |