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

#include <native_calendar.hpp>

Public Member Functions

 Timeframe ()=default
 
 Timeframe (const Timeframe &)=default
 
Timeframeoperator= (const Timeframe &)=default
 
 Timeframe (Timeframe &&other) noexcept
 
Timeframeoperator= (Timeframe &&other) noexcept
 
bool valid () const noexcept
 
TimeframeUnit unit () const noexcept
 
int count () const noexcept
 
const std::string & literal () const noexcept
 
bool is_fixed () const noexcept
 
bool is_calendar () const noexcept
 

Detailed Description

Definition at line 41 of file native_calendar.hpp.

Constructor & Destructor Documentation

◆ Timeframe() [1/3]

pineforge::native_calendar::native_calendar_v2::Timeframe::Timeframe ( )
default

◆ Timeframe() [2/3]

pineforge::native_calendar::native_calendar_v2::Timeframe::Timeframe ( const Timeframe & )
default

References Timeframe().

◆ Timeframe() [3/3]

pineforge::native_calendar::native_calendar_v2::Timeframe::Timeframe ( Timeframe && other)
inlinenoexcept

Definition at line 46 of file native_calendar.hpp.

References Timeframe().

Member Function Documentation

◆ operator=() [1/2]

Timeframe & pineforge::native_calendar::native_calendar_v2::Timeframe::operator= ( const Timeframe & )
default

References Timeframe().

◆ operator=() [2/2]

Timeframe & pineforge::native_calendar::native_calendar_v2::Timeframe::operator= ( Timeframe && other)
inlinenoexcept

Definition at line 47 of file native_calendar.hpp.

References Timeframe().

◆ valid()

bool pineforge::native_calendar::native_calendar_v2::Timeframe::valid ( ) const
inlinenoexcept

Definition at line 59 of file native_calendar.hpp.

Referenced by is_calendar().

◆ unit()

TimeframeUnit pineforge::native_calendar::native_calendar_v2::Timeframe::unit ( ) const
inlinenoexcept

Definition at line 60 of file native_calendar.hpp.

◆ count()

int pineforge::native_calendar::native_calendar_v2::Timeframe::count ( ) const
inlinenoexcept

Definition at line 61 of file native_calendar.hpp.

◆ literal()

const std::string & pineforge::native_calendar::native_calendar_v2::Timeframe::literal ( ) const
inlinenoexcept

Definition at line 62 of file native_calendar.hpp.

◆ is_fixed()

bool pineforge::native_calendar::native_calendar_v2::Timeframe::is_fixed ( ) const
inlinenoexcept

◆ is_calendar()

bool pineforge::native_calendar::native_calendar_v2::Timeframe::is_calendar ( ) const
inlinenoexcept

Definition at line 66 of file native_calendar.hpp.

References is_fixed(), and valid().


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