MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / to_string

Function to_string

src/visualizer/operator/operator_id.cpp:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 } // namespace
56
57 const char* to_string(BuiltinOp op) {
58 const auto idx = static_cast<size_t>(op);
59 assert(idx < OP_INFO.size());
60 return OP_INFO[idx].id_string;
61 }
62
63 std::optional<BuiltinOp> builtin_op_from_string(std::string_view s) {
64 for (size_t i = 0; i < OP_INFO.size(); ++i) {

Callers 15

unregisterOperatorMethod · 0.70
invokeMethod · 0.70
idMethod · 0.70
execute_uvMethod · 0.50
show_confirmMethod · 0.50
show_inputMethod · 0.50
show_messageMethod · 0.50
register_packagesFunction · 0.50
template_listMethod · 0.50
PyTransformGizmoMethod · 0.50
build_slot_idMethod · 0.50

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected