interface
| 185 | |
| 186 | // interface |
| 187 | int asCObjectType::GetSubTypeId(asUINT subtypeIndex) const |
| 188 | { |
| 189 | // This method is only supported for templates and template specializations |
| 190 | if( templateSubTypes.GetLength() == 0 ) |
| 191 | return asERROR; |
| 192 | |
| 193 | if( subtypeIndex >= templateSubTypes.GetLength() ) |
| 194 | return asINVALID_ARG; |
| 195 | |
| 196 | return engine->GetTypeIdFromDataType(templateSubTypes[subtypeIndex]); |
| 197 | } |
| 198 | |
| 199 | // interface |
| 200 | asITypeInfo *asCObjectType::GetSubType(asUINT subtypeIndex) const |
no test coverage detected