Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

ResourceBundle ResourceBundle::get ( int32_t  index,
UErrorCode status 
) const

Returns the resource in a resource at the specified index.

index an index to the wanted resource.
status fills in the outgoing error code
ResourceBundle object. If there is an error, resource is invalid. ICU 2.0

Definition at line 314 of file resbund.cpp.

References U_SUCCESS.

Referenced by TransliteratorRegistry::findInBundle(), ResourceBundleTest::testTag(), and NewResourceBundleTest::testTag().

    UResourceBundle r;

    ures_getByIndex(fResource, indexR, &r, &status);
    ResourceBundle res(&r, status);
    if (U_SUCCESS(status)) {
    return res;

Generated by  Doxygen 1.6.0   Back to index