UT_RefMatrix< utRef > Class Template Reference

#include <UT_RefMatrix.h>

List of all members.

Public Member Functions

 UT_RefMatrix (unsigned int mSz=0, unsigned int nSz=0)
virtual ~UT_RefMatrix (void)
 UT_RefMatrix (const UT_RefMatrix< utRef > &m)
unsigned int insertRow (unsigned int index)
unsigned int insertRow (const UT_RefArray< utRef > &r, unsigned int index, unsigned short dupliCheck=0)
unsigned int insertRow (const UT_RefArray< utRef > &r, unsigned int index, int(*cmpare)(const void *t1, const void *t2))
unsigned int appendRow (const UT_RefArray< utRef > &r, unsigned short dupliCheck=0)
unsigned int appendRow (const UT_RefArray< utRef > &r, int(*cmpare)(const void *t1, const void *t2))
unsigned int insertRowFast (const UT_RefArray< utRef > &r, unsigned int index, unsigned short dupliCheck=0)
unsigned int insertRowFast (const UT_RefArray< utRef > &r, unsigned int index, int(*compare)(const void *t1, const void *t2))
unsigned int appendRowFast (const UT_RefArray< utRef > &r, unsigned short dupliCheck=0)
unsigned int appendRowFast (const UT_RefArray< utRef > &r, int(*compare)(const void *t1, const void *t2))
int insertCol (unsigned int index)
int insertCol (const UT_RefArray< utRef > &c, unsigned int index, unsigned short dupliCheck=0)
int insertCol (const UT_RefArray< utRef > &c, unsigned int index, int(*compare)(const void *t1, const void *t2))
int appendCol (const UT_RefArray< utRef > &c, unsigned short dupliCheck=0)
int appendCol (const UT_RefArray< utRef > &c, int(*compare)(const void *t1, const void *t2))
int removeRow (const UT_RefArray< utRef > &r, unsigned short dupliCheck=0)
int removeRow (unsigned int index, unsigned short dupliCheck=0)
int removeRow (const UT_RefArray< utRef > &r, int(*compare)(const void *t1, const void *t2), unsigned short dupliCheck=0)
int removeRow (unsigned int index, int(*compare)(const void *t1, const void *t2), unsigned short dupliCheck=0)
int removeCol (const UT_RefArray< utRef > &c, unsigned short dupliCheck=0)
int removeCol (unsigned int index, unsigned short dupliCheck=0)
int removeCol (const UT_RefArray< utRef > &c, int(*compare)(const void *t1, const void *t2), unsigned short dupliCheck=0)
int removeCol (unsigned int index, int(*compare)(const void *t1, const void *t2), unsigned short dupliCheck=0)
void cycle (int rowshift, int colshift)
int operator== (const UT_RefMatrix< utRef > &m) const
int isEqual (const UT_RefMatrix< utRef > &m, int(*compare)(const void *t1, const void *t2)) const
UT_RefMatrix< utRef > & operator= (const UT_RefMatrix< utRef > &m)
UT_RefArray< utRef > & operator() (unsigned int i)
UT_RefArray< utRef > & operator[] (unsigned int i)
const UT_RefArray< utRef > & operator() (unsigned int i) const
const UT_RefArray< utRef > & operator[] (unsigned int i) const
const utRef & operator() (unsigned i, unsigned j) const
utRef & operator() (unsigned i, unsigned j)
const utRef & safeGet (unsigned i, unsigned j) const
utRef & safeGet (unsigned i, unsigned j)
const UT_RefArray< utRef > & row (unsigned int i) const
UT_RefArray< utRef > & row (unsigned int i)
UT_RefArray< utRef > & col (unsigned int j) const
int find (const utRef &t, unsigned int *m, unsigned int *n) const
int find (const utRef &t, unsigned int *m, unsigned int *n, int(*compare)(const void *t1, const void *t2)) const
int findRow (const UT_RefArray< utRef > &r, unsigned int s=0) const
int findRow (const UT_RefArray< utRef > &r, int(*compare)(const void *t1, const void *t2), unsigned int s=0) const
int findCol (const UT_RefArray< utRef > &c, unsigned int s=0) const
int findCol (const UT_RefArray< utRef > &c, int(*compare)(const void *t1, const void *t2), unsigned int s=0) const
unsigned int rows (void) const
unsigned int cols (void) const
unsigned int usedRows (void) const
unsigned int usedCols (void) const
unsigned short isEmpty (void) const
void resize (unsigned int mSz, unsigned int nSz, unsigned short copyFlag=1)
int apply (int(*applyFct)(utRef &t, void *d), void *d)

Protected Member Functions

const UT_PtrArray< UT_RefArray
< utRef > * > & 
data (void) const


Detailed Description

template<class utRef>
class UT_RefMatrix< utRef >

Definition at line 40 of file UT_RefMatrix.h.


Constructor & Destructor Documentation

template<class utRef>
UT_RefMatrix< utRef >::UT_RefMatrix ( unsigned int  mSz = 0,
unsigned int  nSz = 0 
) [inline, explicit]

Definition at line 43 of file UT_RefMatrix.h.

template<class utRef >
UT_RefMatrix< utRef >::~UT_RefMatrix ( void   )  [inline, virtual]

Definition at line 89 of file UT_RefMatrix.C.

template<class utRef>
UT_RefMatrix< utRef >::UT_RefMatrix ( const UT_RefMatrix< utRef > &  m  )  [inline]

Definition at line 80 of file UT_RefMatrix.C.


Member Function Documentation

template<class utRef>
int UT_RefMatrix< utRef >::appendCol ( const UT_RefArray< utRef > &  c,
int(*)(const void *t1, const void *t2)  compare 
) [inline]

Definition at line 249 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::appendCol ( const UT_RefArray< utRef > &  c,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 214 of file UT_RefMatrix.C.

template<class utRef>
unsigned int UT_RefMatrix< utRef >::appendRow ( const UT_RefArray< utRef > &  r,
int(*)(const void *t1, const void *t2)  cmpare 
) [inline]

Definition at line 134 of file UT_RefMatrix.C.

template<class utRef>
unsigned int UT_RefMatrix< utRef >::appendRow ( const UT_RefArray< utRef > &  r,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 107 of file UT_RefMatrix.C.

template<class utRef>
unsigned int UT_RefMatrix< utRef >::appendRowFast ( const UT_RefArray< utRef > &  r,
int(*)(const void *t1, const void *t2)  compare 
) [inline]

Definition at line 182 of file UT_RefMatrix.C.

template<class utRef>
unsigned int UT_RefMatrix< utRef >::appendRowFast ( const UT_RefArray< utRef > &  r,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 161 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::apply ( int(*)(utRef &t, void *d)  applyFct,
void *  d 
) [inline]

Definition at line 612 of file UT_RefMatrix.C.

template<class utRef>
UT_RefArray<utRef>& UT_RefMatrix< utRef >::col ( unsigned int  j  )  const

template<class utRef>
unsigned int UT_RefMatrix< utRef >::cols ( void   )  const [inline]

Definition at line 242 of file UT_RefMatrix.h.

template<class utRef >
void UT_RefMatrix< utRef >::cycle ( int  rowshift,
int  colshift 
) [inline]

Definition at line 382 of file UT_RefMatrix.C.

template<class utRef>
const UT_PtrArray< UT_RefArray<utRef>*>& UT_RefMatrix< utRef >::data ( void   )  const [inline, protected]

Definition at line 270 of file UT_RefMatrix.h.

template<class utRef>
int UT_RefMatrix< utRef >::find ( const utRef &  t,
unsigned int *  m,
unsigned int *  n,
int(*)(const void *t1, const void *t2)  compare 
) const [inline]

Definition at line 472 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::find ( const utRef &  t,
unsigned int *  m,
unsigned int *  n 
) const [inline]

Definition at line 461 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::findCol ( const UT_RefArray< utRef > &  c,
int(*)(const void *t1, const void *t2)  compare,
unsigned int  s = 0 
) const [inline]

Definition at line 524 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::findCol ( const UT_RefArray< utRef > &  c,
unsigned int  s = 0 
) const [inline]

Definition at line 507 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::findRow ( const UT_RefArray< utRef > &  r,
int(*)(const void *t1, const void *t2)  compare,
unsigned int  s = 0 
) const [inline]

Definition at line 494 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::findRow ( const UT_RefArray< utRef > &  r,
unsigned int  s = 0 
) const [inline]

Definition at line 483 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::insertCol ( const UT_RefArray< utRef > &  c,
unsigned int  index,
int(*)(const void *t1, const void *t2)  compare 
) [inline]

Definition at line 266 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::insertCol ( const UT_RefArray< utRef > &  c,
unsigned int  index,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 231 of file UT_RefMatrix.C.

template<class utRef >
int UT_RefMatrix< utRef >::insertCol ( unsigned int  index  )  [inline]

Definition at line 203 of file UT_RefMatrix.C.

template<class utRef>
unsigned int UT_RefMatrix< utRef >::insertRow ( const UT_RefArray< utRef > &  r,
unsigned int  index,
int(*)(const void *t1, const void *t2)  cmpare 
) [inline]

Definition at line 145 of file UT_RefMatrix.C.

template<class utRef>
unsigned int UT_RefMatrix< utRef >::insertRow ( const UT_RefArray< utRef > &  r,
unsigned int  index,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 118 of file UT_RefMatrix.C.

template<class utRef >
unsigned int UT_RefMatrix< utRef >::insertRow ( unsigned int  index  )  [inline]

Definition at line 97 of file UT_RefMatrix.C.

template<class utRef>
unsigned int UT_RefMatrix< utRef >::insertRowFast ( const UT_RefArray< utRef > &  r,
unsigned int  index,
int(*)(const void *t1, const void *t2)  compare 
) [inline]

Definition at line 192 of file UT_RefMatrix.C.

template<class utRef>
unsigned int UT_RefMatrix< utRef >::insertRowFast ( const UT_RefArray< utRef > &  r,
unsigned int  index,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 171 of file UT_RefMatrix.C.

template<class utRef>
unsigned short UT_RefMatrix< utRef >::isEmpty ( void   )  const [inline]

Definition at line 249 of file UT_RefMatrix.h.

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

Definition at line 598 of file UT_RefMatrix.C.

template<class utRef>
utRef& UT_RefMatrix< utRef >::operator() ( unsigned  i,
unsigned  j 
) [inline]

Definition at line 186 of file UT_RefMatrix.h.

template<class utRef>
const utRef& UT_RefMatrix< utRef >::operator() ( unsigned  i,
unsigned  j 
) const [inline]

Definition at line 182 of file UT_RefMatrix.h.

template<class utRef>
const UT_RefArray<utRef>& UT_RefMatrix< utRef >::operator() ( unsigned int  i  )  const [inline]

Definition at line 171 of file UT_RefMatrix.h.

template<class utRef>
UT_RefArray<utRef>& UT_RefMatrix< utRef >::operator() ( unsigned int  i  )  [inline]

Definition at line 166 of file UT_RefMatrix.h.

template<class utRef>
UT_RefMatrix< utRef > & UT_RefMatrix< utRef >::operator= ( const UT_RefMatrix< utRef > &  m  )  [inline]

Definition at line 574 of file UT_RefMatrix.C.

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

Definition at line 586 of file UT_RefMatrix.C.

template<class utRef>
const UT_RefArray<utRef>& UT_RefMatrix< utRef >::operator[] ( unsigned int  i  )  const [inline]

Definition at line 175 of file UT_RefMatrix.h.

template<class utRef >
UT_RefArray< utRef > & UT_RefMatrix< utRef >::operator[] ( unsigned int  i  )  [inline]

Definition at line 622 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::removeCol ( unsigned int  index,
int(*)(const void *t1, const void *t2)  compare,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 437 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::removeCol ( const UT_RefArray< utRef > &  c,
int(*)(const void *t1, const void *t2)  compare,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 420 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::removeCol ( unsigned int  index,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 396 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::removeCol ( const UT_RefArray< utRef > &  c,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 366 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::removeRow ( unsigned int  index,
int(*)(const void *t1, const void *t2)  compare,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 345 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::removeRow ( const UT_RefArray< utRef > &  r,
int(*)(const void *t1, const void *t2)  compare,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 324 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::removeRow ( unsigned int  index,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 304 of file UT_RefMatrix.C.

template<class utRef>
int UT_RefMatrix< utRef >::removeRow ( const UT_RefArray< utRef > &  r,
unsigned short  dupliCheck = 0 
) [inline]

Definition at line 284 of file UT_RefMatrix.C.

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

Definition at line 543 of file UT_RefMatrix.C.

template<class utRef>
UT_RefArray<utRef>& UT_RefMatrix< utRef >::row ( unsigned int  i  )  [inline]

Definition at line 211 of file UT_RefMatrix.h.

template<class utRef>
const UT_RefArray<utRef>& UT_RefMatrix< utRef >::row ( unsigned int  i  )  const [inline]

Definition at line 210 of file UT_RefMatrix.h.

template<class utRef>
unsigned int UT_RefMatrix< utRef >::rows ( void   )  const [inline]

Definition at line 241 of file UT_RefMatrix.h.

template<class utRef>
utRef& UT_RefMatrix< utRef >::safeGet ( unsigned  i,
unsigned  j 
) [inline]

Definition at line 197 of file UT_RefMatrix.h.

template<class utRef>
const utRef& UT_RefMatrix< utRef >::safeGet ( unsigned  i,
unsigned  j 
) const [inline]

Definition at line 193 of file UT_RefMatrix.h.

template<class utRef>
unsigned int UT_RefMatrix< utRef >::usedCols ( void   )  const [inline]

Definition at line 244 of file UT_RefMatrix.h.

template<class utRef>
unsigned int UT_RefMatrix< utRef >::usedRows ( void   )  const [inline]

Definition at line 243 of file UT_RefMatrix.h.


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

Generated on Mon Jan 28 00:49:12 2013 for HDK by  doxygen 1.5.9