Class to handle filtering based on CSV file data.
More...
|
| 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.
|
|
Class to handle filtering based on CSV file data.
◆ FilterByCSVFile()
FilterByCSVFile::FilterByCSVFile |
( |
void | | ) |
|
|
inline |
◆ 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.
◆ 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
-
fileName | Name 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:
- C:/Users/solut/AppData/Roaming/MetaQuotes/Terminal/010E047102812FC0C18890992854220E/MQL5/Include/AtingMQL5/src/filterOperativeDays/FilterByCSVFile.mqh