LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
sw::BorderCacheOwner Class Reference

Bookkeeping helper for SwCache caching writer borders. More...

#include <BorderCacheOwner.hxx>

Inheritance diagram for sw::BorderCacheOwner:
[legend]

Public Member Functions

 BorderCacheOwner ()
 
 BorderCacheOwner (BorderCacheOwner &)
 
BorderCacheOwneroperator= (const BorderCacheOwner &)
 
 ~BorderCacheOwner ()
 
bool IsInCache () const
 
void InvalidateInSwCache (const sal_uInt16)
 

Private Attributes

friend SwBorderAttrs
 
friend SwBorderAttrAccess
 
bool m_bInCache
 

Detailed Description

Bookkeeping helper for SwCache caching writer borders.

Definition at line 20 of file BorderCacheOwner.hxx.

Constructor & Destructor Documentation

◆ BorderCacheOwner() [1/2]

sw::BorderCacheOwner::BorderCacheOwner ( )
inline

Definition at line 28 of file BorderCacheOwner.hxx.

◆ BorderCacheOwner() [2/2]

sw::BorderCacheOwner::BorderCacheOwner ( BorderCacheOwner )
inline

Definition at line 32 of file BorderCacheOwner.hxx.

◆ ~BorderCacheOwner()

BorderCacheOwner::~BorderCacheOwner ( )

Definition at line 18 of file BorderCacheOwner.cxx.

References SwCache::Delete(), SwFrame::GetCache(), and m_bInCache.

Member Function Documentation

◆ InvalidateInSwCache()

void BorderCacheOwner::InvalidateInSwCache ( const sal_uInt16  nWhich)

◆ IsInCache()

bool sw::BorderCacheOwner::IsInCache ( ) const
inline

Definition at line 42 of file BorderCacheOwner.hxx.

References m_bInCache.

Referenced by SwFormat::ResetFormatAttr(), and SwNode::~SwNode().

◆ operator=()

BorderCacheOwner & sw::BorderCacheOwner::operator= ( const BorderCacheOwner )
inline

Definition at line 36 of file BorderCacheOwner.hxx.

References m_bInCache.

Member Data Documentation

◆ m_bInCache

bool sw::BorderCacheOwner::m_bInCache
private

◆ SwBorderAttrAccess

friend sw::BorderCacheOwner::SwBorderAttrAccess
private

Definition at line 24 of file BorderCacheOwner.hxx.

◆ SwBorderAttrs

friend sw::BorderCacheOwner::SwBorderAttrs
private

Definition at line 23 of file BorderCacheOwner.hxx.


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