LibreOffice Module basctl (master) 1
|
#include <breakpoint.hxx>
Public Member Functions | |
BreakPointList () | |
BreakPointList (BreakPointList const &rList) | |
~BreakPointList () | |
void | reset () |
void | transfer (BreakPointList &rList) |
void | InsertSorted (BreakPoint pBrk) |
BreakPoint * | FindBreakPoint (sal_uInt16 nLine) |
void | AdjustBreakPoints (sal_uInt16 nLine, bool bInserted) |
void | SetBreakPointsInBasic (SbModule *pModule) |
void | ResetHitCount () |
size_t | size () const |
BreakPoint & | at (size_t i) |
const BreakPoint & | at (size_t i) const |
void | remove (const BreakPoint *ptr) |
void | remove (size_t i) |
Private Member Functions | |
BreakPointList & | operator= (BreakPointList const &)=delete |
Private Attributes | |
std::vector< BreakPoint > | maBreakPoints |
Definition at line 47 of file breakpoint.hxx.
basctl::BreakPointList::BreakPointList | ( | ) |
Definition at line 29 of file breakpoint.cxx.
basctl::BreakPointList::BreakPointList | ( | BreakPointList const & | rList | ) |
Definition at line 32 of file breakpoint.cxx.
References at(), i, maBreakPoints, and size().
basctl::BreakPointList::~BreakPointList | ( | ) |
Definition at line 38 of file breakpoint.cxx.
void basctl::BreakPointList::AdjustBreakPoints | ( | sal_uInt16 | nLine, |
bool | bInserted | ||
) |
Definition at line 87 of file breakpoint.cxx.
References i, maBreakPoints, and basctl::BreakPoint::nLine.
Referenced by basctl::EditorWindow::ParagraphInsertedDeleted().
BreakPoint & basctl::BreakPointList::at | ( | size_t | i | ) |
Definition at line 146 of file breakpoint.cxx.
References i, and maBreakPoints.
Referenced by basctl::BreakPointDialog::BreakPointDialog(), BreakPointList(), basctl::BreakPointWindow::FindBreakPoint(), basctl::BreakPointDialog::GetSelectedBreakPoint(), and basctl::BreakPointWindow::Paint().
const BreakPoint & basctl::BreakPointList::at | ( | size_t | i | ) | const |
Definition at line 151 of file breakpoint.cxx.
References i, and maBreakPoints.
BreakPoint * basctl::BreakPointList::FindBreakPoint | ( | sal_uInt16 | nLine | ) |
Definition at line 77 of file breakpoint.cxx.
References maBreakPoints.
Referenced by basctl::ModulWindow::BasicBreakHdl(), basctl::ModulWindow::BasicToggleBreakPointEnabled(), basctl::BreakPointDialog::CheckButtons(), and basctl::ModulWindow::ToggleBreakPoint().
void basctl::BreakPointList::InsertSorted | ( | BreakPoint | pBrk | ) |
Definition at line 52 of file breakpoint.cxx.
References DBG_ASSERT, maBreakPoints, and basctl::BreakPoint::nLine.
Referenced by basctl::ModulWindow::ToggleBreakPoint().
|
privatedelete |
void basctl::BreakPointList::remove | ( | const BreakPoint * | ptr | ) |
Definition at line 127 of file breakpoint.cxx.
References i, and maBreakPoints.
Referenced by basctl::ModulWindow::ToggleBreakPoint().
void basctl::BreakPointList::remove | ( | size_t | i | ) |
Definition at line 136 of file breakpoint.cxx.
References idx, and maBreakPoints.
void basctl::BreakPointList::reset | ( | ) |
Definition at line 42 of file breakpoint.cxx.
References maBreakPoints.
Referenced by basctl::EditorWindow::ParagraphInsertedDeleted().
void basctl::BreakPointList::ResetHitCount | ( | ) |
Definition at line 119 of file breakpoint.cxx.
References maBreakPoints.
Referenced by basctl::ModulWindow::BasicStarted().
void basctl::BreakPointList::SetBreakPointsInBasic | ( | SbModule * | pModule | ) |
Definition at line 66 of file breakpoint.cxx.
References SbModule::ClearAllBP(), maBreakPoints, and SbModule::SetBP().
Referenced by basctl::ModulWindow::BasicStarted(), and basctl::ModulWindow::CheckCompileBasic().
size_t basctl::BreakPointList::size | ( | ) | const |
Definition at line 141 of file breakpoint.cxx.
References maBreakPoints.
Referenced by basctl::ModulWindow::BasicStarted(), basctl::BreakPointDialog::BreakPointDialog(), and BreakPointList().
void basctl::BreakPointList::transfer | ( | BreakPointList & | rList | ) |
Definition at line 47 of file breakpoint.cxx.
References maBreakPoints.
|
private |
Definition at line 51 of file breakpoint.hxx.
Referenced by AdjustBreakPoints(), at(), BreakPointList(), FindBreakPoint(), InsertSorted(), remove(), reset(), ResetHitCount(), SetBreakPointsInBasic(), size(), and transfer().