LibreOffice Module i18npool (master)  1
Public Member Functions | Private Attributes | List of all members
WLevDisPatternMem Class Reference

"Safe" memory allocation in ctor More...

#include <levdis.hxx>

Public Member Functions

 WLevDisPatternMem (sal_Int32 s)
 
sal_UnicodeGetcPtr () const
 
bool * GetbPtr () const
 

Private Attributes

std::unique_ptr< sal_Unicode[]> cp
 
std::unique_ptr< bool[]> bp
 

Detailed Description

"Safe" memory allocation in ctor

Definition at line 97 of file levdis.hxx.

Constructor & Destructor Documentation

WLevDisPatternMem::WLevDisPatternMem ( sal_Int32  s)
inlineexplicit

Definition at line 102 of file levdis.hxx.

Member Function Documentation

bool* WLevDisPatternMem::GetbPtr ( ) const
inline

Definition at line 109 of file levdis.hxx.

Referenced by WLevDistance::InitData(), and WLevDistance::WLevDistance().

sal_Unicode* WLevDisPatternMem::GetcPtr ( ) const
inline

Definition at line 108 of file levdis.hxx.

Referenced by WLevDistance::InitData(), and WLevDistance::WLevDistance().

Member Data Documentation

std::unique_ptr<bool[]> WLevDisPatternMem::bp
private

Definition at line 100 of file levdis.hxx.

std::unique_ptr<sal_Unicode[]> WLevDisPatternMem::cp
private

Definition at line 99 of file levdis.hxx.


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