LLDB  mainline
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
ValueObjectListDelegate Class Reference
Inheritance diagram for ValueObjectListDelegate:
Inheritance graph
[legend]
Collaboration diagram for ValueObjectListDelegate:
Collaboration graph
[legend]

Public Member Functions

 ValueObjectListDelegate ()
 
 ValueObjectListDelegate (ValueObjectList &valobj_list)
 
 ~ValueObjectListDelegate () override=default
 
void SetValues (ValueObjectList &valobj_list)
 
bool WindowDelegateDraw (Window &window, bool force) override
 
KeyHelpWindowDelegateGetKeyHelp () override
 
HandleCharResult WindowDelegateHandleChar (Window &window, int c) override
 
- Public Member Functions inherited from curses::WindowDelegate
virtual ~WindowDelegate ()=default
 
virtual const char * WindowDelegateGetHelpText ()
 

Protected Member Functions

bool DisplayRowObject (Window &window, Row &row, DisplayOptions &options, bool highlight, bool last_child)
 
void DisplayRows (Window &window, std::vector< Row > &rows, DisplayOptions &options)
 
int CalculateTotalNumberRows (std::vector< Row > &rows)
 
RowGetRowForRowIndex (size_t row_index)
 
int NumVisibleRows () const
 

Static Protected Member Functions

static Format FormatForChar (int c)
 
static RowGetRowForRowIndexImpl (std::vector< Row > &rows, size_t &row_index)
 

Protected Attributes

std::vector< Rowm_rows
 
Rowm_selected_row
 
uint32_t m_selected_row_idx
 
uint32_t m_first_visible_row
 
uint32_t m_num_rows
 
int m_min_x
 
int m_min_y
 
int m_max_x
 
int m_max_y
 

Static Protected Attributes

static DisplayOptions g_options = {true}
 

Detailed Description

Definition at line 2633 of file IOHandler.cpp.

Constructor & Destructor Documentation

◆ ValueObjectListDelegate() [1/2]

ValueObjectListDelegate::ValueObjectListDelegate ( )
inline

Definition at line 2635 of file IOHandler.cpp.

◆ ValueObjectListDelegate() [2/2]

ValueObjectListDelegate::ValueObjectListDelegate ( ValueObjectList valobj_list)
inline

Definition at line 2640 of file IOHandler.cpp.

◆ ~ValueObjectListDelegate()

ValueObjectListDelegate::~ValueObjectListDelegate ( )
overridedefault

Member Function Documentation

◆ CalculateTotalNumberRows()

int ValueObjectListDelegate::CalculateTotalNumberRows ( std::vector< Row > &  rows)
inlineprotected

Definition at line 2963 of file IOHandler.cpp.

◆ DisplayRowObject()

bool ValueObjectListDelegate::DisplayRowObject ( Window window,
Row row,
DisplayOptions options,
bool  highlight,
bool  last_child 
)
inlineprotected

◆ DisplayRows()

void ValueObjectListDelegate::DisplayRows ( Window window,
std::vector< Row > &  rows,
DisplayOptions options 
)
inlineprotected

Definition at line 2926 of file IOHandler.cpp.

References curses::Window::IsActive().

◆ FormatForChar()

static Format ValueObjectListDelegate::FormatForChar ( int  c)
inlinestaticprotected

◆ GetRowForRowIndex()

Row* ValueObjectListDelegate::GetRowForRowIndex ( size_t  row_index)
inlineprotected

Definition at line 2990 of file IOHandler.cpp.

◆ GetRowForRowIndexImpl()

static Row* ValueObjectListDelegate::GetRowForRowIndexImpl ( std::vector< Row > &  rows,
size_t &  row_index 
)
inlinestaticprotected

Definition at line 2973 of file IOHandler.cpp.

References Row::GetChildren().

◆ NumVisibleRows()

int ValueObjectListDelegate::NumVisibleRows ( ) const
inlineprotected

Definition at line 2994 of file IOHandler.cpp.

◆ SetValues()

void ValueObjectListDelegate::SetValues ( ValueObjectList valobj_list)
inline

Definition at line 2649 of file IOHandler.cpp.

References lldb_private::ValueObjectList::GetObjects().

◆ WindowDelegateDraw()

bool ValueObjectListDelegate::WindowDelegateDraw ( Window window,
bool  force 
)
inlineoverridevirtual

◆ WindowDelegateGetKeyHelp()

KeyHelp* ValueObjectListDelegate::WindowDelegateGetKeyHelp ( )
inlineoverridevirtual

Reimplemented from curses::WindowDelegate.

Definition at line 2698 of file IOHandler.cpp.

◆ WindowDelegateHandleChar()

HandleCharResult ValueObjectListDelegate::WindowDelegateHandleChar ( Window window,
int  c 
)
inlineoverridevirtual

Member Data Documentation

◆ g_options

DisplayOptions ValueObjectListDelegate::g_options = {true}
staticprotected

Definition at line 2996 of file IOHandler.cpp.

◆ m_first_visible_row

uint32_t ValueObjectListDelegate::m_first_visible_row
protected

Definition at line 2831 of file IOHandler.cpp.

◆ m_max_x

int ValueObjectListDelegate::m_max_x
protected

Definition at line 2835 of file IOHandler.cpp.

◆ m_max_y

int ValueObjectListDelegate::m_max_y
protected

Definition at line 2836 of file IOHandler.cpp.

◆ m_min_x

int ValueObjectListDelegate::m_min_x
protected

Definition at line 2833 of file IOHandler.cpp.

◆ m_min_y

int ValueObjectListDelegate::m_min_y
protected

Definition at line 2834 of file IOHandler.cpp.

◆ m_num_rows

uint32_t ValueObjectListDelegate::m_num_rows
protected

Definition at line 2832 of file IOHandler.cpp.

◆ m_rows

std::vector<Row> ValueObjectListDelegate::m_rows
protected

Definition at line 2828 of file IOHandler.cpp.

◆ m_selected_row

Row* ValueObjectListDelegate::m_selected_row
protected

Definition at line 2829 of file IOHandler.cpp.

◆ m_selected_row_idx

uint32_t ValueObjectListDelegate::m_selected_row_idx
protected

Definition at line 2830 of file IOHandler.cpp.


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