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

anonymous enum

UText provider properties (bit field indexes).

See also:
UText ICU 3.4
Enumerator:
UTEXT_PROVIDER_LENGTH_IS_EXPENSIVE  It is potentially time consuming for the provider to determine the length of the text. ICU 3.4
UTEXT_PROVIDER_STABLE_CHUNKS  Text chunks remain valid and usable until the text object is modified or deleted, not just until the next time the access() function is called (which is the default). ICU 3.4
UTEXT_PROVIDER_WRITABLE  The provider supports modifying the text via the replace() and copy() functions.
See also:
Replaceable ICU 3.4
UTEXT_PROVIDER_HAS_META_DATA  There is meta data associated with the text.
See also:
Replaceable::hasMetaData() ICU 3.4
UTEXT_PROVIDER_OWNS_TEXT  Text provider owns the text storage. Generally occurs as the result of a deep clone of the UText. When closing the UText, the associated text must also be closed/deleted/freed/ whatever is appropriate. ICU 3.6

Definition at line 1064 of file utext.h.

     {
    /**
     * It is potentially time consuming for the provider to determine the length of the text.
     * @stable ICU 3.4
     */
    UTEXT_PROVIDER_LENGTH_IS_EXPENSIVE = 1,
    /**
     * Text chunks remain valid and usable until the text object is modified or
     * deleted, not just until the next time the access() function is called
     * (which is the default).
     * @stable ICU 3.4
     */
    UTEXT_PROVIDER_STABLE_CHUNKS = 2,
    /**
     * The provider supports modifying the text via the replace() and copy()
     * functions.
     * @see Replaceable
     * @stable ICU 3.4
     */
    UTEXT_PROVIDER_WRITABLE = 3,
    /**
     * There is meta data associated with the text.
     * @see Replaceable::hasMetaData()
     * @stable ICU 3.4
     */ 
    UTEXT_PROVIDER_HAS_META_DATA = 4,
    /**
     * Text provider owns the text storage.
     *  Generally occurs as the result of a deep clone of the UText.
     *  When closing the UText, the associated text must
     *  also be closed/deleted/freed/ whatever is appropriate.
     * @stable ICU 3.6
     */
     UTEXT_PROVIDER_OWNS_TEXT = 5
};


Generated by  Doxygen 1.6.0   Back to index