20#include <rtl/ustring.hxx>
25#include <unordered_map>
35 std::size_t
operator()(
const std::pair<sal_uInt16,OUString> &pair)
const
43 std::unordered_map< std::pair<sal_uInt16, OUString>,
48 sal_uInt16
get( sal_uInt16 nKeyPrefix,
const OUString& rLName )
const;
55 assert(
inserted &&
"duplicate token");
63 return (*aIter).second;
83 const OUString& rLName )
const
85 return m_pImpl->get( nKeyPrefix, rLName );
sal_uInt16 get(sal_uInt16 nKeyPrefix, const OUString &rLName) const
void insert(const SvXMLTokenMapEntry &rEntry)
std::unordered_map< std::pair< sal_uInt16, OUString >, sal_uInt16, PairHash > m_aPrefixAndNameToTokenMap
SvXMLTokenMap(const SvXMLTokenMapEntry *pMap)
sal_uInt16 Get(sal_uInt16 nPrefix, const OUString &rLName) const
std::unique_ptr< SvXMLTokenMap_Impl > m_pImpl
DECL_LISTENERMULTIPLEXER_END void SAL_CALL inserted(::sal_Int32 ID) override
std::enable_if_t<(sizeof(N)==4)> hash_combine(N &nSeed, T const *pValue, size_t nCount)
Handling of tokens in XML:
const OUString & GetXMLToken(enum XMLTokenEnum eToken)
return the OUString representation for eToken
enum xmloff::token::XMLTokenEnum eLocalName
std::size_t operator()(const std::pair< sal_uInt16, OUString > &pair) const