CACAO
Public Member Functions | Private Attributes
BreakpointTable Class Reference

This class is used to record breakpoints in the methodinfo structure. More...

Public Member Functions

bool is_empty ()
 
bool contains (int32_t location)
 
Breakpointadd_breakpoint (int32_t location)
 
Breakpointget_breakpoint (int32_t location)
 
void remove_breakpoint (int32_t location)
 

Private Attributes

std::map< int32_t, Breakpoint_breakpoints
 

Detailed Description

This class is used to record breakpoints in the methodinfo structure.

The term "location" is used to refer to the bytecode index at which the breakpoint should be placed.

Definition at line 56 of file breakpoint.hpp.

Member Function Documentation

Breakpoint * BreakpointTable::add_breakpoint ( int32_t  location)
inline

Definition at line 82 of file breakpoint.hpp.

bool BreakpointTable::contains ( int32_t  location)
inline

Definition at line 77 of file breakpoint.hpp.

Breakpoint * BreakpointTable::get_breakpoint ( int32_t  location)
inline

Definition at line 89 of file breakpoint.hpp.

bool BreakpointTable::is_empty ( )
inline

Definition at line 72 of file breakpoint.hpp.

void BreakpointTable::remove_breakpoint ( int32_t  location)
inline

Definition at line 95 of file breakpoint.hpp.

Field Documentation

std::map<int32_t, Breakpoint> BreakpointTable::_breakpoints
private

Definition at line 58 of file breakpoint.hpp.


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