GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
url_handle_manager Class Reference

#include "url-handle-manager.h"

Public Member Functions

 url_handle_manager ()
 
 ~url_handle_manager ()=default
 
void free (const url_handle &h)
 
url_handle get_handle ()
 
url_transfer get_object (const octave_value &val)
 
url_transfer get_object (const url_handle &h)
 
url_transfer get_object (double val)
 
Matrix handle_list ()
 
url_handle lookup (const octave_value &val)
 
url_handle lookup (double val)
 
url_handle make_url_handle (const std::string &host, const std::string &user, const std::string &passwd, std::ostream &os)
 

Detailed Description

Definition at line 47 of file url-handle-manager.h.

Constructor & Destructor Documentation

◆ url_handle_manager()

url_handle_manager::url_handle_manager ( )
inline

Definition at line 51 of file url-handle-manager.h.

◆ ~url_handle_manager()

url_handle_manager::~url_handle_manager ( )
default

Member Function Documentation

◆ free()

void url_handle_manager::free ( const url_handle h)

Definition at line 73 of file url-handle-manager.cc.

References ceil(), error(), octave_handle::ok(), and octave_handle::value().

Referenced by octave::F__ftp_close__().

◆ get_handle()

url_handle url_handle_manager::get_handle ( )

Definition at line 47 of file url-handle-manager.cc.

References ceil().

◆ get_object() [1/3]

url_transfer url_handle_manager::get_object ( const octave_value val)
inline

Definition at line 82 of file url-handle-manager.h.

References lookup().

◆ get_object() [2/3]

url_transfer url_handle_manager::get_object ( const url_handle h)
inline

Definition at line 87 of file url-handle-manager.h.

References octave_handle::ok().

◆ get_object() [3/3]

◆ handle_list()

Matrix url_handle_manager::handle_list ( )
inline

Definition at line 111 of file url-handle-manager.h.

References octave_handle::value().

◆ lookup() [1/2]

url_handle url_handle_manager::lookup ( const octave_value val)
inline

◆ lookup() [2/2]

url_handle url_handle_manager::lookup ( double  val)
inline

Definition at line 63 of file url-handle-manager.h.

References isnan().

Referenced by octave::F__ftp_close__().

◆ make_url_handle()

url_handle url_handle_manager::make_url_handle ( const std::string &  host,
const std::string &  user,
const std::string &  passwd,
std::ostream &  os 
)
inline

Definition at line 94 of file url-handle-manager.h.

References error(), and url_transfer::is_valid().

Referenced by octave::F__ftp__().


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