26 #if ! defined (octave_cdef_utils_h)
27 #define octave_cdef_utils_h 1
29 #include "octave-config.h"
41 extern OCTINTERP_API std::string
44 extern OCTINTERP_API
void
48 extern OCTINTERP_API
void
52 lookup_class (
const std::string& name,
bool error_if_not_found =
true,
53 bool load_if_not_found =
true);
61 extern OCTINTERP_API std::list<cdef_class>
80 to_ov (
const std::list<cdef_class>& class_list);
82 extern OCTINTERP_API
bool
85 extern OCTINTERP_API
bool
87 bool allow_equal =
true,
int max_depth = -1);
88 extern OCTINTERP_API
bool
91 extern OCTINTERP_API
bool
95 lookup_package (
const std::string& name,
bool error_if_not_found =
true,
96 bool load_if_not_found =
true);
104 extern OCTINTERP_API
bool
106 const std::string& meth_name =
"",
107 const std::string& prop_name =
"",
108 bool is_prop_set =
false);
110 OCTAVE_END_NAMESPACE(
octave)
cdef_class lookup_class(const std::string &name, bool error_if_not_found=true, bool load_if_not_found=true)
bool is_strict_superclass(const cdef_class &clsa, const cdef_class &clsb)
bool is_dummy_method(const octave_value &fcn)
cdef_object to_cdef(const octave_value &val)
std::list< cdef_class > lookup_classes(const Cell &cls_list)
cdef_object & to_cdef_ref(const octave_value &val)
cdef_class get_class_context(std::string &name, bool &in_constructor)
bool check_access(const cdef_class &cls, const octave_value &acc, const std::string &meth_name="", const std::string &prop_name="", bool is_prop_set=false)
std::string get_base_name(const std::string &nm)
cdef_package lookup_package(const std::string &name, bool error_if_not_found=true, bool load_if_not_found=true)
octave_value to_ov(const cdef_object &obj)
bool is_superclass(const cdef_class &clsa, const cdef_class &clsb, bool allow_equal=true, int max_depth=-1)
void make_function_of_class(const std::string &class_name, const octave_value &fcn)
bool is_direct_superclass(const cdef_class &clsa, const cdef_class &clsb)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn