mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-17 02:37:25 +00:00
ICU-2031
@draft changed to @stable for APIs prior and inclusive of 1.8.1 X-SVN-Rev: 9406
This commit is contained in:
parent
95db42d3dc
commit
37cd0cf84d
3 changed files with 19 additions and 18 deletions
|
@ -306,7 +306,7 @@ public:
|
|||
* or a collator with the requested version is not available.
|
||||
*
|
||||
* @see getVersion
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
static Collator *createInstance(const Locale &loc, UVersionInfo version, UErrorCode &err);
|
||||
|
||||
|
@ -547,7 +547,7 @@ public:
|
|||
* @param value attribute value
|
||||
* @param status to indicate whether the operation went on smoothly or
|
||||
* there were errors
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
virtual void setAttribute(UColAttribute attr, UColAttributeValue value,
|
||||
UErrorCode &status) = 0;
|
||||
|
@ -558,7 +558,7 @@ public:
|
|||
* @param status to indicate whether the operation went on smoothly or
|
||||
* there were errors
|
||||
* @return attribute value
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
virtual UColAttributeValue getAttribute(UColAttribute attr,
|
||||
UErrorCode &status) = 0;
|
||||
|
@ -607,7 +607,7 @@ public:
|
|||
/**
|
||||
* Thread safe cloning operation
|
||||
* @return pointer to the new clone, user should remove it.
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
virtual Collator* safeClone(void) = 0;
|
||||
|
||||
|
@ -621,7 +621,7 @@ public:
|
|||
* @param resultLength length of the result buffer. If if not enough the
|
||||
* buffer will be filled to capacity.
|
||||
* @return Number of bytes needed for storing the sort key
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
virtual int32_t getSortKey(const UnicodeString& source,
|
||||
uint8_t* result,
|
||||
|
@ -640,7 +640,7 @@ public:
|
|||
* @param resultLength length of the result buffer. If if not enough the
|
||||
* buffer will be filled to capacity.
|
||||
* @return Number of bytes needed for storing the sort key
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
virtual int32_t getSortKey(const UChar*source, int32_t sourceLength,
|
||||
uint8_t*result, int32_t resultLength) const = 0;
|
||||
|
|
|
@ -100,7 +100,7 @@ public:
|
|||
/**
|
||||
* Return the current index in the text being searched.
|
||||
* If the iteration has gone past the end of the text
|
||||
* (or past the beginning for a backwards search), {@link #USEARCH_DONE}
|
||||
* (or past the beginning for a backwards search), USEARCH_DONE
|
||||
* is returned.
|
||||
* @return current index in the text being searched.
|
||||
* @draft ICU 2.0
|
||||
|
@ -263,7 +263,7 @@ public:
|
|||
/**
|
||||
* Returns the first index at which the string text matches the search
|
||||
* pattern. The iterator is adjusted so that its current index (as
|
||||
* returned by {@link #usearch_getOffset}) is the match position if one
|
||||
* returned by {@link #getOffset}) is the match position if one
|
||||
* was found.
|
||||
* If a match is not found, <tt>USEARCH_DONE</tt> will be returned and
|
||||
* the iterator will be adjusted to the index USEARCH_DONE
|
||||
|
@ -328,7 +328,7 @@ public:
|
|||
* Returns the index of the next point at which the text matches the
|
||||
* search pattern, starting from the current position
|
||||
* The iterator is adjusted so that its current index (as returned by
|
||||
* {@link #getIndex}) is the match position if one was found.
|
||||
* {@link #getOffset}) is the match position if one was found.
|
||||
* If a match is not found, <tt>USEARCH_DONE</tt> will be returned and
|
||||
* the iterator will be adjusted to a position after the end of the text
|
||||
* string.
|
||||
|
|
|
@ -208,7 +208,7 @@ public:
|
|||
* iterate.
|
||||
* @return the collation element iterator of the source string using this as
|
||||
* the based Collator.
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
virtual CollationElementIterator* createCollationElementIterator(
|
||||
const UnicodeString& source) const;
|
||||
|
@ -220,7 +220,7 @@ public:
|
|||
* which the CollationElementItgerator will iterate.
|
||||
* @return the collation element iterator of the source using this as the
|
||||
* based Collator.
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
virtual CollationElementIterator* createCollationElementIterator(
|
||||
const CharacterIterator& source) const;
|
||||
|
@ -289,7 +289,7 @@ public:
|
|||
* @return Returns a byte value. GREATER if source is greater than target;
|
||||
* EQUAL if source is equal to target; LESS if source is less than
|
||||
* target
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
virtual EComparisonResult compare(const UChar* source, int32_t sourceLength,
|
||||
const UChar* target, int32_t targetLength)
|
||||
|
@ -411,7 +411,7 @@ public:
|
|||
* @param length Returns the length of the data, in bytes
|
||||
* @param status the error code status.
|
||||
* @return memory, owned by the caller, of size 'length' bytes.
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
uint8_t *cloneRuleData(int32_t &length, UErrorCode &status);
|
||||
|
||||
|
@ -420,7 +420,7 @@ public:
|
|||
* just the tailoring.
|
||||
* @param delta one of UCOL_TAILORING_ONLY, UCOL_FULL_RULES.
|
||||
* @param buffer UnicodeString to store the result rules
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
void getRules(UColRuleOption delta, UnicodeString &buffer);
|
||||
|
||||
|
@ -429,7 +429,7 @@ public:
|
|||
* @param attr attribute type
|
||||
* @param value attribute value
|
||||
* @param status to indicate whether the operation went on smoothly or there were errors
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
virtual void setAttribute(UColAttribute attr, UColAttributeValue value,
|
||||
UErrorCode &status);
|
||||
|
@ -439,7 +439,7 @@ public:
|
|||
* @param attr attribute type
|
||||
* @param status to indicate whether the operation went on smoothly or there were errors
|
||||
* @return attribute value
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
virtual UColAttributeValue getAttribute(UColAttribute attr,
|
||||
UErrorCode &status);
|
||||
|
@ -487,7 +487,7 @@ public:
|
|||
/**
|
||||
* Thread safe cloning operation.
|
||||
* @return pointer to the new clone, user should remove it.
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
virtual Collator* safeClone(void);
|
||||
|
||||
|
@ -499,6 +499,7 @@ public:
|
|||
* @param resultLength length of the result buffer. If if not enough the
|
||||
* buffer will be filled to capacity.
|
||||
* @return Number of bytes needed for storing the sort key
|
||||
* @stable
|
||||
*/
|
||||
virtual int32_t getSortKey(const UnicodeString& source, uint8_t *result,
|
||||
int32_t resultLength) const;
|
||||
|
@ -513,7 +514,7 @@ public:
|
|||
* @param resultLength length of the result buffer. If if not enough the
|
||||
* buffer will be filled to capacity.
|
||||
* @return Number of bytes needed for storing the sort key
|
||||
* @draft ICU 1.8
|
||||
* @stable 2.2
|
||||
*/
|
||||
virtual int32_t getSortKey(const UChar *source, int32_t sourceLength,
|
||||
uint8_t *result, int32_t resultLength) const;
|
||||
|
|
Loading…
Add table
Reference in a new issue