LibreOffice Module dbaccess (master) 1
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
dbaui::OCharsetDisplay Class Referencefinal

#include <charsets.hxx>

Inheritance diagram for dbaui::OCharsetDisplay:
[legend]
Collaboration diagram for dbaui::OCharsetDisplay:
[legend]

Classes

class  ExtendedCharsetIterator
 

Public Types

typedef ExtendedCharsetIterator iterator
 
typedef ExtendedCharsetIterator const_iterator
 

Public Member Functions

 OCharsetDisplay ()
 
const_iterator findEncoding (const rtl_TextEncoding _eEncoding) const
 
const_iterator findIanaName (std::u16string_view _rIanaName) const
 
const_iterator findDisplayName (const OUString &_rDisplayName) const
 
const_iterator begin () const
 get access to the first element of the charset collection More...
 
const_iterator end () const
 get access to the (last + 1st) element of the charset collection More...
 

Private Member Functions

virtual bool approveEncoding (const rtl_TextEncoding _eEncoding, const rtl_TextEncodingInfo &_rInfo) const override
 
CharsetIterator find (const rtl_TextEncoding _eEncoding) const
 

Private Attributes

OUString m_aSystemDisplayName
 

Friends

class OCharsetDisplay::ExtendedCharsetIterator
 

Additional Inherited Members

- Protected Types inherited from dbtools::OCharsetMap
typedef std::set< rtl_TextEncoding > TextEncBag
 
typedef CharsetIterator iterator
 
typedef CharsetIterator const_iterator
 
- Protected Member Functions inherited from dbtools::OCharsetMap
void lateConstruct ()
 
void ensureConstructed () const
 
virtual bool approveEncoding (const rtl_TextEncoding _eEncoding, const rtl_TextEncodingInfo &_rInfo) const
 
 CharsetIterator (const OCharsetMap *_pContainer, OCharsetMap::TextEncBag::const_iterator _aPos)
 
 OCharsetMap ()
 
virtual ~OCharsetMap ()
 
CharsetIterator find (const rtl_TextEncoding _eEncoding) const
 
CharsetIterator findIanaName (std::u16string_view _rIanaName) const
 
CharsetIterator begin () const
 
CharsetIterator end () const
 
CharsetIteratorDerefHelper operator* () const
 
const CharsetIteratoroperator++ ()
 
const CharsetIteratoroperator-- ()
 
- Protected Attributes inherited from dbtools::OCharsetMap
TextEncBag m_aEncodings
 

Detailed Description

Definition at line 30 of file charsets.hxx.

Member Typedef Documentation

◆ const_iterator

Definition at line 40 of file charsets.hxx.

◆ iterator

Definition at line 39 of file charsets.hxx.

Constructor & Destructor Documentation

◆ OCharsetDisplay()

dbaui::OCharsetDisplay::OCharsetDisplay ( )

Definition at line 33 of file charsets.cxx.

Member Function Documentation

◆ approveEncoding()

bool dbaui::OCharsetDisplay::approveEncoding ( const rtl_TextEncoding  _eEncoding,
const rtl_TextEncodingInfo &  _rInfo 
) const
overrideprivatevirtual

◆ begin()

OCharsetDisplay::const_iterator dbaui::OCharsetDisplay::begin ( ) const

get access to the first element of the charset collection

Definition at line 49 of file charsets.cxx.

References dbtools::OCharsetMap::begin().

◆ end()

OCharsetDisplay::const_iterator dbaui::OCharsetDisplay::end ( ) const

get access to the (last + 1st) element of the charset collection

Definition at line 54 of file charsets.cxx.

References dbtools::OCharsetMap::end().

Referenced by dbaui::CharSetListBox::SelectEntryByIanaName(), and dbaui::CharSetListBox::StoreSelectedCharSet().

◆ find()

CharsetIterator dbtools::OCharsetMap::find ( const rtl_TextEncoding  _eEncoding) const
private

◆ findDisplayName()

OCharsetDisplay::const_iterator dbaui::OCharsetDisplay::findDisplayName ( const OUString &  _rDisplayName) const

◆ findEncoding()

OCharsetDisplay::const_iterator dbaui::OCharsetDisplay::findEncoding ( const rtl_TextEncoding  _eEncoding) const

Definition at line 59 of file charsets.cxx.

References dbtools::OCharsetMap::find().

Referenced by dbaui::CharSetListBox::SelectEntryByIanaName().

◆ findIanaName()

OCharsetDisplay::const_iterator dbaui::OCharsetDisplay::findIanaName ( std::u16string_view  _rIanaName) const

Friends And Related Function Documentation

◆ OCharsetDisplay::ExtendedCharsetIterator

Definition at line 37 of file charsets.hxx.

Member Data Documentation

◆ m_aSystemDisplayName

OUString dbaui::OCharsetDisplay::m_aSystemDisplayName
private

Definition at line 33 of file charsets.hxx.

Referenced by findDisplayName().


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