|
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> | |
| StrFormatValue (T value) | |
| StrFormatValue (bool value) | |
| StrFormatValue (const std::string &value) | |
| StrFormatValue (const char *value) | |
Data Fields | |
| Kind | kind |
| double | number = 0.0 |
| std::string | text |
Definition at line 14 of file str_utils.hpp.
|
strong |
| Enumerator | |
|---|---|
| Number | |
| Text | |
Definition at line 15 of file str_utils.hpp.
|
inline |
Definition at line 22 of file str_utils.hpp.
References kind, pineforge::na< double >(), Number, and number.
|
inline |
Definition at line 27 of file str_utils.hpp.
|
inline |
Definition at line 28 of file str_utils.hpp.
|
inline |
Definition at line 29 of file str_utils.hpp.
| Kind pineforge::StrFormatValue::kind |
Definition at line 16 of file str_utils.hpp.
Referenced by StrFormatValue(), StrFormatValue(), StrFormatValue(), and StrFormatValue().
| double pineforge::StrFormatValue::number = 0.0 |
Definition at line 17 of file str_utils.hpp.
Referenced by StrFormatValue().
| std::string pineforge::StrFormatValue::text |
Definition at line 18 of file str_utils.hpp.
Referenced by StrFormatValue(), StrFormatValue(), and StrFormatValue().