Logo Search packages:      
Sourcecode: icu version File versions

int32_t UnicodeString::length ( void   )  const [inline]

Return the length of the UnicodeString object. The length is the number of characters in the text.

Returns:
the length of the UnicodeString object

Reimplemented from Replaceable.

Definition at line 3603 of file unistr.h.

Referenced by UnicodeSet::_applyPattern(), UnicodeSet::_toPattern(), Transliterator::_transliterate(), DecimalFormat::addPadding(), UnicodePropertySet::addValue(), DecimalFormat::appendAffix(), UnicodeToHexTransliterator::applyPattern(), UnicodeSet::applyPattern(), MessageFormat::applyPattern(), HexToUnicodeTransliterator::applyPattern(), DecimalFormat::applyPattern(), ChoiceFormat::applyPattern(), RuleBasedBreakIteratorBuilder::buildCharCategories(), RuleBasedBreakIteratorBuilder::buildRuleList(), CollationElementIterator::CollationElementIterator(), RuleBasedCollator::compare(), RBBITest::compareFragmentLists(), IntlTestTextBoundary::compareFragmentLists(), Normalizer::compose(), RuleBasedCollator::construct(), UnicodeSet::containsAll(), UnicodePropertySet::createFromPattern(), Normalizer::decompose(), RBBIAPITest::doBoundaryTest(), IntlTestTextBoundary::doBreakInvariantTest(), RBBITest::doMultipleSelectionTest(), IntlTestTextBoundary::doMultipleSelectionTest(), IntlTestTextBoundary::doOtherInvariantTest(), LocaleTest::doTestDisplayNames(), DecimalFormat::expandAffix(), TransliteratorRegistry::find(), TransliteratorRegistry::findInBundle(), MessageFormat::findKeyword(), UnicodeConverter::fixFileSeparator(), SimpleDateFormat::format(), RuleBasedNumberFormat::format(), MessageFormat::format(), DecimalFormat::format(), TransliteratorTest::formatInput(), UnicodeConverter::fromUnicodeString(), RuleBasedCollator::getCollationKey(), Transliterator::getDisplayName(), TransliterationRule::getIndexValue(), TestReplaceable::getLength(), getLength(), RuleBasedCollator::getSortKey(), TestReplaceable::handleReplaceBetween(), ReplaceableGlue::handleReplaceBetween(), UnicodeToHexTransliterator::handleTransliterate(), UnescapeTransliterator::handleTransliterate(), UppercaseTransliterator::handleTransliterate(), LowercaseTransliterator::handleTransliterate(), TitlecaseTransliterator::handleTransliterate(), NameUnicodeTransliterator::handleTransliterate(), EscapeTransliterator::handleTransliterate(), TransliteratorIDParser::IDtoSTV(), DecimalFormatSymbols::initialize(), TransliteratorRegistry::instantiateEntry(), TransliteratorIDParser::instantiateList(), RuleHalf::isValidInput(), RuleHalf::isValidOutput(), ICULayoutEngine::layoutString(), MessageFormat::makeFormat(), TransliterationRule::masks(), StringMatcher::matches(), StringMatcher::matchesIndexValue(), SimpleDateFormat::matchString(), Normalizer::normalize(), StringSearch::operator=(), SimpleDateFormat::parse(), RuleBasedNumberFormat::parse(), MessageFormat::parse(), DecimalFormat::parse(), ChoiceFormat::parse(), TransliteratorIDParser::parseBasicID(), TransliteratorIDParser::parseFilterID(), TransliteratorIDParser::parseGlobalFilter(), RuleBasedBreakIteratorBuilder::parseRule(), RuleHalf::parseSection(), CanonicalIterator::permute(), RuleBasedBreakIteratorBuilder::processSubstitution(), Normalizer::quickCheck(), TransliteratorRegistry::registerEntry(), StringReplacer::replace(), UnicodePropertySet::resemblesPattern(), UnicodeSet::resemblesPattern(), IntlTestTextBoundary::sample(), SearchIterator::SearchIterator(), StringReplacer::setData(), StringMatcher::setData(), DecimalFormat::setPadCharacter(), StringSearch::setPattern(), CanonicalIterator::setSource(), StringSearch::setText(), SearchIterator::setText(), CollationElementIterator::setText(), RuleBasedCollator::setVariableTop(), UnicodePropertySet::skipWhitespace(), TransliteratorIDParser::specsToID(), TransliteratorIDParser::specsToSpecialInverse(), CompoundTransliteratorTest::split(), StringSearch::StringSearch(), TransliteratorRegistry::STVtoID(), SimpleDateFormat::subFormat(), DecimalFormat::subformat(), SimpleDateFormat::subParse(), DecimalFormat::subparse(), DateFormatRegressionTest::Test4052408(), DateFormatTest::TestBadInput135(), DateFormatTest::TestBadInput135a(), UnicodeStringTest::TestBasicManipulation(), BasicNormalizerTest::TestCompositionExclusion(), TransliteratorTest::TestCompoundFilterID(), CharIterTest::TestConstructionAndEquality(), ConvertTest::TestConvert(), DateFormatTest::TestDateFormatCalendar(), NumberFormatTest::TestExponential(), UnicodeStringTest::TestExtract(), RBBITest::testFirstAndNext(), IntlTestTextBoundary::testFirstAndNext(), RBBIAPITest::TestFirstNextFollowing(), RBBITest::testFollowing(), IntlTestTextBoundary::testFollowing(), LocaleTest::TestGetLangsAndCountries(), TransliteratorTest::TestIncrementalProgress(), RBBITest::testIsBoundary(), IntlTestTextBoundary::testIsBoundary(), CharIterTest::TestIteration(), CharIterTest::TestIterationUChar32(), TransliteratorTest::TestJ277(), IntlTestTextBoundary::TestJapaneseLineBreak(), RBBITest::testLastAndPrevious(), IntlTestTextBoundary::testLastAndPrevious(), RBBIAPITest::TestLastPreviousPreceding(), TransliteratorTest::TestLiberalizedID(), IntlTestTextBoundary::TestLineInvariants(), UnicodeStringTest::TestMiscellaneous(), CollationIteratorTest::TestOffset(), RBBITest::testPreceding(), IntlTestTextBoundary::testPreceding(), CollationAPITest::TestProperty(), DateFormatTest::TestQuotePattern161(), UnicodeStringTest::TestRemoveReplace(), CollationAPITest::TestRules(), UnicodeStringTest::TestSearching(), NumberFormatTest::TestSecondaryGrouping(), TransliteratorTest::TestSpecialCases(), UnicodeStringTest::TestStackAllocation(), TransliteratorTest::TestSTV(), TransliteratorTest::TestSurrogateCasing(), DateFormatTest::TestWallyWedel(), StringMatcher::toPattern(), MessageFormat::toPattern(), DecimalFormat::toPattern(), ChoiceFormat::toPattern(), StringReplacer::toReplacerPattern(), UnicodeConverter::toUnicodeString(), SimpleDateFormat::translatePattern(), TransliterationRule::TransliterationRule(), umsg_vparse(), unescape(), unescapeAt(), UnicodeString(), and RuleBasedBreakIteratorBuilder::updateStateTable().

{ return fLength; }


Generated by  Doxygen 1.6.0   Back to index