LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ww::SortedArray< C > Class Template Reference

simple template that manages a static array More...

#include <sortedarray.hxx>

Public Member Functions

const C * search (C aSrch) const
 
 SortedArray (C *pWwSprmTab, size_t nNoElems)
 

Private Member Functions

 SortedArray (const SortedArray &)=delete
 
SortedArrayoperator= (const SortedArray &)=delete
 

Private Attributes

C * mpWwSprmTab
 
size_t mnNoElems
 

Detailed Description

template<class C>
class ww::SortedArray< C >

simple template that manages a static array

The template sorts the array at construction in place.

Definition at line 34 of file sortedarray.hxx.

Constructor & Destructor Documentation

template<class C >
ww::SortedArray< C >::SortedArray ( const SortedArray< C > &  )
privatedelete
template<class C >
ww::SortedArray< C >::SortedArray ( C *  pWwSprmTab,
size_t  nNoElems 
)
inline

Definition at line 55 of file sortedarray.hxx.

References C, i, ww::SortedArray< C >::mpWwSprmTab, pHack, and SAL_WARN.

Member Function Documentation

template<class C >
SortedArray& ww::SortedArray< C >::operator= ( const SortedArray< C > &  )
privatedelete
template<class C >
const C* ww::SortedArray< C >::search ( aSrch) const
inline

Definition at line 45 of file sortedarray.hxx.

References C.

Referenced by SwWW8ImplReader::GetSprmReadInfo().

Member Data Documentation

template<class C >
size_t ww::SortedArray< C >::mnNoElems
private

Definition at line 39 of file sortedarray.hxx.

template<class C >
C* ww::SortedArray< C >::mpWwSprmTab
private

Definition at line 38 of file sortedarray.hxx.

Referenced by ww::SortedArray< C >::SortedArray().


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