HDK
|
#include <GU_Detail.h>
Public Types | |
typedef int(* | Comparator )(const T *, const T *) |
Public Member Functions | |
UT_RefMatrix (unsigned int mSz=0, unsigned int nSz=0) | |
~UT_RefMatrix () | |
int64 | getMemoryUsage (bool inclusive) const |
UT_RefMatrix (const UT_RefMatrix< T > &m) | |
void | swap (UT_RefMatrix< T > &other) |
unsigned int | insertRow (unsigned int index) |
unsigned int | insertRow (const UT_Array< T > &r, unsigned int index) |
unsigned int | appendRow (const UT_Array< T > &r) |
unsigned int | insertCol (unsigned int index) |
unsigned int | insertCol (const UT_Array< T > &c, unsigned int index) |
unsigned int | appendCol (const UT_Array< T > &c) |
int | removeRow (unsigned int index) |
int | removeCol (unsigned int index) |
void | cycle (int rowshift, int colshift) |
int | operator== (const UT_RefMatrix< T > &m) const |
UT_RefMatrix< T > & | operator= (const UT_RefMatrix< T > &m) |
const T & | operator() (unsigned i, unsigned j) const |
T & | operator() (unsigned i, unsigned j) |
const T | safeGet (unsigned i, unsigned j) const |
T & | safeGet (unsigned i, unsigned j) |
int | find (const T &t, unsigned int *m, unsigned int *n) const |
unsigned int | rows () const |
unsigned int | cols () const |
void | resize (unsigned int mSz, unsigned int nSz) |
int | apply (int(*apply_func)(T &t, void *d), void *d) |
Definition at line 63 of file GU_Detail.h.
typedef int(* UT_RefMatrix< T >::Comparator)(const T *, const T *) |
Definition at line 30 of file UT_RefMatrix.h.
|
explicit |
Definition at line 22 of file UT_RefMatrixImpl.h.
UT_RefMatrix< T >::~UT_RefMatrix | ( | ) |
Definition at line 38 of file UT_RefMatrixImpl.h.
UT_RefMatrix< T >::UT_RefMatrix | ( | const UT_RefMatrix< T > & | m | ) |
Definition at line 30 of file UT_RefMatrixImpl.h.
unsigned int UT_RefMatrix< T >::appendCol | ( | const UT_Array< T > & | c | ) |
Definition at line 107 of file UT_RefMatrixImpl.h.
unsigned int UT_RefMatrix< T >::appendRow | ( | const UT_Array< T > & | r | ) |
Definition at line 68 of file UT_RefMatrixImpl.h.
Definition at line 233 of file UT_RefMatrixImpl.h.
|
inline |
Definition at line 112 of file UT_RefMatrix.h.
void UT_RefMatrix< T >::cycle | ( | int | rowshift, |
int | colshift | ||
) |
Definition at line 155 of file UT_RefMatrixImpl.h.
int UT_RefMatrix< T >::find | ( | const T & | t, |
unsigned int * | m, | ||
unsigned int * | n | ||
) | const |
Definition at line 180 of file UT_RefMatrixImpl.h.
|
inline |
Definition at line 36 of file UT_RefMatrix.h.
unsigned int UT_RefMatrix< T >::insertCol | ( | unsigned int | index | ) |
Definition at line 86 of file UT_RefMatrixImpl.h.
unsigned int UT_RefMatrix< T >::insertCol | ( | const UT_Array< T > & | c, |
unsigned int | index | ||
) |
Definition at line 114 of file UT_RefMatrixImpl.h.
unsigned int UT_RefMatrix< T >::insertRow | ( | unsigned int | index | ) |
Definition at line 53 of file UT_RefMatrixImpl.h.
unsigned int UT_RefMatrix< T >::insertRow | ( | const UT_Array< T > & | r, |
unsigned int | index | ||
) |
Definition at line 75 of file UT_RefMatrixImpl.h.
|
inline |
Definition at line 82 of file UT_RefMatrix.h.
|
inline |
Definition at line 86 of file UT_RefMatrix.h.
UT_RefMatrix< T > & UT_RefMatrix< T >::operator= | ( | const UT_RefMatrix< T > & | m | ) |
Definition at line 212 of file UT_RefMatrixImpl.h.
int UT_RefMatrix< T >::operator== | ( | const UT_RefMatrix< T > & | m | ) | const |
Definition at line 223 of file UT_RefMatrixImpl.h.
int UT_RefMatrix< T >::removeCol | ( | unsigned int | index | ) |
Definition at line 138 of file UT_RefMatrixImpl.h.
int UT_RefMatrix< T >::removeRow | ( | unsigned int | index | ) |
Definition at line 124 of file UT_RefMatrixImpl.h.
void UT_RefMatrix< T >::resize | ( | unsigned int | mSz, |
unsigned int | nSz | ||
) |
Definition at line 191 of file UT_RefMatrixImpl.h.
|
inline |
Definition at line 111 of file UT_RefMatrix.h.
|
inline |
Definition at line 93 of file UT_RefMatrix.h.
|
inline |
Definition at line 98 of file UT_RefMatrix.h.
void UT_RefMatrix< T >::swap | ( | UT_RefMatrix< T > & | other | ) |
Definition at line 44 of file UT_RefMatrixImpl.h.