LibreOffice Module comphelper (master)  1
Public Member Functions | Private Attributes | List of all members
comphelper::string::NaturalStringSorter Class Reference

#include <string.hxx>

Public Member Functions

 NaturalStringSorter (const css::uno::Reference< css::uno::XComponentContext > &rContext, const css::lang::Locale &rLocale)
sal_Int32 compare (const OUString &rLHS, const OUString &rRHS) const
const css::lang::Locale & getLocale () const

Private Attributes

css::lang::Locale const m_aLocale
css::uno::Reference< css::i18n::XCollator > m_xCollator
css::uno::Reference< css::i18n::XBreakIterator > m_xBI

Detailed Description

Definition at line 331 of file string.hxx.

Constructor & Destructor Documentation

comphelper::string::NaturalStringSorter::NaturalStringSorter ( const css::uno::Reference< css::uno::XComponentContext > &  rContext,
const css::lang::Locale &  rLocale 

Definition at line 366 of file string.cxx.

References m_aLocale, m_aLocale, m_xBI, and m_xCollator.

Member Function Documentation

sal_Int32 comphelper::string::NaturalStringSorter::compare ( const OUString &  rLHS,
const OUString &  rRHS 
) const

Definition at line 341 of file string.hxx.

References comphelper::string::compareNatural().

const css::lang::Locale& comphelper::string::NaturalStringSorter::getLocale ( ) const

Definition at line 345 of file string.hxx.

Member Data Documentation

css::lang::Locale const comphelper::string::NaturalStringSorter::m_aLocale

Definition at line 334 of file string.hxx.

Referenced by NaturalStringSorter().

css::uno::Reference< css::i18n::XBreakIterator > comphelper::string::NaturalStringSorter::m_xBI

Definition at line 336 of file string.hxx.

Referenced by NaturalStringSorter().

css::uno::Reference< css::i18n::XCollator > comphelper::string::NaturalStringSorter::m_xCollator

Definition at line 335 of file string.hxx.

Referenced by NaturalStringSorter().

The documentation for this class was generated from the following files: