Classes | Static Public Member Functions | List of all members
ObjectTypeDB Class Reference

Static Public Member Functions

template<class T >
static void _add_type ()
 
template<class T >
static void register_type ()
 
template<class T >
static void register_virtual_type ()
 
template<class T >
static Object_create_ptr_func ()
 
template<class T >
static void register_create_type ()
 
static void get_type_list (List< StringName > *p_types)
 
static void get_inheriters_from (const StringName &p_type, List< StringName > *p_types)
 
static StringName type_inherits_from (const StringName &p_type)
 
static bool type_exists (const StringName &p_type)
 
static bool is_type (const StringName &p_type, const StringName &p_inherits)
 
static bool can_instance (const StringName &p_type)
 
static Objectinstance (const StringName &p_type)
 
template<class N , class M >
static MethodBindbind_method (N p_method_name, M p_method)
 
template<class N , class M >
static MethodBindbind_method (N p_method_name, M p_method, const Variant &p_def1)
 
template<class N , class M >
static MethodBindbind_method (N p_method_name, M p_method, const Variant &p_def1, const Variant &p_def2)
 
template<class N , class M >
static MethodBindbind_method (N p_method_name, M p_method, const Variant &p_def1, const Variant &p_def2, const Variant &p_def3)
 
template<class N , class M >
static MethodBindbind_method (N p_method_name, M p_method, const Variant &p_def1, const Variant &p_def2, const Variant &p_def3, const Variant &p_def4)
 
template<class N , class M >
static MethodBindbind_method (N p_method_name, M p_method, const Variant &p_def1, const Variant &p_def2, const Variant &p_def3, const Variant &p_def4, const Variant &p_def5)
 
template<class N , class M >
static MethodBindbind_method (N p_method_name, M p_method, const Variant &p_def1, const Variant &p_def2, const Variant &p_def3, const Variant &p_def4, const Variant &p_def5, const Variant &p_def6)
 
template<class M >
static MethodBindbind_native_method (uint32_t p_flags, const StringName &p_name, M p_method, const MethodInfo &p_info=MethodInfo(), const Vector< Variant > &p_default_args=Vector< Variant >())
 
static void add_signal (StringName p_type, const MethodInfo &p_signal)
 
static bool has_signal (StringName p_type, StringName p_signal)
 
static void get_signal_list (StringName p_type, List< MethodInfo > *p_signals, bool p_no_inheritance=false)
 
static void add_property (StringName p_type, const PropertyInfo &p_pinfo, const StringName &p_setter, const StringName &p_getter, int p_index=-1)
 
static void get_property_list (StringName p_type, List< PropertyInfo > *p_list, bool p_no_inheritance=false)
 
static bool set_property (Object *p_object, const StringName &p_property, const Variant &p_value, bool *r_valid=NULL)
 
static bool get_property (Object *p_object, const StringName &p_property, Variant &r_value)
 
static Variant::Type get_property_type (const StringName &p_type, const StringName &p_property, bool *r_is_valid=NULL)
 
static bool has_method (StringName p_type, StringName p_method, bool p_no_inheritance=false)
 
static void set_method_flags (StringName p_type, StringName p_method, int p_flags)
 
static void get_method_list (StringName p_type, List< MethodInfo > *p_methods, bool p_no_inheritance=false)
 
static MethodBindget_method (StringName p_type, StringName p_name)
 
static void add_virtual_method (const StringName &p_type, const MethodInfo &p_method, bool p_virtual=true)
 
static void get_virtual_methods (const StringName &p_type, List< MethodInfo > *p_methods, bool p_no_inheritance=false)
 
static void bind_integer_constant (const StringName &p_type, const StringName &p_name, int p_constant)
 
static void get_integer_constant_list (const StringName &p_type, List< String > *p_constants, bool p_no_inheritance=false)
 
static int get_integer_constant (const StringName &p_type, const StringName &p_name, bool *p_success=NULL)
 
static StringName get_category (const StringName &p_node)
 
static bool get_setter_and_type_for_property (const StringName &p_class, const StringName &p_prop, StringName &r_class, StringName &r_setter)
 
static void set_type_enabled (StringName p_type, bool p_enable)
 
static bool is_type_enabled (StringName p_type)
 
static void add_resource_base_extension (const StringName &p_extension, const StringName &p_type)
 
static void get_resource_base_extensions (List< String > *p_extensions)
 
static void get_extensions_for_type (const StringName &p_type, List< String > *p_extensions)
 
static void add_compatibility_type (const StringName &p_type, const StringName &p_fallback)
 
static void init ()
 
static void cleanup ()
 

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