| 1135 | } |
| 1136 | |
| 1137 | MField* MClass::GetField(const char* name) const |
| 1138 | { |
| 1139 | GetFields(); |
| 1140 | for (int32 i = 0; i < _fields.Count(); i++) |
| 1141 | { |
| 1142 | if (_fields[i]->GetName() == name) |
| 1143 | return _fields[i]; |
| 1144 | } |
| 1145 | return nullptr; |
| 1146 | } |
| 1147 | |
| 1148 | const Array<MField*, ArenaAllocation>& MClass::GetFields() const |
| 1149 | { |
no test coverage detected