Hotwheels-Cluster 1.2
Creation of Cluster APP for SEA:ME project.
 
Loading...
Searching...
No Matches
MileageFileHandler.hpp File Reference

Definition of the MileageFileHandler class. More...

#include <QFile>
#include <QString>
#include "FileController.hpp"
#include "IMileageFileHandler.hpp"
#include <functional>

Go to the source code of this file.

Data Structures

class  MileageFileHandler
 Class that manages the mileage file. More...
 

Typedefs

using FileOpenFunc = std::function<bool(QFile &, QIODevice::OpenMode)>
 
using FileReadFunc = std::function<QString(QFile &)>
 
using FileWriteFunc = std::function<bool(QFile &, const QString &)>
 
using FileExistsFunc = std::function<bool(const QString &)>
 

Detailed Description

Definition of the MileageFileHandler class.

Version
0.1
Date
2025-01-31

This file contains the definition of the MileageFileHandler class, which is responsible for managing the mileage file.

Author
Félix LE BIHAN (@Fle-bihh)
Tiago Pereira (@t-pereira06)
Ricardo Melo (@reomelo)
Michel Batista (@MicchelFAB)

Definition in file MileageFileHandler.hpp.

Typedef Documentation

◆ FileExistsFunc

using FileExistsFunc = std::function<bool(const QString &)>

Definition at line 28 of file MileageFileHandler.hpp.

◆ FileOpenFunc

using FileOpenFunc = std::function<bool(QFile &, QIODevice::OpenMode)>

Definition at line 25 of file MileageFileHandler.hpp.

◆ FileReadFunc

using FileReadFunc = std::function<QString(QFile &)>

Definition at line 26 of file MileageFileHandler.hpp.

◆ FileWriteFunc

using FileWriteFunc = std::function<bool(QFile &, const QString &)>

Definition at line 27 of file MileageFileHandler.hpp.