|
HDK
|
#include <PyImathFixedVArray.h>
Classes | |
| struct | SizeHelper |
Public Types | |
| typedef T | BaseType |
Public Member Functions | |
| FixedVArray (std::vector< T > *ptr, Py_ssize_t length, Py_ssize_t stride=1, bool writable=true) | |
| FixedVArray (std::vector< T > *ptr, Py_ssize_t length, Py_ssize_t stride, hboost::any handle, bool writable=true) | |
| FixedVArray (const std::vector< T > *ptr, Py_ssize_t length, Py_ssize_t stride=1) | |
| FixedVArray (const std::vector< T > *ptr, Py_ssize_t length, Py_ssize_t stride, hboost::any handle) | |
| FixedVArray (Py_ssize_t length) | |
| FixedVArray (const T &initialValue, Py_ssize_t length) | |
| FixedVArray (FixedVArray< T > &f, const FixedArray< int > &mask) | |
| FixedVArray (const FixedArray< int > &size, const T &initialValue) | |
| FixedVArray (const FixedVArray< T > &other) | |
| const FixedVArray & | operator= (const FixedVArray< T > &other) |
| ~FixedVArray () | |
| const hboost::any & | handle () |
| Py_ssize_t | len () const |
| size_t | stride () const |
| bool | writable () const |
| void | makeReadOnly () |
| bool | isMaskedReference () const |
| size_t | unmaskedLength () const |
| std::vector< T > & | operator[] (size_t i) |
| const std::vector< T > & | operator[] (size_t i) const |
| FixedArray< T > | getitem (Py_ssize_t index) |
| FixedVArray< T > | getslice (PyObject *index) const |
| FixedVArray< T > | getslice_mask (const FixedArray< int > &mask) |
| void | setitem_scalar (PyObject *index, const FixedArray< T > &data) |
| void | setitem_scalar_mask (const FixedArray< int > &mask, const FixedArray< T > &data) |
| void | setitem_vector (PyObject *index, const FixedVArray< T > &data) |
| void | setitem_vector_mask (const FixedArray< int > &mask, const FixedVArray< T > &data) |
| hboost::shared_ptr< SizeHelper > | getSizeHelper () |
| template<class T2 > | |
| size_t | match_dimension (const FixedArray< T2 > &mask, bool strictComparison=true) const |
| size_t | match_dimension (const FixedVArray< T > &other, bool strictComparison=true) const |
Static Public Member Functions | |
| static hboost::python::class_ < FixedVArray< T > > | register_ (const char *doc) |
| static const char * | name () |
Protected Member Functions | |
| size_t | raw_ptr_index (size_t i) const |
Friends | |
| struct | SizeHelper |
Definition at line 20 of file PyImathFixedVArray.h.
| typedef T PyImath::FixedVArray< T >::BaseType |
Definition at line 41 of file PyImathFixedVArray.h.
| PyImath::FixedVArray< T >::FixedVArray | ( | std::vector< T > * | ptr, |
| Py_ssize_t | length, | ||
| Py_ssize_t | stride = 1, |
||
| bool | writable = true |
||
| ) |
| PyImath::FixedVArray< T >::FixedVArray | ( | std::vector< T > * | ptr, |
| Py_ssize_t | length, | ||
| Py_ssize_t | stride, | ||
| hboost::any | handle, | ||
| bool | writable = true |
||
| ) |
| PyImath::FixedVArray< T >::FixedVArray | ( | const std::vector< T > * | ptr, |
| Py_ssize_t | length, | ||
| Py_ssize_t | stride = 1 |
||
| ) |
| PyImath::FixedVArray< T >::FixedVArray | ( | const std::vector< T > * | ptr, |
| Py_ssize_t | length, | ||
| Py_ssize_t | stride, | ||
| hboost::any | handle | ||
| ) |
|
explicit |
| PyImath::FixedVArray< T >::FixedVArray | ( | const T & | initialValue, |
| Py_ssize_t | length | ||
| ) |
| PyImath::FixedVArray< T >::FixedVArray | ( | FixedVArray< T > & | f, |
| const FixedArray< int > & | mask | ||
| ) |
| PyImath::FixedVArray< T >::FixedVArray | ( | const FixedArray< int > & | size, |
| const T & | initialValue | ||
| ) |
| PyImath::FixedVArray< T >::FixedVArray | ( | const FixedVArray< T > & | other | ) |
| PyImath::FixedVArray< T >::~FixedVArray | ( | ) |
| FixedArray<T> PyImath::FixedVArray< T >::getitem | ( | Py_ssize_t | index | ) |
| hboost::shared_ptr<SizeHelper> PyImath::FixedVArray< T >::getSizeHelper | ( | ) |
| FixedVArray<T> PyImath::FixedVArray< T >::getslice | ( | PyObject * | index | ) | const |
| FixedVArray<T> PyImath::FixedVArray< T >::getslice_mask | ( | const FixedArray< int > & | mask | ) |
|
inline |
Definition at line 71 of file PyImathFixedVArray.h.
|
inline |
Definition at line 83 of file PyImathFixedVArray.h.
|
inline |
Definition at line 73 of file PyImathFixedVArray.h.
|
inline |
Definition at line 81 of file PyImathFixedVArray.h.
|
inline |
Definition at line 130 of file PyImathFixedVArray.h.
|
inline |
Definition at line 163 of file PyImathFixedVArray.h.
|
static |
| const FixedVArray& PyImath::FixedVArray< T >::operator= | ( | const FixedVArray< T > & | other | ) |
| std::vector<T>& PyImath::FixedVArray< T >::operator[] | ( | size_t | i | ) |
| const std::vector<T>& PyImath::FixedVArray< T >::operator[] | ( | size_t | i | ) | const |
|
protected |
|
static |
| void PyImath::FixedVArray< T >::setitem_scalar | ( | PyObject * | index, |
| const FixedArray< T > & | data | ||
| ) |
| void PyImath::FixedVArray< T >::setitem_scalar_mask | ( | const FixedArray< int > & | mask, |
| const FixedArray< T > & | data | ||
| ) |
| void PyImath::FixedVArray< T >::setitem_vector | ( | PyObject * | index, |
| const FixedVArray< T > & | data | ||
| ) |
| void PyImath::FixedVArray< T >::setitem_vector_mask | ( | const FixedArray< int > & | mask, |
| const FixedVArray< T > & | data | ||
| ) |
|
inline |
Definition at line 74 of file PyImathFixedVArray.h.
|
inline |
Definition at line 84 of file PyImathFixedVArray.h.
|
inline |
Definition at line 75 of file PyImathFixedVArray.h.
|
friend |
Definition at line 120 of file PyImathFixedVArray.h.