LibreOffice Module i18npool (master) 1
Public Member Functions | Private Attributes | List of all members
i18npool::Index Class Reference

#include <indexentrysupplier_default.hxx>

Collaboration diagram for i18npool::Index:
[legend]

Public Member Functions

 Index (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
 ~Index ()
 
void init (const css::lang::Locale &rLocale, const OUString &algorithm)
 
void makeIndexKeys (const css::lang::Locale &rLocale, std::u16string_view algorithm)
 
sal_Int16 getIndexWeight (const OUString &rIndexEntry)
 
OUString getIndexDescription (const OUString &rIndexEntry)
 
sal_Int16 compare (sal_Unicode c1, sal_Unicode c2)
 

Private Attributes

IndexTable tables [MAX_TABLES]
 
sal_Int16 table_count
 
IndexKey keys [MAX_KEYS]
 
sal_Int16 key_count
 
sal_Int16 mkeys [MAX_KEYS]
 
sal_Int16 mkey_count
 
OUString skipping_chars
 
rtl::Reference< CollatorImplcollator
 

Detailed Description

Definition at line 78 of file indexentrysupplier_default.hxx.

Constructor & Destructor Documentation

◆ Index()

i18npool::Index::Index ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)

Definition at line 112 of file indexentrysupplier_default.cxx.

◆ ~Index()

i18npool::Index::~Index ( )

Definition at line 120 of file indexentrysupplier_default.cxx.

Member Function Documentation

◆ compare()

sal_Int16 i18npool::Index::compare ( sal_Unicode  c1,
sal_Unicode  c2 
)

Definition at line 124 of file indexentrysupplier_default.cxx.

References collator.

◆ getIndexDescription()

OUString i18npool::Index::getIndexDescription ( const OUString &  rIndexEntry)

◆ getIndexWeight()

sal_Int16 i18npool::Index::getIndexWeight ( const OUString &  rIndexEntry)

◆ init()

void i18npool::Index::init ( const css::lang::Locale &  rLocale,
const OUString &  algorithm 
)

◆ makeIndexKeys()

void i18npool::Index::makeIndexKeys ( const css::lang::Locale &  rLocale,
std::u16string_view  algorithm 
)

Member Data Documentation

◆ collator

rtl::Reference<CollatorImpl> i18npool::Index::collator
private

Definition at line 101 of file indexentrysupplier_default.hxx.

Referenced by compare(), getIndexWeight(), and init().

◆ key_count

sal_Int16 i18npool::Index::key_count
private

Definition at line 97 of file indexentrysupplier_default.hxx.

Referenced by init(), and makeIndexKeys().

◆ keys

IndexKey i18npool::Index::keys[MAX_KEYS]
private

◆ mkey_count

sal_Int16 i18npool::Index::mkey_count
private

Definition at line 99 of file indexentrysupplier_default.hxx.

Referenced by getIndexWeight(), and makeIndexKeys().

◆ mkeys

sal_Int16 i18npool::Index::mkeys[MAX_KEYS]
private

Definition at line 98 of file indexentrysupplier_default.hxx.

Referenced by getIndexWeight(), and makeIndexKeys().

◆ skipping_chars

OUString i18npool::Index::skipping_chars
private

Definition at line 100 of file indexentrysupplier_default.hxx.

Referenced by getIndexWeight(), and makeIndexKeys().

◆ table_count

sal_Int16 i18npool::Index::table_count
private

Definition at line 95 of file indexentrysupplier_default.hxx.

Referenced by getIndexWeight(), and init().

◆ tables

IndexTable i18npool::Index::tables[MAX_TABLES]
private

Definition at line 94 of file indexentrysupplier_default.hxx.

Referenced by getIndexWeight(), and init().


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