OpenPine C++ API
C++ wrapper for the OpenPine Pine Script VM
Loading...
Searching...
No Matches
openpine::graph::Table Class Reference

Represents a table graph. More...

#include <table.hpp>

Public Member Functions

 Table (const ffi::Table *p)
TablePosition position () const
 Gets the table anchor position.
uintptr_t numColumns () const
 Gets the number of columns.
uintptr_t numRows () const
 Gets the number of rows.
std::optional< uint32_t > backgroundColor () const
 Gets the optional table background color.
std::optional< uint32_t > frameColor () const
 Gets the optional table frame color.
int32_t frameWidth () const
 Gets the frame width.
std::optional< uint32_t > borderColor () const
 Gets the optional border color.
int32_t borderWidth () const
 Gets the border width.
bool forceOverlay () const
 Gets whether the table is forced to render as overlay.
std::optional< TableCellcell (uintptr_t row, uintptr_t col) const
 Gets the cell wrapper at row/col.

Detailed Description

Represents a table graph.

Definition at line 127 of file table.hpp.

Constructor & Destructor Documentation

◆ Table()

openpine::graph::Table::Table ( const ffi::Table * p)
inline

Definition at line 132 of file table.hpp.

Member Function Documentation

◆ backgroundColor()

std::optional< uint32_t > openpine::graph::Table::backgroundColor ( ) const
inline

Gets the optional table background color.

Definition at line 152 of file table.hpp.

◆ borderColor()

std::optional< uint32_t > openpine::graph::Table::borderColor ( ) const
inline

Gets the optional border color.

Definition at line 181 of file table.hpp.

◆ borderWidth()

int32_t openpine::graph::Table::borderWidth ( ) const
inline

Gets the border width.

Definition at line 193 of file table.hpp.

◆ cell()

std::optional< TableCell > openpine::graph::Table::cell ( uintptr_t row,
uintptr_t col ) const
inline

Gets the cell wrapper at row/col.

Definition at line 203 of file table.hpp.

◆ forceOverlay()

bool openpine::graph::Table::forceOverlay ( ) const
inline

Gets whether the table is forced to render as overlay.

Definition at line 198 of file table.hpp.

◆ frameColor()

std::optional< uint32_t > openpine::graph::Table::frameColor ( ) const
inline

Gets the optional table frame color.

Definition at line 164 of file table.hpp.

◆ frameWidth()

int32_t openpine::graph::Table::frameWidth ( ) const
inline

Gets the frame width.

Definition at line 176 of file table.hpp.

◆ numColumns()

uintptr_t openpine::graph::Table::numColumns ( ) const
inline

Gets the number of columns.

Definition at line 142 of file table.hpp.

◆ numRows()

uintptr_t openpine::graph::Table::numRows ( ) const
inline

Gets the number of rows.

Definition at line 147 of file table.hpp.

◆ position()

TablePosition openpine::graph::Table::position ( ) const
inline

Gets the table anchor position.

Definition at line 137 of file table.hpp.


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