OpenPine C++ API
C++ wrapper for the OpenPine Pine Script VM
Loading...
Searching...
No Matches
script_input.hpp File Reference

C++ wrapper for a single script input (ScriptInput) from the OpenPine VM. More...

#include <optional>
#include "ffi.hpp"
#include "inputs.hpp"
#include "types.hpp"

Go to the source code of this file.

Classes

class  openpine::ScriptInput
 Wrapper for a single script input (borrowed from ScriptInfo). More...

Namespaces

namespace  openpine

Detailed Description

C++ wrapper for a single script input (ScriptInput) from the OpenPine VM.

Represents one declared user input; the pointer is borrowed from ScriptInfo. Use asInt(), asFloat(), etc. to get the typed payload (including metadata).

Definition in file script_input.hpp.