|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <str_utils.hpp>
Public Types | |
| enum class | Kind { Number , Text } |
Public Member Functions | |
| template<class T, std::enable_if_t< std::is_arithmetic_v< T > &&!std::is_same_v< T, bool >, int > = 0> | |
| ScriptStrFormatValue (T value) | |
| ScriptStrFormatValue (bool value) | |
| ScriptStrFormatValue (ScriptString value) | |
| ScriptStrFormatValue (const char *value) | |
Data Fields | |
| Kind | kind |
| double | number = 0.0 |
| ScriptString | text |
Definition at line 35 of file str_utils.hpp.
|
strong |
| Enumerator | |
|---|---|
| Number | |
| Text | |
Definition at line 36 of file str_utils.hpp.
|
inline |
Definition at line 42 of file str_utils.hpp.
References kind, pineforge::na< double >(), Number, and number.
|
inline |
Definition at line 47 of file str_utils.hpp.
|
inline |
Definition at line 48 of file str_utils.hpp.
|
inline |
Definition at line 49 of file str_utils.hpp.
| Kind pineforge::ScriptStrFormatValue::kind |
Definition at line 37 of file str_utils.hpp.
Referenced by ScriptStrFormatValue(), ScriptStrFormatValue(), ScriptStrFormatValue(), and ScriptStrFormatValue().
| double pineforge::ScriptStrFormatValue::number = 0.0 |
Definition at line 38 of file str_utils.hpp.
Referenced by ScriptStrFormatValue().
| ScriptString pineforge::ScriptStrFormatValue::text |
Definition at line 39 of file str_utils.hpp.
Referenced by ScriptStrFormatValue(), ScriptStrFormatValue(), and ScriptStrFormatValue().