LibreOffice Module svx (master) 1
Public Member Functions | Private Attributes | List of all members
SdrHelpLineList Class Reference

#include <svdhlpln.hxx>

Public Member Functions

 SdrHelpLineList ()
 
 SdrHelpLineList (const SdrHelpLineList &rSrcList)
 
SdrHelpLineListoperator= (const SdrHelpLineList &rSrcList)
 
bool operator== (const SdrHelpLineList &rCmp) const
 
bool operator!= (const SdrHelpLineList &rCmp) const
 
sal_uInt16 GetCount () const
 
void Insert (const SdrHelpLine &rHL)
 
void Insert (const SdrHelpLine &rHL, sal_uInt16 nPos)
 
void Delete (sal_uInt16 nPos)
 
SdrHelpLineoperator[] (sal_uInt16 nPos)
 
const SdrHelpLineoperator[] (sal_uInt16 nPos) const
 
sal_uInt16 HitTest (const Point &rPnt, sal_uInt16 nTolLog, const OutputDevice &rOut) const
 

Private Attributes

std::vector< std::unique_ptr< SdrHelpLine > > aList
 

Detailed Description

Definition at line 61 of file svdhlpln.hxx.

Constructor & Destructor Documentation

◆ SdrHelpLineList() [1/2]

SdrHelpLineList::SdrHelpLineList ( )
inline

Definition at line 65 of file svdhlpln.hxx.

◆ SdrHelpLineList() [2/2]

SdrHelpLineList::SdrHelpLineList ( const SdrHelpLineList rSrcList)
inline

Definition at line 66 of file svdhlpln.hxx.

Member Function Documentation

◆ Delete()

void SdrHelpLineList::Delete ( sal_uInt16  nPos)
inline

Definition at line 79 of file svdhlpln.hxx.

References nPos.

Referenced by SdrPageView::DeleteHelpLine().

◆ GetCount()

sal_uInt16 SdrHelpLineList::GetCount ( ) const
inline

◆ HitTest()

sal_uInt16 SdrHelpLineList::HitTest ( const Point rPnt,
sal_uInt16  nTolLog,
const OutputDevice rOut 
) const

Definition at line 99 of file svdhlpln.cxx.

References aList, GetCount(), i, nCount, and SDRHELPLINE_NOTFOUND.

Referenced by SdrSnapView::PickHelpLine().

◆ Insert() [1/2]

void SdrHelpLineList::Insert ( const SdrHelpLine rHL)
inline

Definition at line 71 of file svdhlpln.hxx.

Referenced by SdrPageView::InsertHelpLine(), and operator=().

◆ Insert() [2/2]

void SdrHelpLineList::Insert ( const SdrHelpLine rHL,
sal_uInt16  nPos 
)
inline

Definition at line 72 of file svdhlpln.hxx.

References nPos.

◆ operator!=()

bool SdrHelpLineList::operator!= ( const SdrHelpLineList rCmp) const
inline

Definition at line 69 of file svdhlpln.hxx.

References operator==().

◆ operator=()

SdrHelpLineList & SdrHelpLineList::operator= ( const SdrHelpLineList rSrcList)

Definition at line 74 of file svdhlpln.cxx.

References aList, GetCount(), i, Insert(), and nCount.

◆ operator==()

bool SdrHelpLineList::operator== ( const SdrHelpLineList rCmp) const

Definition at line 84 of file svdhlpln.cxx.

References aList, GetCount(), i, and nCount.

◆ operator[]() [1/2]

SdrHelpLine & SdrHelpLineList::operator[] ( sal_uInt16  nPos)
inline

Definition at line 83 of file svdhlpln.hxx.

References nPos.

◆ operator[]() [2/2]

const SdrHelpLine & SdrHelpLineList::operator[] ( sal_uInt16  nPos) const
inline

Definition at line 84 of file svdhlpln.hxx.

References nPos.

Member Data Documentation

◆ aList

std::vector<std::unique_ptr<SdrHelpLine> > SdrHelpLineList::aList
private

Definition at line 62 of file svdhlpln.hxx.

Referenced by HitTest(), operator=(), and operator==().


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