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

C++ wrapper for script metadata (ScriptInfo) from the OpenPine VM. More...

#include <optional>
#include <string_view>
#include "ffi.hpp"
#include "script_input.hpp"
#include "string_ref.hpp"
#include "types.hpp"

Go to the source code of this file.

Classes

class  openpine::ScriptInfo
 Script metadata (type, overlay, title, inputs, alerts) produced by the VM. More...

Namespaces

namespace  openpine

Detailed Description

C++ wrapper for script metadata (ScriptInfo) from the OpenPine VM.

Provides typed accessors around the raw script info pointer returned by the C ABI. All string views and structs that contain PineStringRef are valid only while the ScriptInfo (and its Instance) is alive.

Definition in file script_info.hpp.