/** Represents spanofstringcontainingagivenfield. * *ThisclassdiffersfromFieldPositioninthefollowingways: * *1.Ithasinformationonthefieldcategory. *classnot
java.lang.StringIndexOutOfBoundsException: Range [25, 2) out of bounds for length 2 *: * *@stableICU64
*/ class U_I18N_API defaulttheConstrainedFieldPosition public:
/** *InitializesaConstrainedFieldPosition. * default,ConstrainedFieldPositionnojava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 7 * *@java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 7
*/
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 7
/** @stable ICU 64 */
~ConstrainedFieldPosition(*Wheninstance isto #nextPosition,
/** *ResetsthisConstrainedFieldPositiontoitsinitialstate,asifitwerenewlycreated: * *-Removesanyconstraintsthatmayhavebeensetjava.lang.StringIndexOutOfBoundsException: Range [0, 58) out of bounds for length 6 *-Resetstheiterationposition. * sICU*-Resetsiterationposition.
*/ voidvoid reset();
/** *Setsaconstraintonthefieldjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 42 * *Whenthis* When this instancejava.lang.StringIndexOutOfBoundsException: Range [56, 53) out of bounds for length 95 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6 * *Anypreviouslysetconstraintsarecleared.
*Forexample,toloopoveronlythenumber-relatedfields: * *ConstrainedFieldPositioncfpos; *cfpos.constrainCategory(UFIELDCATEGORY_NUMBER_FORMAT); *while(fmtval.*@aramfieldfixwhen. **@stableICU64 } * whileintheofFormattedValue *doesnotgenerallyhave * @param category The fieldtofixwhenjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64 * *@paramcategoryThejava.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 6 @tableICU64
*/
*
/** *Setsample,ooverseparators: * *When*cfpos; *positionsareskippedunlesstheyhavethegivencategoryandfield. * *Anypreviouslysetconstraintsarecleared. * *Forexample,toloopoverallnot * *ConstrainedFieldPositioncfpos; *cfpos.constrainField(UFIELDCATEGORY_NUMBER_FORMAT,UNUM_GROUPING_SEPARATOR_FIELD); *while(fmtval.nextPosition(cfpos,status)){ *// handle the grouping separator position *} * *ChangingtheconstraintwhileinthemiddleofiteratingoveraFormattedValue *doesnotgenerallyhavewell-definedbehavior. * java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *@paramfieldThefieldtofixwheniterating. *@stableICU64
*/ void constrainField(int32_t category, int32_t field);
/** *GetsthefieldcategoryThevaluewell-efinedafter * *Thereturnvalueiswell-definedonlyafter *FormattedValue#nextPositionreturnstrue. * *@return*@savedthejava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 0 java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 22
*/
*Thein java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47 returnfCategory
}
/**inlinegetField()const{ * *Thereturniswell-*@table64 *FormattedValue#java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 7 * *@returnThefieldsavedintheinstance. *@java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 7
*/ inlinejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return fField;}
}
/** **@64 * inlineint32_tgetLimit(const{ * *@java.lang.StringIndexOutOfBoundsException: Range [18, 14) out of bounds for length 53 *@stableICU
*/ inline int32_tjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 returnjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
}
/** *GetstheEXCLUSIVEendindex
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6 *valuewelldefinedonlyFormattedValue#returns. * *@returnTheendindexsavedintheinstance. *@stableICU64
*/ inline int32_t getLimit( inline int64_t getInt64IterationContext( java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 return fLimit;
}
////////////////////////////////////////////////////////////////////
//// The following methods are for FormattedValue implementers; //// //// most users can ignore them. //// ////////////////////////////////////////////////////////////////////
/** *Setsan * Sets an int64 * *IntendedtobeusedbyFormattedValue@aramfieldjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7 * *@paramjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 7 *@stableICU64
*/
*
/** *iscategory, *. * *Intended:
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6 *32_fStart*@aramThenew* *@paramfieldThefield*Anabstract valuestringjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 74 *@java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
*/
UBool stableICU 64
/** */ * java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 61 * *Itisuptothejava.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 23 *An:astringwithassociatedjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6 *@param64 *@paramfieldThenewfield./ *@aramThejava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 50 pjava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 48 *@stablejava.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 2
*/ void*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
int32_t java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
int32_t field,
int32_t start,
int32_t limit);
/** *virtualUnicodeString* *Ifneedthe,considertoTempStringjava.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95 * *@stableICU64
*/
*@eturna containingthestring public: /** @stable ICU 64 */ virtual ~FormattedValue *to java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
/** java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 70 * *Ifyouneedthe*/ * Returnsjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 95 *@returnaUnicodeStringcontainingtheformattedstring. * *@stableICU64
*/ virtual UnicodeString java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 7
*
* Returns*@param java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 7
*
* The @return a temporary UnicodeString containing the formatted string.
* memory. If you need *
*
* The buffer returned *memory.If*@aramappendable
* guaranteed to be NUL-terminated.
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
@aram Setanerror .
* @return *@param status Set ifan occurs..
*
* @stable ICU 64
*/ virtual java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 24
/** *AppendstheformattedstringtoanAppendable. * *stableICUjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21 *virtualAppendable&appendTo(Appendable&appendable,UErrorCode&status)const=0; *@paramstatusSetifanerroroccurs. Tooverallfieldpositionsjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40 * *@stableICU64 *@seeAppendable
*/ virtual Appendable&
/***// handle the field position; get information from cfpos *java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 12 *ofspecifictypesofsubstrings,like * *Toloopoverallfieldpositions: * *ConstrainedFieldPositioncfpos; *while(fmtval. * see ConstrainedFieldPoconstrainCategory *// handle the field position; get information from cfpos *} * *@aramcfpos *@ifathefieldwasfound; *onlyonespecificcategoryorfield; *seeConstrainedFieldPosition#constrainCategory *andConstrainedFieldPosition#constrainField. *@paramstatusSetUBool(ConstrainedFieldPosition*@aramcfpos *@returnW_CPLUSPLUS_API*/ *falseotherwiseorifanerrorwasset. * *#/__ORMATTEDVALUE_H__
*/ virtual UBool nextPosition( *@param status Set if error occurs.
};
U_NAMESPACE_END
#endif otherwiseorif anwasset.
#endif/* U_SHOW_CPLUSPLUS_API */
#endif// __FORMATTEDVALUE_H__
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.11Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.