PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::BirthCursor Class Reference

#include <order_birth.hpp>

Public Member Functions

 BirthCursor ()=default
 
BirthCursorDomain domain () const
 
BirthCursorPosition position () const
 
int index () const
 
int count () const
 
bool first_point () const
 
bool terminal_point () const
 
int following_segment () const
 

Static Public Member Functions

static BirthCursor point (BirthCursorDomain domain, int index, int count)
 
static BirthCursor segment (BirthCursorDomain domain, int index, int count)
 

Detailed Description

Definition at line 19 of file order_birth.hpp.

Constructor & Destructor Documentation

◆ BirthCursor()

pineforge::BirthCursor::BirthCursor ( )
default

Referenced by point(), and segment().

Member Function Documentation

◆ point()

static BirthCursor pineforge::BirthCursor::point ( BirthCursorDomain domain,
int index,
int count )
inlinestatic

Definition at line 22 of file order_birth.hpp.

References BirthCursor(), count(), domain(), index(), and pineforge::Point.

◆ segment()

static BirthCursor pineforge::BirthCursor::segment ( BirthCursorDomain domain,
int index,
int count )
inlinestatic

Definition at line 25 of file order_birth.hpp.

References BirthCursor(), count(), domain(), index(), and pineforge::Segment.

◆ domain()

BirthCursorDomain pineforge::BirthCursor::domain ( ) const
inline

Definition at line 28 of file order_birth.hpp.

Referenced by point(), and segment().

◆ position()

BirthCursorPosition pineforge::BirthCursor::position ( ) const
inline

Definition at line 29 of file order_birth.hpp.

◆ index()

int pineforge::BirthCursor::index ( ) const
inline

Definition at line 30 of file order_birth.hpp.

Referenced by pineforge::source::PendingIntentView::copy_v1(), point(), and segment().

◆ count()

int pineforge::BirthCursor::count ( ) const
inline

Definition at line 31 of file order_birth.hpp.

Referenced by pineforge::source::PendingIntentView::copy_v1(), point(), and segment().

◆ first_point()

bool pineforge::BirthCursor::first_point ( ) const
inline

Definition at line 32 of file order_birth.hpp.

References pineforge::Point.

◆ terminal_point()

bool pineforge::BirthCursor::terminal_point ( ) const
inline

Definition at line 33 of file order_birth.hpp.

References pineforge::Point.

Referenced by following_segment().

◆ following_segment()

int pineforge::BirthCursor::following_segment ( ) const
inline

Definition at line 36 of file order_birth.hpp.

References terminal_point().


The documentation for this class was generated from the following file: