| 1185 | } |
| 1186 | |
| 1187 | MProperty* MClass::GetProperty(const char* name) const |
| 1188 | { |
| 1189 | GetProperties(); |
| 1190 | for (int32 i = 0; i < _properties.Count(); i++) |
| 1191 | { |
| 1192 | if (_properties[i]->GetName() == name) |
| 1193 | return _properties[i]; |
| 1194 | } |
| 1195 | return nullptr; |
| 1196 | } |
| 1197 | |
| 1198 | const Array<MProperty*, ArenaAllocation>& MClass::GetProperties() const |
| 1199 | { |
no test coverage detected