SAGA API Version 9.12
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 CSG_String &User="", const CSG_String &Password="")
bool Create (const CSG_String &Server, const CSG_String &User="", const CSG_String &Password="")
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)

Detailed Description

Definition at line 238 of file metadata.h.

Constructor & Destructor Documentation

◆ CSG_HTTP() [1/2]

CSG_HTTP::CSG_HTTP ( void )

Definition at line 1237 of file metadata.cpp.

◆ CSG_HTTP() [2/2]

CSG_HTTP::CSG_HTTP ( const CSG_String & Server,
const CSG_String & User = "",
const CSG_String & Password = "" )

Definition at line 1248 of file metadata.cpp.

References Create().

◆ ~CSG_HTTP()

CSG_HTTP::~CSG_HTTP ( void )
virtual

Definition at line 1294 of file metadata.cpp.

References Destroy().

Member Function Documentation

◆ Create() [1/2]

bool CSG_HTTP::Create ( const CSG_String & Server,
const CSG_String & User = "",
const CSG_String & Password = "" )

Definition at line 1255 of file metadata.cpp.

References Destroy(), CSG_String::is_Empty(), SERVER_TRIM, and CSG_String::wx_str().

◆ Create() [2/2]

bool CSG_HTTP::Create ( void )

Definition at line 1242 of file metadata.cpp.

References Destroy().

Referenced by CSG_HTTP().

◆ Destroy()

bool CSG_HTTP::Destroy ( void )

Definition at line 1299 of file metadata.cpp.

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

◆ is_Connected()

bool CSG_HTTP::is_Connected ( void ) const
inline

Definition at line 250 of file metadata.h.

◆ Request() [1/4]

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

Definition at line 1390 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 1356 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 1335 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 1373 of file metadata.cpp.

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


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