|
OpenPine C++ API
C++ wrapper for the OpenPine Pine Script VM
|
Wrapper for a symbol script input. More...
#include <input_symbol.hpp>
Public Member Functions | |
| InputSymbol (const ffi::InputSymbol &data) | |
| Constructs from FFI data. | |
| int64_t | id () const |
| Input ID. | |
| std::string_view | defaultValue () const |
| Default value. | |
| std::optional< std::string_view > | title () const |
| Optional title. | |
| std::optional< std::string_view > | tooltip () const |
| Optional tooltip. | |
| std::optional< std::string_view > | inlineGroup () const |
| Optional inline group name. | |
| std::optional< std::string_view > | group () const |
| Optional group name. | |
| uint64_t | display () const |
| Display bitmask. | |
| bool | active () const |
| Whether the input is active. | |
| bool | confirm () const |
| Whether the input requires confirmation. | |
Wrapper for a symbol script input.
Definition at line 25 of file input_symbol.hpp.
|
inlineexplicit |
Constructs from FFI data.
Definition at line 28 of file input_symbol.hpp.
|
inline |
Whether the input is active.
Definition at line 54 of file input_symbol.hpp.
|
inline |
Whether the input requires confirmation.
Definition at line 56 of file input_symbol.hpp.
|
inline |
Default value.
Definition at line 32 of file input_symbol.hpp.
References openpine::detail::refToView().
|
inline |
Display bitmask.
Definition at line 52 of file input_symbol.hpp.
|
inline |
Optional group name.
Definition at line 48 of file input_symbol.hpp.
References openpine::detail::optRefToView().
|
inline |
Input ID.
Definition at line 30 of file input_symbol.hpp.
|
inline |
Optional inline group name.
Definition at line 44 of file input_symbol.hpp.
References openpine::detail::optRefToView().
|
inline |
Optional title.
Definition at line 36 of file input_symbol.hpp.
References openpine::detail::optRefToView().
|
inline |
Optional tooltip.
Definition at line 40 of file input_symbol.hpp.
References openpine::detail::optRefToView().