UT_PtrMatrix< utPtr > Class Template Reference

#include <UT_PtrMatrix.h>

List of all members.

Public Member Functions

 UT_PtrMatrix (unsigned mSz=0, unsigned nSz=0)
 ~UT_PtrMatrix (void)
 UT_PtrMatrix (const UT_PtrMatrix< utPtr > &m)
unsigned int insertRow (unsigned int index)
unsigned int insertRow (const UT_PtrArray< utPtr > &r, unsigned index)
unsigned int appendRow (const UT_PtrArray< utPtr > &r)
unsigned int insertRowFast (const UT_PtrArray< utPtr > &r, unsigned idx)
unsigned int appendRowFast (const UT_PtrArray< utPtr > &r)
int insertCol (unsigned index)
int insertCol (const UT_PtrArray< utPtr > &c, unsigned int index)
int appendCol (const UT_PtrArray< utPtr > &c)
int removeRow (const UT_PtrArray< utPtr > &r)
int removeRow (unsigned index)
int removeCol (const UT_PtrArray< utPtr > &c)
int removeCol (unsigned int index)
int operator== (const UT_PtrMatrix< utPtr > &m) const
int isEqual (const UT_PtrMatrix< utPtr > &m, int(*compare)(const void *t1, const void *t2)) const
UT_PtrMatrix< utPtr > & operator= (const UT_PtrMatrix< utPtr > &m)
utPtr operator() (unsigned i, unsigned j) const
utPtr & operator() (unsigned int i, unsigned int j)
utPtr safeGet (unsigned i, unsigned j) const
utPtr & safeGet (unsigned int i, unsigned int j)
int find (utPtr t, unsigned int *m, unsigned int *n) const
int findRow (const UT_PtrArray< utPtr > &r, unsigned int s=0) const
int findCol (const UT_PtrArray< utPtr > &c, unsigned int s=0) const
unsigned int rowSize (void) const
unsigned int colSize (void) const
unsigned int rows (void) const
unsigned int cols (void) const
unsigned short isEmpty (void) const
void resize (unsigned int mSz, unsigned int nSz, unsigned short copyFlag=1)
int apply (int(*fcn)(utPtr t, void *d), void *d)


Detailed Description

template<class utPtr>
class UT_PtrMatrix< utPtr >

Definition at line 76 of file UT_PtrMatrix.h.


Constructor & Destructor Documentation

template<class utPtr>
UT_PtrMatrix< utPtr >::UT_PtrMatrix ( unsigned  mSz = 0,
unsigned  nSz = 0 
) [inline]

Definition at line 79 of file UT_PtrMatrix.h.

template<class utPtr>
UT_PtrMatrix< utPtr >::~UT_PtrMatrix ( void   )  [inline]

Definition at line 80 of file UT_PtrMatrix.h.

template<class utPtr>
UT_PtrMatrix< utPtr >::UT_PtrMatrix ( const UT_PtrMatrix< utPtr > &  m  )  [inline]

Definition at line 84 of file UT_PtrMatrix.h.


Member Function Documentation

template<class utPtr>
int UT_PtrMatrix< utPtr >::appendCol ( const UT_PtrArray< utPtr > &  c  )  [inline]

Definition at line 133 of file UT_PtrMatrix.h.

template<class utPtr>
unsigned int UT_PtrMatrix< utPtr >::appendRow ( const UT_PtrArray< utPtr > &  r  )  [inline]

Definition at line 105 of file UT_PtrMatrix.h.

template<class utPtr>
unsigned int UT_PtrMatrix< utPtr >::appendRowFast ( const UT_PtrArray< utPtr > &  r  )  [inline]

Definition at line 115 of file UT_PtrMatrix.h.

template<class utPtr>
int UT_PtrMatrix< utPtr >::apply ( int(*)(utPtr t, void *d)  fcn,
void *  d 
) [inline]

Definition at line 300 of file UT_PtrMatrix.h.

template<class utPtr>
unsigned int UT_PtrMatrix< utPtr >::cols ( void   )  const [inline]

Definition at line 285 of file UT_PtrMatrix.h.

template<class utPtr>
unsigned int UT_PtrMatrix< utPtr >::colSize ( void   )  const [inline]

Definition at line 283 of file UT_PtrMatrix.h.

template<class utPtr>
int UT_PtrMatrix< utPtr >::find ( utPtr  t,
unsigned int *  m,
unsigned int *  n 
) const [inline]

Definition at line 258 of file UT_PtrMatrix.h.

template<class utPtr>
int UT_PtrMatrix< utPtr >::findCol ( const UT_PtrArray< utPtr > &  c,
unsigned int  s = 0 
) const [inline]

Definition at line 275 of file UT_PtrMatrix.h.

template<class utPtr>
int UT_PtrMatrix< utPtr >::findRow ( const UT_PtrArray< utPtr > &  r,
unsigned int  s = 0 
) const [inline]

Definition at line 271 of file UT_PtrMatrix.h.

template<class utPtr>
int UT_PtrMatrix< utPtr >::insertCol ( const UT_PtrArray< utPtr > &  c,
unsigned int  index 
) [inline]

Definition at line 129 of file UT_PtrMatrix.h.

template<class utPtr>
int UT_PtrMatrix< utPtr >::insertCol ( unsigned  index  )  [inline]

Definition at line 128 of file UT_PtrMatrix.h.

template<class utPtr>
unsigned int UT_PtrMatrix< utPtr >::insertRow ( const UT_PtrArray< utPtr > &  r,
unsigned  index 
) [inline]

Definition at line 101 of file UT_PtrMatrix.h.

template<class utPtr>
unsigned int UT_PtrMatrix< utPtr >::insertRow ( unsigned int  index  )  [inline]

Definition at line 97 of file UT_PtrMatrix.h.

template<class utPtr>
unsigned int UT_PtrMatrix< utPtr >::insertRowFast ( const UT_PtrArray< utPtr > &  r,
unsigned  idx 
) [inline]

Definition at line 111 of file UT_PtrMatrix.h.

template<class utPtr>
unsigned short UT_PtrMatrix< utPtr >::isEmpty ( void   )  const [inline]

Definition at line 286 of file UT_PtrMatrix.h.

template<class utPtr>
int UT_PtrMatrix< utPtr >::isEqual ( const UT_PtrMatrix< utPtr > &  m,
int(*)(const void *t1, const void *t2)  compare 
) const [inline]

Definition at line 182 of file UT_PtrMatrix.h.

template<class utPtr>
utPtr& UT_PtrMatrix< utPtr >::operator() ( unsigned int  i,
unsigned int  j 
) [inline]

Definition at line 225 of file UT_PtrMatrix.h.

template<class utPtr>
utPtr UT_PtrMatrix< utPtr >::operator() ( unsigned  i,
unsigned  j 
) const [inline]

Definition at line 221 of file UT_PtrMatrix.h.

template<class utPtr>
UT_PtrMatrix<utPtr>& UT_PtrMatrix< utPtr >::operator= ( const UT_PtrMatrix< utPtr > &  m  )  [inline]

Definition at line 193 of file UT_PtrMatrix.h.

template<class utPtr>
int UT_PtrMatrix< utPtr >::operator== ( const UT_PtrMatrix< utPtr > &  m  )  const [inline]

Definition at line 178 of file UT_PtrMatrix.h.

template<class utPtr>
int UT_PtrMatrix< utPtr >::removeCol ( unsigned int  index  )  [inline]

Definition at line 169 of file UT_PtrMatrix.h.

template<class utPtr>
int UT_PtrMatrix< utPtr >::removeCol ( const UT_PtrArray< utPtr > &  c  )  [inline]

Definition at line 165 of file UT_PtrMatrix.h.

template<class utPtr>
int UT_PtrMatrix< utPtr >::removeRow ( unsigned  index  )  [inline]

Definition at line 152 of file UT_PtrMatrix.h.

template<class utPtr>
int UT_PtrMatrix< utPtr >::removeRow ( const UT_PtrArray< utPtr > &  r  )  [inline]

Definition at line 148 of file UT_PtrMatrix.h.

template<class utPtr>
void UT_PtrMatrix< utPtr >::resize ( unsigned int  mSz,
unsigned int  nSz,
unsigned short  copyFlag = 1 
) [inline]

Definition at line 290 of file UT_PtrMatrix.h.

template<class utPtr>
unsigned int UT_PtrMatrix< utPtr >::rows ( void   )  const [inline]

Definition at line 284 of file UT_PtrMatrix.h.

template<class utPtr>
unsigned int UT_PtrMatrix< utPtr >::rowSize ( void   )  const [inline]

Definition at line 282 of file UT_PtrMatrix.h.

template<class utPtr>
utPtr& UT_PtrMatrix< utPtr >::safeGet ( unsigned int  i,
unsigned int  j 
) [inline]

Definition at line 236 of file UT_PtrMatrix.h.

template<class utPtr>
utPtr UT_PtrMatrix< utPtr >::safeGet ( unsigned  i,
unsigned  j 
) const [inline]

Definition at line 232 of file UT_PtrMatrix.h.


The documentation for this class was generated from the following file:

Generated on Mon Jan 28 00:30:16 2013 for HDK by  doxygen 1.5.9