MCPcopy Create free account
hub / github.com/PixarAnimationStudios/OpenUSD / insert

Method insert

pxr/external/boost/python/src/list.cpp:66–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void list_base::insert(ssize_t index, object_cref item)
67{
68 if (PyList_CheckExact(this->ptr()))
69 {
70 if (PyList_Insert(this->ptr(), index, item.ptr()) == -1)
71 throw_error_already_set();
72 }
73 else
74 {
75 this->attr("insert")(index, item);
76 }
77}
78
79void list_base::insert(object const& index, object_cref x)
80{

Callers 15

DisconnectInputMethod · 0.45
DidChangeTimeMethod · 0.45
ExpireMethod · 0.45
_ExpireIndicesMethod · 0.45
InsertMethod · 0.45
~ExpectedErrorsMethod · 0.45
_GetScheduleMethod · 0.45

Calls 2

attrMethod · 0.80
ptrMethod · 0.45

Tested by 11

~ExpectedErrorsMethod · 0.36
_GetScheduleMethod · 0.36
_RegisterTypeMethod · 0.36
_MakeSourceBitsFunction · 0.36
_PathVectorToStringSetFunction · 0.36
BuildRequestMethod · 0.36
operator()Method · 0.36
_ValidateConnectionsFunction · 0.36
_ValidateConnectionsFunction · 0.36
exerciseFunction · 0.36