| 1294 | } |
| 1295 | |
| 1296 | void FillVariableInfo(const ExternTypeInfo& type, char* ptr, HTREEITEM parent, bool update) |
| 1297 | { |
| 1298 | if(&type == &codeTypes[8]) // typeid |
| 1299 | return; |
| 1300 | if(&type == &codeTypes[7]) |
| 1301 | { |
| 1302 | FillAutoInfo(ptr, parent); // auto ref |
| 1303 | return; |
| 1304 | } |
| 1305 | if(&type == &codeTypes[10]) |
| 1306 | { |
| 1307 | FillAutoArrayInfo(ptr, parent); // auto[] |
| 1308 | return; |
| 1309 | } |
| 1310 | |
| 1311 | switch(type.subCat) |
| 1312 | { |
| 1313 | case ExternTypeInfo::CAT_FUNCTION: |
| 1314 | FillFunctionPointerInfo(type, ptr, parent); |
| 1315 | break; |
| 1316 | case ExternTypeInfo::CAT_CLASS: |
| 1317 | FillComplexVariableInfo(type, ptr, parent, update); |
| 1318 | break; |
| 1319 | case ExternTypeInfo::CAT_ARRAY: |
| 1320 | FillArrayVariableInfo(type, ptr, parent, update); |
| 1321 | break; |
| 1322 | } |
| 1323 | } |
| 1324 | |
| 1325 | unsigned int FillVariableInfoTree(bool lastIsCurrent = false) |
| 1326 | { |
no test coverage detected