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 341 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 364 of file string.cxx.

References m_aLocale, m_xBI, and m_xCollator.

Member Function Documentation

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

Definition at line 351 of file string.hxx.

References comphelper::string::compareNatural().

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

Definition at line 355 of file string.hxx.

Member Data Documentation

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

Definition at line 344 of file string.hxx.

Referenced by NaturalStringSorter().

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

Definition at line 346 of file string.hxx.

Referenced by NaturalStringSorter().

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

Definition at line 345 of file string.hxx.

Referenced by NaturalStringSorter().


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