Notcurses 3.0.13
a blingful library for TUIs and character graphics
Loading...
Searching...
No Matches
PlotU Class Reference

#include <Plot.hh>

Inheritance diagram for PlotU:
Collaboration diagram for PlotU:

Public Member Functions

 PlotU (Plane *plane, const ncplot_options *opts=nullptr)
 
 PlotU (Plane const *plane, const ncplot_options *opts=nullptr)
 
 PlotU (Plane &plane, const ncplot_options *opts=nullptr)
 
 PlotU (Plane const &plane, const ncplot_options *opts=nullptr)
 
Planeget_plane () const noexcept
 
- Public Member Functions inherited from PlotBase< ncuplot, uint64_t >
bool add_sample (uint64_t x, uint64_t y) const NOEXCEPT_MAYBE
 
bool set_sample (uint64_t x, uint64_t y) const NOEXCEPT_MAYBE
 
bool sample (uint64_t x, uint64_t *y) const NOEXCEPT_MAYBE
 
- Public Member Functions inherited from Root
notcursesget_notcurses () const
 
NotCursesget_notcurses_cpp () const
 

Static Public Attributes

static ncplot_options default_options
 

Additional Inherited Members

- Protected Member Functions inherited from PlotBase< ncuplot, uint64_t >
 PlotBase (Plane *plane, const ncplot_options *opts, uint64_t miny=0, uint64_t maxy=0)
 
 ~PlotBase ()
 
ncuplot * get_plot () const noexcept
 
- Protected Member Functions inherited from Widget
 Widget (NotCurses *ncinst)
 
void ensure_valid_plane (Plane *plane) const
 
void ensure_valid_plane (Plane &plane) const
 
void take_plane_ownership (Plane *plane) const
 
void take_plane_ownership (Plane &plane) const
 
- Protected Member Functions inherited from Root
 Root (NotCurses *ncinst)
 
bool is_notcurses_stopped () const noexcept
 
- Static Protected Member Functions inherited from Root
template<typename TRet = bool, typename TValue = int>
static TRet error_guard (TValue ret, TValue error_value)
 
template<typename TRet = bool, typename TValue = int>
static TRet error_guard_cond (TValue ret, bool error_value)
 
- Static Protected Attributes inherited from Root
static constexpr char ncpp_invalid_state_message [] = "notcurses++ is in an invalid state (already stopped?)"
 

Detailed Description

Definition at line 111 of file Plot.hh.

Constructor & Destructor Documentation

◆ PlotU() [1/4]

PlotU ( Plane plane,
const ncplot_options opts = nullptr 
)
inlineexplicit

Definition at line 117 of file Plot.hh.

118 : PlotU (static_cast<const Plane*>(plane), opts)
119 {}
PlotU(Plane *plane, const ncplot_options *opts=nullptr)
Definition Plot.hh:117
const struct ncplane_options * opts
Definition notcurses.h:3483

◆ PlotU() [2/4]

PlotU ( Plane const plane,
const ncplot_options opts = nullptr 
)
inlineexplicit

Definition at line 121 of file Plot.hh.

122 : PlotBase (const_cast<Plane*>(plane), opts == nullptr ? &default_options : opts)
123 {}
PlotBase(Plane *plane, const ncplot_options *opts, uint64_t miny=0, uint64_t maxy=0)
Definition Plot.hh:61
static ncplot_options default_options
Definition Plot.hh:114

◆ PlotU() [3/4]

PlotU ( Plane plane,
const ncplot_options opts = nullptr 
)
inlineexplicit

Definition at line 125 of file Plot.hh.

126 : PlotU (static_cast<Plane const&>(plane), opts)
127 {}
static TRet error_guard(TValue ret, TValue error_value)
Definition Root.hh:39

◆ PlotU() [4/4]

PlotU ( Plane const plane,
const ncplot_options opts = nullptr 
)
inlineexplicit

Definition at line 129 of file Plot.hh.

130 : PlotBase (const_cast<Plane*>(&plane), opts == nullptr ? &default_options : opts)
131 {}

Member Function Documentation

◆ get_plane()

Plane * get_plane ( ) const
noexcept

Field Documentation

◆ default_options

ncplot_options default_options
static

Definition at line 114 of file Plot.hh.


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