Blender V5.3
wm_operator_type.cc File Reference
#include "MEM_guardedalloc.h"
#include "CLG_log.h"
#include "DNA_screen_types.h"
#include "DNA_windowmanager_types.h"
#include "BLT_translation.hh"
#include "BLI_listbase.hh"
#include "BLI_string.hh"
#include "BLI_vector_set.hh"
#include "BKE_context.hh"
#include "BKE_idprop.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "RNA_prototypes.hh"
#include "WM_api.hh"
#include "WM_keymap.hh"
#include "WM_types.hh"
#include "wm.hh"
#include "wm_event_system.hh"

Go to the source code of this file.

Classes

struct  blender::MacroData

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define UNDOCUMENTED_OPERATOR_TIP   N_("(undocumented operator)")

Functions

Operator Macro Type
static void blender::wm_operatortype_free_macro (wmOperatorType *ot)
static void blender::wm_macro_start (wmOperator *op)
static wmOperatorStatus blender::wm_macro_end (wmOperator *op, wmOperatorStatus retval)
static wmOperatorStatus blender::wm_macro_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::wm_macro_invoke_internal (bContext *C, wmOperator *op, const wmEvent *event, wmOperator *opm)
static wmOperatorStatus blender::wm_macro_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::wm_macro_modal (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::wm_macro_cancel (bContext *C, wmOperator *op)
wmOperatorType * blender::WM_operatortype_append_macro (const char *idname, const char *name, const char *description, int flag)
void blender::WM_operatortype_append_macro_ptr (void(*opfunc)(wmOperatorType *ot, void *userdata), void *userdata)
wmOperatorTypeMacro * blender::WM_operatortype_macro_define (wmOperatorType *ot, const char *idname)
std::string blender::WM_operatortype_name (wmOperatorType *ot, PointerRNA *properties)
std::string blender::WM_operatortype_description (bContext *C, wmOperatorType *ot, PointerRNA *properties)
std::string blender::WM_operatortype_description_or_name (bContext *C, wmOperatorType *ot, PointerRNA *properties)
bool blender::WM_operator_depends_on_cursor (bContext &C, wmOperatorType &ot, PointerRNA *properties)
Operator Type Append
static wmOperatorType * blender::wm_operatortype_append__begin ()
static void blender::wm_operatortype_append__end (wmOperatorType *ot)
void blender::WM_operatortype_append (void(*opfunc)(wmOperatorType *))
void blender::WM_operatortype_append_ptr (void(*opfunc)(wmOperatorType *, void *), void *userdata)
Operator Type Removal & Property Search
void blender::WM_operatortype_remove_ptr (wmOperatorType *ot)
bool blender::WM_operatortype_remove (const char *idname)
static void blender::operatortype_ghash_free_cb (wmOperatorType *ot)
void blender::wm_operatortype_free ()
void blender::WM_operatortype_props_advanced_begin (wmOperatorType *ot)
void blender::WM_operatortype_props_advanced_end (wmOperatorType *ot)
void blender::WM_operatortype_last_properties_clear_all ()
void blender::WM_operatortype_idname_visit_for_search (const bContext *, PointerRNA *, PropertyRNA *, const char *, FunctionRef< void(StringPropertySearchVisitParams)> visit_fn)

Operator Type Registry

static int blender::ot_prop_basic_count = -1
static auto & blender::get_operators_map ()
Span< wmOperatorType * > blender::WM_operatortypes_registered_get ()
wmOperatorType * blender::WM_operatortype_find (const char *idname, bool quiet)

Detailed Description

Operator Registry.

Definition in file wm_operator_type.cc.

Macro Definition Documentation

◆ UNDOCUMENTED_OPERATOR_TIP

#define UNDOCUMENTED_OPERATOR_TIP   N_("(undocumented operator)")