ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Download.h File Reference
#include <string>
#include <vector>
Include dependency graph for Download.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::utility
 

Functions

std::string cloudViewer::utility::GetMD5 (const std::string &file_path)
 Computes MD5 Hash for the given file. More...
 
std::string cloudViewer::utility::DownloadFromURL (const std::string &url, const std::string &md5, const std::string &download_dir)
 Download a file from URL. If a file already exists and the MD5 hash matches, the download will be skipped. More...
 
std::string cloudViewer::utility::DownloadFromMirrors (const std::vector< std::string > &mirrors, const std::string &md5, const std::string &download_dir)
 Download a file from list of mirror URLs. If a file already exists and the MD5 hash matches, the download will be skipped. All file names must be the same in mirrors. More...