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:
Collaboration diagram for SwIndexReg:

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


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

Detailed Description

Definition at line 106 of file index.hxx.

Constructor & Destructor Documentation

SwIndexReg::SwIndexReg ( )

Definition at line 227 of file index.cxx.

SwIndexReg::~SwIndexReg ( )

Definition at line 232 of file index.cxx.

References m_pFirst, and m_pLast.

Member Function Documentation

const SwIndex* SwIndexReg::GetFirstIndex ( ) const
bool SwIndexReg::HasAnyIndex ( ) const

Definition at line 118 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 

Reimplemented in SwTextNode.

Definition at line 237 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)

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.

aPosthe position to check.

Definition at line 3582 of file crsrsh.cxx.

friend class SwIndex

Member Data Documentation

const SwIndex* SwIndexReg::m_pFirst

Definition at line 111 of file index.hxx.

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

const SwIndex* SwIndexReg::m_pLast

Definition at line 112 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: