|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <live_source_identity.hpp>
Data Structures | |
| struct | Spelling |
Public Types | |
| enum class | Shape : std::uint8_t { Source , PairFamily , Bracket , CloseId , ShortHold , CurrentExit , MarginRevival , Cover , Spelling , SeparatedFamily , Unverified } |
Public Member Functions | |
| bool | matches (std::string_view key, std::string_view source, std::string_view from) const noexcept |
Static Public Member Functions | |
| static bool | consume (std::string_view &key, std::string_view part) noexcept |
| static bool | consume_number (std::string_view &key, std::uint64_t value) noexcept |
| static bool | read_number (std::string_view key, std::uint64_t &value) noexcept |
| static bool | consume_pair (std::string_view &key, std::string_view source, std::string_view from) noexcept |
| static LiveSourceIdentity | capture (std::string_view key, std::string_view source, std::string_view from) |
Data Fields | |
| std::uint64_t | number = 0 |
| Shape | shape = Shape::Unverified |
| std::uint8_t | family = 0 |
| std::uint8_t | spelling = 0 |
Static Public Attributes | |
| static constexpr std::array< Spelling, 11 > | spellings |
Definition at line 18 of file live_source_identity.hpp.
|
strong |
| Enumerator | |
|---|---|
| Source | |
| PairFamily | |
| Bracket | |
| CloseId | |
| ShortHold | |
| CurrentExit | |
| MarginRevival | |
| Cover | |
| Spelling | |
| SeparatedFamily | |
| Unverified | |
Definition at line 24 of file live_source_identity.hpp.
|
inlinestaticnoexcept |
Definition at line 51 of file live_source_identity.hpp.
Referenced by capture(), consume_number(), consume_pair(), and matches().
|
inlinestaticnoexcept |
Definition at line 56 of file live_source_identity.hpp.
References consume().
Referenced by matches().
|
inlinestaticnoexcept |
Definition at line 63 of file live_source_identity.hpp.
Referenced by capture().
|
inlinestaticnoexcept |
Definition at line 68 of file live_source_identity.hpp.
References consume().
|
inlinenoexcept |
Definition at line 73 of file live_source_identity.hpp.
References Bracket, CloseId, consume(), consume_number(), consume_pair(), Cover, CurrentExit, family, MarginRevival, number, PairFamily, SeparatedFamily, shape, ShortHold, Source, Spelling, spelling, spellings, and Unverified.
Referenced by capture().
|
inlinestatic |
Definition at line 122 of file live_source_identity.hpp.
References Bracket, CloseId, consume(), consume_pair(), Cover, CurrentExit, family, MarginRevival, matches(), number, PairFamily, read_number(), SeparatedFamily, shape, ShortHold, Source, Spelling, spelling, and spellings.
|
inlinestaticconstexpr |
Definition at line 32 of file live_source_identity.hpp.
| std::uint64_t pineforge::source::detail::LiveSourceIdentity::number = 0 |
Definition at line 46 of file live_source_identity.hpp.
| Shape pineforge::source::detail::LiveSourceIdentity::shape = Shape::Unverified |
Definition at line 47 of file live_source_identity.hpp.
| std::uint8_t pineforge::source::detail::LiveSourceIdentity::family = 0 |
Definition at line 48 of file live_source_identity.hpp.
| std::uint8_t pineforge::source::detail::LiveSourceIdentity::spelling = 0 |
Definition at line 49 of file live_source_identity.hpp.