#include "ov-classdef.h"
Definition at line 1599 of file ov-classdef.h.
cdef_manager::cdef_manager | ( | octave::interpreter & | interp | ) |
Definition at line 3443 of file ov-classdef.cc.
|
delete |
|
default |
cdef_class cdef_manager::find_class | ( | const std::string & | name, |
bool | error_if_not_found = true , |
||
bool | load_if_not_found = true |
||
) |
Definition at line 3750 of file ov-classdef.cc.
Referenced by lookup_class(), and read_mat5_binary_element().
octave_function * cdef_manager::find_method_symbol | ( | const std::string & | method_name, |
const std::string & | class_name | ||
) |
Definition at line 3807 of file ov-classdef.cc.
Referenced by octave::fcn_info::fcn_info_rep::load_class_method().
cdef_package cdef_manager::find_package | ( | const std::string & | name, |
bool | error_if_not_found = true , |
||
bool | load_if_not_found = true |
||
) |
Definition at line 3826 of file ov-classdef.cc.
Referenced by make_package().
octave_function * cdef_manager::find_package_symbol | ( | const std::string & | pack_name | ) |
Definition at line 3867 of file ov-classdef.cc.
Referenced by octave::fcn_info::fcn_info_rep::find_package().
cdef_property cdef_manager::make_attribute | ( | const cdef_class & | cls, |
const std::string & | name | ||
) |
Definition at line 757 of file ov-classdef.cc.
References make_property(), and name.
cdef_class cdef_manager::make_class | ( | const std::string & | name, |
const std::list< cdef_class > & | super_list = std::list<cdef_class> () |
||
) |
Definition at line 644 of file ov-classdef.cc.
References error(), cdef_class::mark_as_handle_class(), meta_class(), name, cdef_object::put(), register_class(), and cdef_object::set_class().
Referenced by make_class(), and make_meta_class().
cdef_class cdef_manager::make_class | ( | const std::string & | name, |
const cdef_class & | super | ||
) |
Definition at line 700 of file ov-classdef.cc.
References make_class(), and name.
cdef_class cdef_manager::make_meta_class | ( | const std::string & | name, |
const cdef_class & | super | ||
) |
Definition at line 707 of file ov-classdef.cc.
References make_class(), cdef_class::mark_as_meta_class(), name, and cdef_object::put().
cdef_method cdef_manager::make_method | ( | const cdef_class & | cls, |
const std::string & | name, | ||
const octave_value & | fcn, | ||
const std::string & | m_access = "public" , |
||
bool | is_static = false |
||
) |
Definition at line 763 of file ov-classdef.cc.
References fcn, cdef_class::get_name(), octave_function::is_defined(), is_dummy_method(), make_function_of_class(), cdef_method::mark_as_external(), meta_method(), name, cdef_object::put(), cdef_object::set_class(), cdef_method::set_function(), and to_ov().
Referenced by make_method().
cdef_method cdef_manager::make_method | ( | const cdef_class & | cls, |
const std::string & | name, | ||
octave_builtin::fcn | ff, | ||
const std::string & | m_access = "public" , |
||
bool | is_static = false |
||
) |
Definition at line 792 of file ov-classdef.cc.
References fcn, make_method(), and name.
cdef_method cdef_manager::make_method | ( | const cdef_class & | cls, |
const std::string & | name, | ||
octave_builtin::meth | mm, | ||
const std::string & | m_access = "public" , |
||
bool | is_static = false |
||
) |
Definition at line 802 of file ov-classdef.cc.
References fcn, make_method(), and name.
cdef_package cdef_manager::make_package | ( | const std::string & | nm, |
const std::string & | parent = "" |
||
) |
Definition at line 812 of file ov-classdef.cc.
References octave_value_list::empty(), find_package(), meta_package(), nm, cdef_object::put(), register_package(), cdef_object::set_class(), and to_ov().
cdef_property cdef_manager::make_property | ( | const cdef_class & | cls, |
const std::string & | name, | ||
const octave_value & | get_method = Matrix () , |
||
const std::string & | get_access = "public" , |
||
const octave_value & | set_method = Matrix () , |
||
const std::string & | set_access = "public" |
||
) |
Definition at line 719 of file ov-classdef.cc.
References cdef_class::get_name(), octave_value::isempty(), make_function_of_class(), meta_property(), name, cdef_object::put(), cdef_object::set_class(), string, and to_ov().
Referenced by make_attribute().
|
inline |
Definition at line 1651 of file ov-classdef.h.
|
inline |
Definition at line 1646 of file ov-classdef.h.
Referenced by make_class().
|
inline |
Definition at line 1648 of file ov-classdef.h.
Referenced by make_method().
|
inline |
Definition at line 1649 of file ov-classdef.h.
Referenced by make_package().
|
inline |
Definition at line 1647 of file ov-classdef.h.
Referenced by make_property().
|
delete |
|
inline |
Definition at line 1626 of file ov-classdef.h.
References cdef_class::get_name().
Referenced by make_class().
|
inline |
Definition at line 1636 of file ov-classdef.h.
References cdef_package::get_name().
Referenced by make_package().
|
inline |
Definition at line 1631 of file ov-classdef.h.
References cdef_class::get_name().
|
inline |
Definition at line 1641 of file ov-classdef.h.
References cdef_package::get_name().
|
private |
Definition at line 1699 of file ov-classdef.h.
|
private |
Definition at line 1702 of file ov-classdef.h.
|
private |
Definition at line 1696 of file ov-classdef.h.
|
private |
Definition at line 1709 of file ov-classdef.h.
|
private |
Definition at line 1704 of file ov-classdef.h.
|
private |
Definition at line 1706 of file ov-classdef.h.
|
private |
Definition at line 1707 of file ov-classdef.h.
|
private |
Definition at line 1705 of file ov-classdef.h.