Logo Search packages:      
Sourcecode: icu version File versions

UBool CurrencyPluralInfo::operator== ( const CurrencyPluralInfo info ) const

Equal operator.

ICU 4.2

Definition at line 127 of file currpinf.cpp.

Referenced by operator!=().

                                                                   {
#ifdef CURRENCY_PLURAL_INFO_DEBUG
    if (*fPluralRules == *info.fPluralRules) {
        std::cout << "same plural rules\n";
    }
    if (*fLocale == *info.fLocale) {
        std::cout << "same locale\n";
    }
    if (fPluralCountToCurrencyUnitPattern->equals(*info.fPluralCountToCurrencyUnitPattern)) {
        std::cout << "same pattern\n";
    }
#endif
    return *fPluralRules == *info.fPluralRules &&
           *fLocale == *info.fLocale &&
           fPluralCountToCurrencyUnitPattern->equals(*info.fPluralCountToCurrencyUnitPattern);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index