interface
| 369 | |
| 370 | // interface |
| 371 | const char *asCObjectType::GetPropertyDeclaration(asUINT index, bool includeNamespace) const |
| 372 | { |
| 373 | if( index >= properties.GetLength() ) |
| 374 | return 0; |
| 375 | |
| 376 | asCString *tempString = &asCThreadManager::GetLocalData()->string; |
| 377 | if( properties[index]->isPrivate ) |
| 378 | *tempString = "private "; |
| 379 | else if( properties[index]->isProtected ) |
| 380 | *tempString = "protected "; |
| 381 | else |
| 382 | *tempString = ""; |
| 383 | *tempString += properties[index]->type.Format(nameSpace, includeNamespace); |
| 384 | *tempString += " "; |
| 385 | *tempString += properties[index]->name; |
| 386 | |
| 387 | return tempString->AddressOf(); |
| 388 | } |
| 389 | |
| 390 | asITypeInfo *asCObjectType::GetBaseType() const |
| 391 | { |