| 1487 | } |
| 1488 | |
| 1489 | void CppiaClassInfo::GetInstanceFields(hx::Object *inObject, Array<String> &ioFields) |
| 1490 | { |
| 1491 | for(int i=0;i<memberVars.size();i++) |
| 1492 | { |
| 1493 | CppiaVar &var = *memberVars[i]; |
| 1494 | ioFields->push(var.name); |
| 1495 | } |
| 1496 | |
| 1497 | if (inObject) |
| 1498 | { |
| 1499 | hx::FieldMap *map = inObject->__GetFieldMap(); |
| 1500 | if (map) |
| 1501 | FieldMapAppendFields(map, ioFields); |
| 1502 | } |
| 1503 | } |
| 1504 | |
| 1505 | Array<String> CppiaClassInfo::GetClassFields() |
| 1506 | { |
no test coverage detected