#include <ov-fcn-handle.h>
Inherits octave_base_value.
Inherited by octave_fcn_binder, and octave_fcn_inline.
List of all members.
Public Member Functions |
| octave_fcn_handle (void) |
| octave_fcn_handle (const std::string &n) |
| octave_fcn_handle (const octave_value &f, const std::string &n=anonymous) |
| octave_fcn_handle (const octave_fcn_handle &fh) |
| ~octave_fcn_handle (void) |
octave_base_value * | clone (void) const |
octave_base_value * | empty_clone (void) const |
octave_value | subsref (const std::string &type, const std::list< octave_value_list > &idx) |
octave_value_list | subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout) |
octave_value_list | subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout, const std::list< octave_lvalue > *lvalue_list) |
octave_value_list | do_multi_index_op (int nargout, const octave_value_list &args) |
octave_value_list | do_multi_index_op (int nargout, const octave_value_list &args, const std::list< octave_lvalue > *lvalue_list) |
bool | is_defined (void) const |
bool | is_function_handle (void) const |
builtin_type_t | builtin_type (void) const |
bool | is_overloaded (void) const |
dim_vector | dims (void) const |
octave_function * | function_value (bool=false) |
octave_user_function * | user_function_value (bool=false) |
octave_fcn_handle * | fcn_handle_value (bool=false) |
octave_value | fcn_val (void) const |
std::string | fcn_name (void) const |
void | set_overload (builtin_type_t btyp, const octave_value &ov_fcn) |
void | set_overload (const std::string &dispatch_type, const octave_value &ov_fcn) |
bool | is_equal_to (const octave_fcn_handle &) const |
bool | save_ascii (std::ostream &os) |
bool | load_ascii (std::istream &is) |
bool | save_binary (std::ostream &os, bool &save_as_floats) |
bool | load_binary (std::istream &is, bool swap, oct_mach_info::float_format fmt) |
void | print (std::ostream &os, bool pr_as_read_syntax=false) const |
void | print_raw (std::ostream &os, bool pr_as_read_syntax=false) const |
bool | print_as_scalar (void) const |
Static Public Attributes |
static const std::string | anonymous |
Protected Attributes |
octave_value | fcn |
std::string | nm |
bool | has_overloads |
octave_value | builtin_overloads [btyp_num_types] |
str_ov_map | overloads |
Friends |
octave_value | make_fcn_handle (const std::string &, bool) |
Constructor & Destructor Documentation
octave_fcn_handle::octave_fcn_handle |
( |
void |
|
) |
[inline] |
octave_fcn_handle::octave_fcn_handle |
( |
const std::string & |
n |
) |
[inline] |
octave_fcn_handle::~octave_fcn_handle |
( |
void |
|
) |
[inline] |
Member Function Documentation
builtin_type_t octave_fcn_handle::builtin_type |
( |
void |
|
) |
const [inline, virtual] |
dim_vector octave_fcn_handle::dims |
( |
void |
|
) |
const [inline, virtual] |
std::string octave_fcn_handle::fcn_name |
( |
void |
|
) |
const [inline] |
octave_value octave_fcn_handle::fcn_val |
( |
void |
|
) |
const [inline] |
bool octave_fcn_handle::is_defined |
( |
void |
|
) |
const [inline, virtual] |
bool octave_fcn_handle::is_function_handle |
( |
void |
|
) |
const [inline, virtual] |
bool octave_fcn_handle::is_overloaded |
( |
void |
|
) |
const [inline] |
bool octave_fcn_handle::load_ascii |
( |
std::istream & |
is |
) |
[virtual] |
void octave_fcn_handle::print |
( |
std::ostream & |
os, |
|
|
bool |
pr_as_read_syntax = false | |
|
) |
| | const [virtual] |
bool octave_fcn_handle::print_as_scalar |
( |
void |
|
) |
const [inline, virtual] |
void octave_fcn_handle::print_raw |
( |
std::ostream & |
os, |
|
|
bool |
pr_as_read_syntax = false | |
|
) |
| | const [virtual] |
bool octave_fcn_handle::save_ascii |
( |
std::ostream & |
os |
) |
[virtual] |
bool octave_fcn_handle::save_binary |
( |
std::ostream & |
os, |
|
|
bool & |
save_as_floats | |
|
) |
| | [virtual] |
void octave_fcn_handle::set_overload |
( |
const std::string & |
dispatch_type, |
|
|
const octave_value & |
ov_fcn | |
|
) |
| | [inline] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: