LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SvXMLItemMapEntries Class Referencefinal

this class manages an array of SvXMLItemMapEntry. More...

#include <xmlitmap.hxx>

Inheritance diagram for SvXMLItemMapEntries:
[legend]
Collaboration diagram for SvXMLItemMapEntries:
[legend]

Public Member Functions

 SvXMLItemMapEntries (o3tl::span< SvXMLItemMapEntry const > pEntries)
 
virtual ~SvXMLItemMapEntries () override
 
SvXMLItemMapEntry const * getByName (sal_Int32 nElement) const
 
SvXMLItemMapEntry const & getByIndex (sal_uInt16 nIndex) const
 
sal_uInt16 getCount () const
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Private Attributes

o3tl::span< SvXMLItemMapEntry const > mpEntries
 

Additional Inherited Members

- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

this class manages an array of SvXMLItemMapEntry.

It is used for optimizing the static array on startup of import or export

Definition at line 64 of file xmlitmap.hxx.

Constructor & Destructor Documentation

◆ SvXMLItemMapEntries()

SvXMLItemMapEntries::SvXMLItemMapEntries ( o3tl::span< SvXMLItemMapEntry const >  pEntries)
inlineexplicit

Definition at line 69 of file xmlitmap.hxx.

◆ ~SvXMLItemMapEntries()

SvXMLItemMapEntries::~SvXMLItemMapEntries ( )
overridevirtual

Definition at line 23 of file xmlitmpr.cxx.

Member Function Documentation

◆ getByIndex()

SvXMLItemMapEntry const & SvXMLItemMapEntries::getByIndex ( sal_uInt16  nIndex) const
inline

Definition at line 73 of file xmlitmap.hxx.

References mpEntries, and nIndex.

◆ getByName()

SvXMLItemMapEntry const * SvXMLItemMapEntries::getByName ( sal_Int32  nElement) const

Definition at line 27 of file xmlitmpr.cxx.

References IsTokenInNamespace(), mpEntries, and TOKEN_MASK.

◆ getCount()

sal_uInt16 SvXMLItemMapEntries::getCount ( ) const
inline

Definition at line 75 of file xmlitmap.hxx.

References mpEntries, and o3tl::span< typename T >::size().

Member Data Documentation

◆ mpEntries

o3tl::span<SvXMLItemMapEntry const> SvXMLItemMapEntries::mpEntries
private

Definition at line 66 of file xmlitmap.hxx.

Referenced by getByIndex(), getByName(), and getCount().


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