Re: proposal for ICU4C RuleBasedNumberFormat localization

Markus Scherer <[email protected]> Tue, 05 Oct 2004 16:56:09 -0700
Newsgroups gmane.comp.lib.icu.general
Organization IBM
Message-ID <[email protected]>
Doug Felt wrote:
>   virtual int32_t getNumberOfRuleSetDisplayNameLocales(void) const;
>   virtual Locale getRuleSetDisplayNameLocale(int32_t index, UErrorCode& 
> status) const;

Would it not be better to return an Enumeration for these? We have been going away from the old 
count/get style of returning lists of things. An enumeration of the strings of locale IDs should be 
fine here.

Otherwise, we have standard names for the old-style functions. I think we use "countRuleSet..." 
rather than "getNumberOf..." - see the User Guide.

markus