GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "url-transfer.h"
Public Member Functions | |
url_transfer (void) | |
url_transfer (const std::string &host, const std::string &user, const std::string &passwd, std::ostream &os) | |
url_transfer (const std::string &url, std::ostream &os) | |
url_transfer (const url_transfer &h) | |
~url_transfer (void) | |
void | ascii (void) |
void | binary (void) |
void | cwd (const std::string &path) |
void | del (const std::string &file) |
void | dir (void) |
void | get (const std::string &file, std::ostream &os) |
void | get_fileinfo (const std::string &filename, double &filesize, time_t &filetime, bool &fileisdir) |
bool | good (void) const |
void | http_action (const Array< std::string > ¶m, const std::string &action) |
void | http_get (const Array< std::string > ¶m) |
void | http_post (const Array< std::string > ¶m) |
bool | is_ascii (void) const |
bool | is_binary (void) const |
bool | is_valid (void) const |
std::string | lasterror (void) const |
string_vector | list (void) |
void | mget_directory (const std::string &directory, const std::string &target) |
void | mkdir (const std::string &path) |
string_vector | mput_directory (const std::string &base, const std::string &directory) |
url_transfer & | operator= (const url_transfer &h) |
void | put (const std::string &file, std::istream &is) |
std::string | pwd (void) |
void | rename (const std::string &oldname, const std::string &newname) |
void | rmdir (const std::string &path) |
std::istream & | set_istream (std::istream &is) |
std::ostream & | set_ostream (std::ostream &os) |
Private Attributes | |
base_url_transfer * | rep |
Definition at line 163 of file url-transfer.h.
url_transfer::url_transfer | ( | void | ) |
Definition at line 787 of file url-transfer.cc.
url_transfer::url_transfer | ( | const std::string & | host, |
const std::string & | user, | ||
const std::string & | passwd, | ||
std::ostream & | os | ||
) |
Definition at line 794 of file url-transfer.cc.
url_transfer::url_transfer | ( | const std::string & | url, |
std::ostream & | os | ||
) |
Definition at line 803 of file url-transfer.cc.
|
inline |
Definition at line 176 of file url-transfer.h.
References base_url_transfer::count, and rep.
|
inline |
Definition at line 181 of file url-transfer.h.
References base_url_transfer::count, and rep.
Definition at line 217 of file url-transfer.h.
References base_url_transfer::ascii(), and rep.
Referenced by F__ftp_ascii__().
Definition at line 219 of file url-transfer.h.
References base_url_transfer::binary(), and rep.
Referenced by F__ftp_binary__().
|
inline |
Definition at line 225 of file url-transfer.h.
References base_url_transfer::cwd(), and rep.
Referenced by F__ftp_cwd__().
|
inline |
Definition at line 227 of file url-transfer.h.
References base_url_transfer::del(), and rep.
Referenced by F__ftp_delete__().
Definition at line 260 of file url-transfer.h.
References base_url_transfer::dir(), and rep.
Referenced by F__ftp_dir__().
|
inline |
Definition at line 243 of file url-transfer.h.
References base_url_transfer::get(), and rep.
Referenced by F__ftp_mget__().
|
inline |
Definition at line 264 of file url-transfer.h.
References base_url_transfer::get_fileinfo(), and rep.
Referenced by F__ftp_dir__(), and F__ftp_mget__().
Definition at line 203 of file url-transfer.h.
References base_url_transfer::good(), and rep.
Referenced by F__ftp_mget__(), F__ftp_mput__(), Furlread(), and Furlwrite().
|
inline |
Definition at line 276 of file url-transfer.h.
References base_url_transfer::http_action(), and rep.
Referenced by Furlread(), and Furlwrite().
Definition at line 272 of file url-transfer.h.
References base_url_transfer::http_get(), and rep.
Definition at line 274 of file url-transfer.h.
References base_url_transfer::http_post(), and rep.
Definition at line 221 of file url-transfer.h.
References base_url_transfer::is_ascii(), and rep.
Referenced by F__ftp_mode__().
Definition at line 223 of file url-transfer.h.
References base_url_transfer::is_binary(), and rep.
Definition at line 201 of file url-transfer.h.
References base_url_transfer::is_valid(), and rep.
Referenced by F__ftp_ascii__(), F__ftp_binary__(), F__ftp_cwd__(), F__ftp_delete__(), F__ftp_dir__(), F__ftp_mget__(), F__ftp_mkdir__(), F__ftp_mode__(), F__ftp_mput__(), F__ftp_pwd__(), F__ftp_rename__(), and F__ftp_rmdir__().
|
inline |
Definition at line 205 of file url-transfer.h.
References base_url_transfer::lasterror(), and rep.
Referenced by F__ftp_mget__(), F__ftp_mput__(), Furlread(), and Furlwrite().
|
inline |
Definition at line 262 of file url-transfer.h.
References base_url_transfer::list(), and rep.
Referenced by F__ftp_dir__(), and F__ftp_mget__().
|
inline |
Definition at line 248 of file url-transfer.h.
References base_url_transfer::mget_directory(), and rep.
Referenced by F__ftp_mget__().
|
inline |
Definition at line 231 of file url-transfer.h.
References base_url_transfer::mkdir(), and rep.
Referenced by F__ftp_mkdir__().
|
inline |
Definition at line 254 of file url-transfer.h.
References base_url_transfer::mput_directory(), and rep.
Referenced by F__ftp_mput__().
|
inline |
Definition at line 187 of file url-transfer.h.
References base_url_transfer::count, and rep.
|
inline |
Definition at line 238 of file url-transfer.h.
References base_url_transfer::put(), and rep.
Referenced by F__ftp_mput__().
|
inline |
Definition at line 270 of file url-transfer.h.
References base_url_transfer::pwd(), and rep.
Referenced by F__ftp_pwd__().
|
inline |
Definition at line 233 of file url-transfer.h.
References base_url_transfer::rename(), and rep.
Referenced by F__ftp_rename__().
|
inline |
Definition at line 229 of file url-transfer.h.
References rep, and base_url_transfer::rmdir().
Referenced by F__ftp_rmdir__().
|
inline |
Definition at line 212 of file url-transfer.h.
References rep, and base_url_transfer::set_istream().
|
inline |
Definition at line 207 of file url-transfer.h.
References rep, and base_url_transfer::set_ostream().
|
private |
Definition at line 284 of file url-transfer.h.
Referenced by ascii(), binary(), cwd(), del(), dir(), get(), get_fileinfo(), good(), http_action(), http_get(), http_post(), is_ascii(), is_binary(), is_valid(), lasterror(), list(), mget_directory(), mkdir(), mput_directory(), operator=(), put(), pwd(), rename(), rmdir(), set_istream(), set_ostream(), url_transfer(), and ~url_transfer().