LibreOffice Module sw (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
SwStyleSheetIterator::SwPoolFormatList Class Reference

Public Member Functions

 SwPoolFormatList ()
 
void Append (SfxStyleFamily eFam, const OUString &rStr)
 
void clear ()
 
size_t size ()
 
bool empty ()
 
sal_uInt32 FindName (SfxStyleFamily eFam, const OUString &rName)
 
void RemoveName (SfxStyleFamily eFam, const OUString &rName)
 
const std::pair< SfxStyleFamily, OUString > & operator[] (sal_uInt32 nIdx)
 

Private Types

typedef std::unordered_map< std::pair< SfxStyleFamily, OUString >, sal_uInt32 > UniqueHash
 

Private Member Functions

void rehash ()
 

Private Attributes

std::vector< std::pair< SfxStyleFamily, OUString > > maImpl
 
UniqueHash maUnique
 

Detailed Description

Definition at line 161 of file docstyle.hxx.

Member Typedef Documentation

◆ UniqueHash

typedef std::unordered_map<std::pair<SfxStyleFamily, OUString>, sal_uInt32> SwStyleSheetIterator::SwPoolFormatList::UniqueHash
private

Definition at line 164 of file docstyle.hxx.

Constructor & Destructor Documentation

◆ SwPoolFormatList()

SwStyleSheetIterator::SwPoolFormatList::SwPoolFormatList ( )
inline

Definition at line 168 of file docstyle.hxx.

Member Function Documentation

◆ Append()

void SwStyleSheetIterator::SwPoolFormatList::Append ( SfxStyleFamily  eFam,
const OUString &  rStr 
)

◆ clear()

void SwStyleSheetIterator::SwPoolFormatList::clear ( )
inline

Definition at line 170 of file docstyle.hxx.

References maImpl, and maUnique.

Referenced by SwStyleSheetIterator::First(), and SwStyleSheetIterator::InvalidateIterator().

◆ empty()

bool SwStyleSheetIterator::SwPoolFormatList::empty ( )
inline

Definition at line 172 of file docstyle.hxx.

References maImpl.

Referenced by SwStyleSheetIterator::First().

◆ FindName()

sal_uInt32 SwStyleSheetIterator::SwPoolFormatList::FindName ( SfxStyleFamily  eFam,
const OUString &  rName 
)

Definition at line 360 of file docstyle.cxx.

References SAL_MAX_UINT32.

Referenced by SwStyleSheetIterator::Find().

◆ operator[]()

const std::pair< SfxStyleFamily, OUString > & SwStyleSheetIterator::SwPoolFormatList::operator[] ( sal_uInt32  nIdx)
inline

Definition at line 175 of file docstyle.hxx.

References maImpl.

◆ rehash()

void SwStyleSheetIterator::SwPoolFormatList::rehash ( )
private

Definition at line 377 of file docstyle.cxx.

References i.

◆ RemoveName()

void SwStyleSheetIterator::SwPoolFormatList::RemoveName ( SfxStyleFamily  eFam,
const OUString &  rName 
)

Definition at line 385 of file docstyle.cxx.

References SAL_MAX_UINT32.

Referenced by SwStyleSheetIterator::Notify().

◆ size()

size_t SwStyleSheetIterator::SwPoolFormatList::size ( )
inline

Definition at line 171 of file docstyle.hxx.

References maImpl.

Referenced by SwStyleSheetIterator::Count(), and SwStyleSheetIterator::Next().

Member Data Documentation

◆ maImpl

std::vector<std::pair<SfxStyleFamily, OUString> > SwStyleSheetIterator::SwPoolFormatList::maImpl
private

Definition at line 163 of file docstyle.hxx.

Referenced by clear(), empty(), operator[](), and size().

◆ maUnique

UniqueHash SwStyleSheetIterator::SwPoolFormatList::maUnique
private

Definition at line 165 of file docstyle.hxx.

Referenced by clear().


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