LibreOffice Module xmloff (master)  1
Classes | Public Member Functions | Private Attributes | List of all members
SvXMLTokenMap_Impl Class Reference


struct  PairHash

Public Member Functions

void insert (const SvXMLTokenMapEntry &rEntry)
sal_uInt16 get (sal_uInt16 nKeyPrefix, const OUString &rLName) const
sal_uInt16 get (sal_Int32 nFastTok) const

Private Attributes

std::unordered_map< std::pair< sal_uInt16, OUString >, sal_uInt16, PairHashm_aPrefixAndNameToTokenMap
std::unordered_map< sal_Int32, sal_uInt16 > m_aFastTokenToTokenMap

Detailed Description

Definition at line 30 of file xmltkmap.cxx.

Member Function Documentation

sal_uInt16 SvXMLTokenMap_Impl::get ( sal_uInt16  nKeyPrefix,
const OUString &  rLName 
) const

Definition at line 67 of file xmltkmap.cxx.

References m_aPrefixAndNameToTokenMap, and XML_TOK_UNKNOWN.

sal_uInt16 SvXMLTokenMap_Impl::get ( sal_Int32  nFastTok) const

Definition at line 76 of file xmltkmap.cxx.

References m_aFastTokenToTokenMap, and XML_TOK_UNKNOWN.

void SvXMLTokenMap_Impl::insert ( const SvXMLTokenMapEntry rEntry)

Member Data Documentation

std::unordered_map< sal_Int32, sal_uInt16> SvXMLTokenMap_Impl::m_aFastTokenToTokenMap

Definition at line 45 of file xmltkmap.cxx.

Referenced by get(), and insert().

std::unordered_map< std::pair<sal_uInt16, OUString>, sal_uInt16, PairHash> SvXMLTokenMap_Impl::m_aPrefixAndNameToTokenMap

Definition at line 44 of file xmltkmap.cxx.

Referenced by get(), and insert().

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