LibreOffice Module sot (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
StgPage Class Reference

#include <stgcache.hxx>

Inheritance diagram for StgPage:
[legend]
Collaboration diagram for StgPage:
[legend]

Public Member Functions

 StgPage (const StgPage &)=delete
 
StgPageoperator= (const StgPage &)=delete
 
sal_Int32 GetPage () const
 
void * GetData ()
 
short GetSize () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Static Public Member Functions

static rtl::Reference< StgPageCreate (short nData, sal_Int32 nPage)
 
static bool IsPageGreater (const StgPage *pA, const StgPage *pB)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 

Private Member Functions

 StgPage (short nData, sal_Int32 nPage)
 
virtual ~StgPage () override
 

Private Attributes

const sal_Int32 mnPage
 
std::unique_ptr< sal_uInt8[]> mpData
 
short mnSize
 

Additional Inherited Members

- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 96 of file stgcache.hxx.

Constructor & Destructor Documentation

◆ StgPage() [1/2]

StgPage::StgPage ( short  nData,
sal_Int32  nPage 
)
private

Definition at line 35 of file stgcache.cxx.

References mnSize, mnSize, and mpData.

Referenced by Create().

◆ ~StgPage()

StgPage::~StgPage ( )
overrideprivatevirtual

Definition at line 46 of file stgcache.cxx.

◆ StgPage() [2/2]

StgPage::StgPage ( const StgPage )
delete

Member Function Documentation

◆ Create()

rtl::Reference< StgPage > StgPage::Create ( short  nData,
sal_Int32  nPage 
)
static

Definition at line 50 of file stgcache.cxx.

References StgPage().

Referenced by StgCache::Create().

◆ GetData()

void * StgPage::GetData ( )
inline

Definition at line 110 of file stgcache.hxx.

References mpData.

◆ GetPage()

sal_Int32 StgPage::GetPage ( ) const
inline

Definition at line 109 of file stgcache.hxx.

References mnPage.

◆ GetSize()

short StgPage::GetSize ( ) const
inline

Definition at line 111 of file stgcache.hxx.

References mnSize.

◆ IsPageGreater()

bool StgPage::IsPageGreater ( const StgPage pA,
const StgPage pB 
)
static

Definition at line 67 of file stgcache.cxx.

References mnPage.

Referenced by StgCache::Commit().

◆ operator=()

StgPage & StgPage::operator= ( const StgPage )
delete

Member Data Documentation

◆ mnPage

const sal_Int32 StgPage::mnPage
private

Definition at line 98 of file stgcache.hxx.

Referenced by GetPage(), and IsPageGreater().

◆ mnSize

short StgPage::mnSize
private

Definition at line 101 of file stgcache.hxx.

Referenced by GetSize(), and StgPage().

◆ mpData

std::unique_ptr<sal_uInt8[]> StgPage::mpData
private

Definition at line 100 of file stgcache.hxx.

Referenced by GetData(), and StgPage().


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