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)
 
void Clear ()
 
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::SdrHelpLineList ( )
inline

Definition at line 65 of file svdhlpln.hxx.

SdrHelpLineList::SdrHelpLineList ( const SdrHelpLineList rSrcList)
inline

Definition at line 66 of file svdhlpln.hxx.

Member Function Documentation

void SdrHelpLineList::Clear ( )

Definition at line 77 of file svdhlpln.cxx.

References aList.

Referenced by operator=().

void SdrHelpLineList::Delete ( sal_uInt16  nPos)
inline

Definition at line 80 of file svdhlpln.hxx.

Referenced by SdrPageView::DeleteHelpLine().

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

Definition at line 107 of file svdhlpln.cxx.

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

Referenced by SdrSnapView::PickHelpLine().

void SdrHelpLineList::Insert ( const SdrHelpLine rHL)
inline

Definition at line 72 of file svdhlpln.hxx.

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

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

Definition at line 73 of file svdhlpln.hxx.

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

Definition at line 70 of file svdhlpln.hxx.

References sdr::contact::operator==().

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

Definition at line 82 of file svdhlpln.cxx.

References Clear(), GetCount(), i, and Insert().

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

Definition at line 92 of file svdhlpln.cxx.

References aList, GetCount(), and i.

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

Definition at line 84 of file svdhlpln.hxx.

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

Definition at line 85 of file svdhlpln.hxx.

Member Data Documentation

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

Definition at line 62 of file svdhlpln.hxx.

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


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