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 22 of file BorderCacheOwner.hxx.

Constructor & Destructor Documentation

sw::BorderCacheOwner::BorderCacheOwner ( )
inline

Definition at line 30 of file BorderCacheOwner.hxx.

sw::BorderCacheOwner::BorderCacheOwner ( BorderCacheOwner )
inline

Definition at line 34 of file BorderCacheOwner.hxx.

BorderCacheOwner::~BorderCacheOwner ( )

Definition at line 18 of file BorderCacheOwner.cxx.

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

Member Function Documentation

void BorderCacheOwner::InvalidateInSwCache ( const sal_uInt16  nWhich)
bool sw::BorderCacheOwner::IsInCache ( ) const
inline

Definition at line 44 of file BorderCacheOwner.hxx.

References m_bInCache.

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

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

Definition at line 38 of file BorderCacheOwner.hxx.

Member Data Documentation

bool sw::BorderCacheOwner::m_bInCache
private
friend sw::BorderCacheOwner::SwBorderAttrAccess
private

Definition at line 26 of file BorderCacheOwner.hxx.

friend sw::BorderCacheOwner::SwBorderAttrs
private

Definition at line 25 of file BorderCacheOwner.hxx.


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