Ating for MQL5
Loading...
Searching...
No Matches
FilterByDayWeek Class Reference

Class to determine if today is an operative day based on weekdays. More...

Classes

struct  Frame
 Structure to hold boolean values for each day of the week. More...
 

Public Member Functions

 FilterByDayWeek (void)
 Default constructor for the FilterByDayWeek class.
 
void UpdateAtr (Frame &noOperationDays)
 Updates the frame with the provided operation days.
 
bool IsOperativeDay (void)
 Determines if today is an operative day based on the frame.
 

Detailed Description

Class to determine if today is an operative day based on weekdays.

Constructor & Destructor Documentation

◆ FilterByDayWeek()

FilterByDayWeek::FilterByDayWeek ( void )
inline

Default constructor for the FilterByDayWeek class.

Member Function Documentation

◆ IsOperativeDay()

bool FilterByDayWeek::IsOperativeDay ( void )

Determines if today is an operative day based on the frame.

Returns
True if today is an operative day according to the frame; otherwise, false.

◆ UpdateAtr()

void FilterByDayWeek::UpdateAtr ( Frame & noOperationDays)

Updates the frame with the provided operation days.

Parameters
noOperationDaysStructure containing operation status for each day of the week.

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