LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
SwIndexReg Class Reference

#include <index.hxx>

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

Public Member Functions

 SwIndexReg ()
 
virtual ~SwIndexReg ()
 
void MoveTo (SwIndexReg &rArr)
 
const SwIndexGetFirstIndex () const
 

Protected Member Functions

virtual void Update (SwIndex const &rPos, const sal_Int32 nChangeLen, const bool bNegative=false, const bool bDelete=false)
 
bool HasAnyIndex () const
 

Private Attributes

const SwIndexm_pFirst
 
const SwIndexm_pLast
 

Friends

class SwIndex
 
bool sw_PosOk (const SwPosition &aPos)
 Checks if a position is valid. More...
 

Detailed Description

Definition at line 110 of file index.hxx.

Constructor & Destructor Documentation

SwIndexReg::SwIndexReg ( )

Definition at line 219 of file index.cxx.

SwIndexReg::~SwIndexReg ( )
virtual

Definition at line 224 of file index.cxx.

References m_pFirst, and m_pLast.

Member Function Documentation

const SwIndex* SwIndexReg::GetFirstIndex ( ) const
inline

Definition at line 129 of file index.hxx.

Referenced by SwScriptInfo::selectHiddenTextProperty(), and SwTextNode::Update().

bool SwIndexReg::HasAnyIndex ( ) const
inlineprotected

Definition at line 122 of file index.hxx.

Referenced by SwTextNode::JoinNext(), and SwTextNode::JoinPrev().

void SwIndexReg::MoveTo ( SwIndexReg rArr)
void SwIndexReg::Update ( SwIndex const &  rPos,
const sal_Int32  nChangeLen,
const bool  bNegative = false,
const bool  bDelete = false 
)
protectedvirtual

Reimplemented in SwTextNode.

Definition at line 229 of file index.cxx.

References SwIndex::GetIndex(), SwIndex::m_nIndex, SwIndex::m_pMark, SwIndex::m_pNext, and SwIndex::m_pPrev.

Referenced by SwTextNode::Update().

Friends And Related Function Documentation

bool sw_PosOk ( const SwPosition aPos)
friend

Checks if a position is valid.

To be valid the position's node must be a content node and the content must not be unregistered.

Parameters
aPosthe position to check.

Definition at line 3522 of file crsrsh.cxx.

friend class SwIndex
friend

Member Data Documentation

const SwIndex* SwIndexReg::m_pFirst
private

Definition at line 115 of file index.hxx.

Referenced by SwIndex::ChgValue(), SwIndex::Init(), MoveTo(), SwIndex::Remove(), and ~SwIndexReg().

const SwIndex* SwIndexReg::m_pLast
private

Definition at line 116 of file index.hxx.

Referenced by SwIndex::ChgValue(), SwIndex::Init(), MoveTo(), SwIndex::Remove(), and ~SwIndexReg().


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