OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
otb::CurlHelperStub Class Reference

#include <otbCurlHelperStub.h>

+ Inheritance diagram for otb::CurlHelperStub:
+ Collaboration diagram for otb::CurlHelperStub:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef CurlHelperStub Self
 
typedef CurlHelperInterface Superclass
 
- Public Types inherited from otb::CurlHelperInterface
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef CurlHelperInterface Self
 
typedef itk::Object Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
int RetrieveFile (const std::ostringstream &urlStream, std::string filename) const override
 
int RetrieveFile (const std::string &urlString, std::string filename) const override
 
int RetrieveFileMulti (const std::vector< std::string > &listURLs, const std::vector< std::string > &listFiles, int maxConnect) const override
 
int RetrieveUrlInMemory (const std::string &urlString, std::string &output) const override
 
bool TestUrlAvailability (const std::string &url) const override
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::CurlHelperInterface
static bool IsCurlAvailable ()
 
static bool IsCurlMultiAvailable ()
 

Protected Member Functions

 CurlHelperStub ()
 
 ~CurlHelperStub () override
 
- Protected Member Functions inherited from otb::CurlHelperInterface
 CurlHelperInterface ()
 
 ~CurlHelperInterface () override
 

Private Member Functions

 CurlHelperStub (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

Class to test classes using the curl capabilities from OTB.

This class is available only for testing purposes

Definition at line 37 of file otbCurlHelperStub.h.

Member Typedef Documentation

◆ ConstPointer

typedef itk::SmartPointer<const Self> otb::CurlHelperStub::ConstPointer

Definition at line 44 of file otbCurlHelperStub.h.

◆ Pointer

typedef itk::SmartPointer<Self> otb::CurlHelperStub::Pointer

Definition at line 43 of file otbCurlHelperStub.h.

◆ Self

Standard class typedefs.

Definition at line 42 of file otbCurlHelperStub.h.

◆ Superclass

Definition at line 45 of file otbCurlHelperStub.h.

Constructor & Destructor Documentation

◆ CurlHelperStub() [1/2]

otb::CurlHelperStub::CurlHelperStub ( )
inlineprotected

Definition at line 62 of file otbCurlHelperStub.h.

◆ ~CurlHelperStub()

otb::CurlHelperStub::~CurlHelperStub ( )
inlineoverrideprotected

Definition at line 65 of file otbCurlHelperStub.h.

◆ CurlHelperStub() [2/2]

otb::CurlHelperStub::CurlHelperStub ( const Self )
privatedelete

Member Function Documentation

◆ CreateAnother()

virtual::itk::LightObject::Pointer otb::CurlHelperStub::CreateAnother ( void  ) const

◆ GetNameOfClass()

virtual const char* otb::CurlHelperStub::GetNameOfClass ( ) const
virtual

Reimplemented from otb::CurlHelperInterface.

◆ New()

static Pointer otb::CurlHelperStub::New ( )
static

◆ operator=()

void otb::CurlHelperStub::operator= ( const Self )
privatedelete

◆ RetrieveFile() [1/2]

int otb::CurlHelperStub::RetrieveFile ( const std::ostringstream &  urlStream,
std::string  filename 
) const
overridevirtual

◆ RetrieveFile() [2/2]

int otb::CurlHelperStub::RetrieveFile ( const std::string &  urlString,
std::string  filename 
) const
overridevirtual

◆ RetrieveFileMulti()

int otb::CurlHelperStub::RetrieveFileMulti ( const std::vector< std::string > &  listURLs,
const std::vector< std::string > &  listFiles,
int  maxConnect 
) const
overridevirtual

◆ RetrieveUrlInMemory()

int otb::CurlHelperStub::RetrieveUrlInMemory ( const std::string &  urlString,
std::string &  output 
) const
overridevirtual

◆ TestUrlAvailability()

bool otb::CurlHelperStub::TestUrlAvailability ( const std::string &  url) const
overridevirtual

The documentation for this class was generated from the following file: