LibreOffice Module xmlhelp (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
helpdatafileproxy::HDFData Class Reference

#include <db.hxx>

Public Member Functions

 HDFData ()
 
int getSize () const
 
const char * getData () const
 

Private Member Functions

void copyToBuffer (const char *pSrcData, int nSize)
 

Private Attributes

int m_nSize
 
std::unique_ptr< char[]> m_pBuffer
 

Friends

class Hdf
 

Detailed Description

Definition at line 30 of file db.hxx.

Constructor & Destructor Documentation

◆ HDFData()

helpdatafileproxy::HDFData::HDFData ( )
inline

Definition at line 40 of file db.hxx.

Member Function Documentation

◆ copyToBuffer()

void helpdatafileproxy::HDFData::copyToBuffer ( const char *  pSrcData,
int  nSize 
)
private

Definition at line 51 of file db.cxx.

References m_nSize, and m_pBuffer.

Referenced by helpdatafileproxy::Hdf::getValueForKey(), and helpdatafileproxy::Hdf::implReadLenAndData().

◆ getData()

const char * helpdatafileproxy::HDFData::getData ( ) const
inline

◆ getSize()

int helpdatafileproxy::HDFData::getSize ( ) const
inline

Definition at line 42 of file db.hxx.

References m_nSize.

Referenced by chelp::Databases::getKeyword(), and chelp::Databases::setActiveText().

Friends And Related Function Documentation

◆ Hdf

friend class Hdf
friend

Definition at line 32 of file db.hxx.

Member Data Documentation

◆ m_nSize

int helpdatafileproxy::HDFData::m_nSize
private

Definition at line 34 of file db.hxx.

Referenced by copyToBuffer(), and getSize().

◆ m_pBuffer

std::unique_ptr<char[]> helpdatafileproxy::HDFData::m_pBuffer
private

Definition at line 35 of file db.hxx.

Referenced by copyToBuffer(), and getData().


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