Logo Search packages:      
Sourcecode: icu version File versions  Download package

UnicodeString RuleBasedNumberFormat::getRules ( void   )  const [virtual]

return the rules that were provided to the RuleBasedNumberFormat.

Returns:
the result String that was passed in ICU 2.0

Definition at line 904 of file rbnf.cpp.

References NULL.

Referenced by clone(), and operator=().

{
    UnicodeString result;
    if (ruleSets != NULL) {
        for (NFRuleSet** p = ruleSets; *p; ++p) {
            (*p)->appendRules(result);
        }
    }
    return result;
}


Generated by  Doxygen 1.6.0   Back to index