MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/Imath / writable

Method writable

src/python/PyImath/PyImathFixedArray.h:578–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576 Py_ssize_t len() const { return _length; }
577 size_t stride() const { return _stride; }
578 bool writable() const { return _writable; }
579
580 // This method is mainly here for use in confidence tests, but there may
581 // be other use-cases where a writable array needs to be made read-only.

Callers 15

testReadOnlyBasicFunction · 0.45
testReadOnlyAutoVectFunction · 0.45
testReadOnlyVIntArraysFunction · 0.45
testReadOnlyStringArraysFunction · 0.45
Vec2Array_getFunction · 0.45
Vec3Array_getFunction · 0.45
setitem_scalarMethod · 0.45
setitem_scalar_maskMethod · 0.45
setitem_vectorMethod · 0.45
setitem_vector_maskMethod · 0.45

Calls

no outgoing calls

Tested by 12

testReadOnlyBasicFunction · 0.36
testReadOnlyAutoVectFunction · 0.36
testReadOnlyVIntArraysFunction · 0.36
testReadOnlyStringArraysFunction · 0.36
testReadOnlyBasicFunction · 0.36
testReadOnlyAutoVectFunction · 0.36
testReadOnlyVIntArraysFunction · 0.36
testReadOnlyStringArraysFunction · 0.36