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::WLevDisPatternMem ( sal_Int32  s)
inlineexplicit

Definition at line 102 of file levdis.hxx.

Member Function Documentation

◆ GetbPtr()

bool * WLevDisPatternMem::GetbPtr ( ) const
inline

Definition at line 109 of file levdis.hxx.

References bp.

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

◆ GetcPtr()

sal_Unicode * WLevDisPatternMem::GetcPtr ( ) const
inline

Definition at line 108 of file levdis.hxx.

References cp.

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

Member Data Documentation

◆ bp

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

Definition at line 100 of file levdis.hxx.

Referenced by GetbPtr().

◆ cp

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

Definition at line 99 of file levdis.hxx.

Referenced by GetcPtr().


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