SAGA API v9.10
Loading...
Searching...
No Matches
CSG_HTTP Class Reference

#include <metadata.h>

Public Member Functions

 CSG_HTTP (void)
bool Create (void)
 CSG_HTTP (const CSG_String &Server, const SG_Char *Username=NULL, const SG_Char *Password=NULL)
bool Create (const CSG_String &Server, const SG_Char *Username=NULL, const SG_Char *Password=NULL)
virtual ~CSG_HTTP (void)
bool Destroy (void)
bool is_Connected (void) const
bool Request (const CSG_String &Request, CSG_Bytes &Answer)
bool Request (const CSG_String &Request, CSG_MetaData &Answer)
bool Request (const CSG_String &Request, CSG_String &Answer)
bool Request (const CSG_String &Request, const SG_Char *File)

Protected Attributes

class wxHTTP * m_pHTTP

Detailed Description

Definition at line 235 of file metadata.h.

Constructor & Destructor Documentation

◆ CSG_HTTP() [1/2]

CSG_HTTP::CSG_HTTP ( void )

Definition at line 1237 of file metadata.cpp.

References m_pHTTP.

◆ CSG_HTTP() [2/2]

CSG_HTTP::CSG_HTTP ( const CSG_String & Server,
const SG_Char * Username = NULL,
const SG_Char * Password = NULL )

Definition at line 1249 of file metadata.cpp.

References Create(), m_pHTTP, and SG_Char.

◆ ~CSG_HTTP()

CSG_HTTP::~CSG_HTTP ( void )
virtual

Definition at line 1298 of file metadata.cpp.

References Destroy().

Member Function Documentation

◆ Create() [1/2]

bool CSG_HTTP::Create ( const CSG_String & Server,
const SG_Char * Username = NULL,
const SG_Char * Password = NULL )

Definition at line 1257 of file metadata.cpp.

References CSG_String::c_str(), Destroy(), m_pHTTP, SERVER_TRIM, and SG_Char.

◆ Create() [2/2]

bool CSG_HTTP::Create ( void )

Definition at line 1243 of file metadata.cpp.

References Destroy().

Referenced by CSG_HTTP().

◆ Destroy()

bool CSG_HTTP::Destroy ( void )

Definition at line 1304 of file metadata.cpp.

References m_pHTTP.

Referenced by Create(), Create(), and ~CSG_HTTP().

◆ is_Connected()

bool CSG_HTTP::is_Connected ( void ) const

Definition at line 1317 of file metadata.cpp.

References m_pHTTP.

◆ Request() [1/4]

bool CSG_HTTP::Request ( const CSG_String & Request,
const SG_Char * File )

Definition at line 1427 of file metadata.cpp.

References Request(), and SG_Char.

◆ Request() [2/4]

bool CSG_HTTP::Request ( const CSG_String & Request,
CSG_Bytes & Answer )

Definition at line 1371 of file metadata.cpp.

References CSG_Bytes::Clear(), and Request().

Referenced by Request(), Request(), Request(), and Request().

◆ Request() [3/4]

bool CSG_HTTP::Request ( const CSG_String & Request,
CSG_MetaData & Answer )

Definition at line 1350 of file metadata.cpp.

References CSG_MetaData::Destroy(), and Request().

◆ Request() [4/4]

bool CSG_HTTP::Request ( const CSG_String & Request,
CSG_String & Answer )

Definition at line 1399 of file metadata.cpp.

References CSG_String::Clear(), and Request().

Member Data Documentation

◆ m_pHTTP

class wxHTTP* CSG_HTTP::m_pHTTP
protected

Definition at line 257 of file metadata.h.

Referenced by Create(), CSG_HTTP(), CSG_HTTP(), Destroy(), and is_Connected().


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