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);
OCTINTERP_API cdef_class lookup_class(const std::string &name, bool error_if_not_found=true, bool load_if_not_found=true)
OCTINTERP_API std::list< cdef_class > lookup_classes(const Cell &cls_list)
OCTINTERP_API cdef_object & to_cdef_ref(const octave_value &val)
OCTINTERP_API cdef_package lookup_package(const std::string &name, bool error_if_not_found=true, bool load_if_not_found=true)
OCTINTERP_API bool is_dummy_method(const octave_value &fcn)
OCTINTERP_API cdef_object to_cdef(const octave_value &val)
OCTINTERP_API octave_value to_ov(const cdef_object &obj)
OCTINTERP_API 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)
OCTINTERP_API void make_function_of_class(const std::string &class_name, const octave_value &fcn)
OCTINTERP_API bool is_strict_superclass(const cdef_class &clsa, const cdef_class &clsb)
OCTINTERP_API std::string get_base_name(const std::string &nm)
OCTINTERP_API bool is_superclass(const cdef_class &clsa, const cdef_class &clsb, bool allow_equal=true, int max_depth=-1)
OCTINTERP_API bool is_direct_superclass(const cdef_class &clsa, const cdef_class &clsb)
OCTINTERP_API cdef_class get_class_context(std::string &name, bool &in_constructor)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn