LibreOffice Module sdext (master)  1
Classes | Public Member Functions | Private Attributes | List of all members
pdfi::SaxAttrList Class Reference

#include <saxattrlist.hxx>

Inheritance diagram for pdfi::SaxAttrList:
[legend]
Collaboration diagram for pdfi::SaxAttrList:
[legend]

Classes

struct  AttrEntry
 

Public Member Functions

 SaxAttrList (const std::unordered_map< OUString, OUString > &)
 
virtual sal_Int16 SAL_CALL getLength () override
 
virtual OUString SAL_CALL getNameByIndex (sal_Int16 i) override
 
virtual OUString SAL_CALL getTypeByIndex (sal_Int16 i) override
 
virtual OUString SAL_CALL getTypeByName (const OUString &aName) override
 
virtual OUString SAL_CALL getValueByIndex (sal_Int16 i) override
 
virtual OUString SAL_CALL getValueByName (const OUString &aName) override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 

Private Attributes

std::vector< AttrEntrym_aAttributes
 
std::unordered_map< OUString, size_t > m_aIndexMap
 

Detailed Description

Definition at line 33 of file saxattrlist.hxx.

Constructor & Destructor Documentation

pdfi::SaxAttrList::SaxAttrList ( const std::unordered_map< OUString, OUString > &  rMap)
explicit

Definition at line 26 of file saxattrlist.cxx.

References m_aAttributes, and m_aIndexMap.

Referenced by createClone().

Member Function Documentation

css::uno::Reference< css::util::XCloneable > SAL_CALL pdfi::SaxAttrList::createClone ( )
overridevirtual

Definition at line 73 of file saxattrlist.cxx.

References SaxAttrList().

sal_Int16 SAL_CALL pdfi::SaxAttrList::getLength ( )
overridevirtual

Definition at line 43 of file saxattrlist.cxx.

References m_aAttributes.

OUString SAL_CALL pdfi::SaxAttrList::getNameByIndex ( sal_Int16  i)
overridevirtual

Definition at line 47 of file saxattrlist.cxx.

References m_aAttributes.

OUString SAL_CALL pdfi::SaxAttrList::getTypeByIndex ( sal_Int16  i)
overridevirtual

Definition at line 52 of file saxattrlist.cxx.

References m_aAttributes.

OUString SAL_CALL pdfi::SaxAttrList::getTypeByName ( const OUString &  aName)
overridevirtual

Definition at line 57 of file saxattrlist.cxx.

References m_aIndexMap.

OUString SAL_CALL pdfi::SaxAttrList::getValueByIndex ( sal_Int16  i)
overridevirtual

Definition at line 62 of file saxattrlist.cxx.

References m_aAttributes.

OUString SAL_CALL pdfi::SaxAttrList::getValueByName ( const OUString &  aName)
overridevirtual

Definition at line 67 of file saxattrlist.cxx.

References m_aAttributes, and m_aIndexMap.

Member Data Documentation

std::vector< AttrEntry > pdfi::SaxAttrList::m_aAttributes
private
std::unordered_map< OUString, size_t > pdfi::SaxAttrList::m_aIndexMap
private

Definition at line 47 of file saxattrlist.hxx.

Referenced by getTypeByName(), getValueByName(), and SaxAttrList().


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