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

Class to handle filtering based on CSV file data. More...

Public Member Functions

 FilterByCSVFile (void)
 Default constructor for the FilterByCSVFile class.
 
bool UpdateAtr (const string fileName)
 Updates the file name for the CSV file.
 
bool Read ()
 Reads dates from the CSV file and stores them in the datesString array.
 
bool IsOperativeDay (void)
 Checks if today is an operative day based on the dates read from the CSV file.
 

Detailed Description

Class to handle filtering based on CSV file data.

Constructor & Destructor Documentation

◆ FilterByCSVFile()

FilterByCSVFile::FilterByCSVFile ( void )
inline

Default constructor for the FilterByCSVFile class.

Member Function Documentation

◆ IsOperativeDay()

bool FilterByCSVFile::IsOperativeDay ( void )

Checks if today is an operative day based on the dates read from the CSV file.

Returns
True if today is an operative day or if the CSV file is empty, otherwise false.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Read()

bool FilterByCSVFile::Read ( )

Reads dates from the CSV file and stores them in the datesString array.

Returns
True if the file is successfully read, otherwise false.

◆ UpdateAtr()

bool FilterByCSVFile::UpdateAtr ( const string fileName)

Updates the file name for the CSV file.

Parameters
fileNameName of the CSV file.
Returns
True if the file name has a valid ".csv" extension, otherwise false.

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