File Download class.
More...
#include <file_download.h>
|
| FileDownload (std::string url, std::string dirName, std::string fileName, bool progress) |
|
| FileDownload (std::string url, std::string dirName, std::string fileName, std::string MD5Sum, bool progress) |
|
| FileDownload (std::vector< InfoFile > destinationFiles, bool progress) |
|
| ~FileDownload () |
|
| FileDownload (std::string url, std::string dirName, std::string fileName, bool progress) |
|
| FileDownload (std::string url, std::string dirName, std::string fileName, std::string MD5Sum, bool progress) |
|
| FileDownload (std::vector< InfoFile > destinationFiles, bool progress) |
|
| ~FileDownload () |
|
File Download class.
This class takes care of the download process of the binaries and other important files
◆ FileDownload() [1/6]
FileDownload::FileDownload |
( |
std::string |
url, |
|
|
std::string |
dirName, |
|
|
std::string |
fileName, |
|
|
bool |
progress |
|
) |
| |
Download a file without the need to check the signature of the file
- Parameters
-
url | Complete downloading address including the file |
dirName | Destination folder |
fileName | file where to store the downloaded datas |
progress | If true, show what's going on |
◆ FileDownload() [2/6]
FileDownload::FileDownload |
( |
std::string |
url, |
|
|
std::string |
dirName, |
|
|
std::string |
fileName, |
|
|
std::string |
MD5Sum, |
|
|
bool |
progress |
|
) |
| |
Download a file with the possibility of checking the signature of the file
- Parameters
-
url | Complete downloading address including the file |
dirName | Destination folder |
fileName | file where to store the downloaded datas |
MD5Sum | Signature to use for checking the download file |
progress | If true, show what's going on |
◆ FileDownload() [3/6]
FileDownload::FileDownload |
( |
std::vector< InfoFile > |
destinationFiles, |
|
|
bool |
progress |
|
) |
| |
Download a list of InfoFile (a vector of InfoFile type) InfoFile consist of (amount other fields.. ) Name of the file and the signature of the file to download
- Parameters
-
destinationFiles | List of files to download |
progress | If true, show what's going on |
◆ ~FileDownload() [1/2]
FileDownload::~FileDownload |
( |
| ) |
|
|
inline |
Destructor need to cleanup all the created pointers for the internal cook
◆ FileDownload() [4/6]
FileDownload::FileDownload |
( |
std::string |
url, |
|
|
std::string |
dirName, |
|
|
std::string |
fileName, |
|
|
bool |
progress |
|
) |
| |
Download a file without the need to check the signature of the file
- Parameters
-
url | Complete downloading address including the file |
dirName | Destination folder |
fileName | file where to store the downloaded datas |
progress | If true, show what's going on |
◆ FileDownload() [5/6]
FileDownload::FileDownload |
( |
std::string |
url, |
|
|
std::string |
dirName, |
|
|
std::string |
fileName, |
|
|
std::string |
MD5Sum, |
|
|
bool |
progress |
|
) |
| |
Download a file with the possibility of checking the signature of the file
- Parameters
-
url | Complete downloading address including the file |
dirName | Destination folder |
fileName | file where to store the downloaded datas |
MD5Sum | Signature to use for checking the download file |
progress | If true, show what's going on |
◆ FileDownload() [6/6]
FileDownload::FileDownload |
( |
std::vector< InfoFile > |
destinationFiles, |
|
|
bool |
progress |
|
) |
| |
Download a list of InfoFile (a vector of InfoFile type) InfoFile consist of (amount other fields.. ) Name of the file and the signature of the file to download
- Parameters
-
destinationFiles | List of files to download |
progress | If true, show what's going on |
◆ ~FileDownload() [2/2]
FileDownload::~FileDownload |
( |
| ) |
|
|
inline |
Destructor need to cleanup all the created pointers for the internal cook
The documentation for this class was generated from the following files: