LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwHashTable< T > Class Template Reference

T should be a subclass of SwHash. More...

#include <calc.hxx>

Inheritance diagram for SwHashTable< T >:
[legend]

Public Member Functions

 SwHashTable (size_t nSize)
 
std::unique_ptr< T > & operator[] (size_t idx)
 
std::unique_ptr< T > const & operator[] (size_t idx) const
 
void resize (size_t nSize)
 
T * Find (const OUString &rStr, sal_uInt16 *pPos=nullptr) const
 

Private Attributes

std::vector< std::unique_ptr< T > > m_aData
 

Detailed Description

template<class T>
class SwHashTable< T >

T should be a subclass of SwHash.

Definition at line 143 of file calc.hxx.

Constructor & Destructor Documentation

template<class T>
SwHashTable< T >::SwHashTable ( size_t  nSize)
inline

Definition at line 147 of file calc.hxx.

Member Function Documentation

template<class T>
T* SwHashTable< T >::Find ( const OUString &  rStr,
sal_uInt16 *  pPos = nullptr 
) const
inline
template<class T>
std::unique_ptr<T>& SwHashTable< T >::operator[] ( size_t  idx)
inline

Definition at line 148 of file calc.hxx.

template<class T>
std::unique_ptr<T> const& SwHashTable< T >::operator[] ( size_t  idx) const
inline

Definition at line 149 of file calc.hxx.

template<class T>
void SwHashTable< T >::resize ( size_t  nSize)
inline

Definition at line 150 of file calc.hxx.

Referenced by sw::DocumentFieldsManager::FieldsToExpand().

Member Data Documentation

template<class T>
std::vector<std::unique_ptr<T> > SwHashTable< T >::m_aData
private

Definition at line 145 of file calc.hxx.


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