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 162 of file docstyle.hxx.

Member Typedef Documentation

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

Definition at line 165 of file docstyle.hxx.

Constructor & Destructor Documentation

SwStyleSheetIterator::SwPoolFormatList::SwPoolFormatList ( )
inline

Definition at line 169 of file docstyle.hxx.

Member Function Documentation

void SwStyleSheetIterator::SwPoolFormatList::Append ( SfxStyleFamily  eFam,
const OUString &  rStr 
)
void SwStyleSheetIterator::SwPoolFormatList::clear ( )
inline
bool SwStyleSheetIterator::SwPoolFormatList::empty ( )
inline

Definition at line 173 of file docstyle.hxx.

Referenced by SwStyleSheetIterator::First().

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

Definition at line 361 of file docstyle.cxx.

References SAL_MAX_UINT32.

Referenced by SwStyleSheetIterator::Find().

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

Definition at line 176 of file docstyle.hxx.

void SwStyleSheetIterator::SwPoolFormatList::rehash ( )
private

Definition at line 378 of file docstyle.cxx.

References i.

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

Definition at line 386 of file docstyle.cxx.

Referenced by SwStyleSheetIterator::Notify().

size_t SwStyleSheetIterator::SwPoolFormatList::size ( )
inline

Definition at line 172 of file docstyle.hxx.

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

Member Data Documentation

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

Definition at line 164 of file docstyle.hxx.

UniqueHash SwStyleSheetIterator::SwPoolFormatList::maUnique
private

Definition at line 166 of file docstyle.hxx.


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