ncmpc  0.30
Data Structures | Public Member Functions | Data Fields
ListWindowRange Struct Reference

#include <ListWindow.hxx>

Data Structures

struct  const_iterator
 

Public Member Functions

constexpr bool empty () const
 
constexpr bool Contains (unsigned i) const
 
constexpr const_iterator begin () const
 
constexpr const_iterator end () const
 

Data Fields

unsigned start_index
 
unsigned end_index
 

Detailed Description

The bounds of a range selection, see list_window_get_range().

Member Function Documentation

◆ empty()

constexpr bool ListWindowRange::empty ( ) const
inline

◆ Contains()

constexpr bool ListWindowRange::Contains ( unsigned  i) const
inline

◆ begin()

constexpr const_iterator ListWindowRange::begin ( ) const
inline

◆ end()

constexpr const_iterator ListWindowRange::end ( ) const
inline

Field Documentation

◆ start_index

unsigned ListWindowRange::start_index

The index of the first selected item.

◆ end_index

unsigned ListWindowRange::end_index

The index after the last selected item. The selection is empty when this is the same as "start".


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