21 #ifndef otbCurlHelperStub_h
22 #define otbCurlHelperStub_h
55 int RetrieveFile(
const std::ostringstream& urlStream, std::string filename)
const override;
57 int RetrieveFile(
const std::string& urlString, std::string filename)
const override;
59 int RetrieveFileMulti(
const std::vector<std::string>& listURLs,
const std::vector<std::string>& listFiles,
int maxConnect)
const override;
Class to use the curl capabilities from OTB.
Class to test classes using the curl capabilities from OTB.
bool TestUrlAvailability(const std::string &url) const override
itk::SmartPointer< Self > Pointer
int RetrieveUrlInMemory(const std::string &urlString, std::string &output) const override
CurlHelperStub(const Self &)=delete
int RetrieveFile(const std::string &urlString, std::string filename) const override
itk::SmartPointer< const Self > ConstPointer
void operator=(const Self &)=delete
~CurlHelperStub() override
int RetrieveFile(const std::ostringstream &urlStream, std::string filename) const override
int RetrieveFileMulti(const std::vector< std::string > &listURLs, const std::vector< std::string > &listFiles, int maxConnect) const override
CurlHelperInterface Superclass
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.