MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Types | |
typedef T * | iterator |
typedef const T * | const_iterator |
typedef T * | iterator |
typedef const T * | const_iterator |
typedef T * | iterator |
typedef const T * | const_iterator |
Public Member Functions | |
SimpleArray () | |
SimpleArray (unsigned s) | |
~SimpleArray () | |
T ** | ptr () |
int & | size () |
int | size () const |
int & | capacity () |
int | capacity () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
T & | operator[] (unsigned idx) |
T | operator[] (unsigned idx) const |
SimpleArray () | |
SimpleArray (unsigned s) | |
~SimpleArray () | |
T ** | ptr () |
int & | size () |
int | size () const |
int & | capacity () |
int | capacity () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
T & | operator[] (unsigned idx) |
T | operator[] (unsigned idx) const |
SimpleArray () | |
SimpleArray (unsigned s) | |
~SimpleArray () | |
T ** | ptr () |
int & | size () |
int | size () const |
int & | capacity () |
int | capacity () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
T & | operator[] (unsigned idx) |
T | operator[] (unsigned idx) const |
Private Attributes | |
T * | arr |
int | arrSize |
int | arrAllocated |
Definition at line 51 of file testgeom.cpp.
typedef const T* SimpleArray< T >::const_iterator |
Definition at line 96 of file testgeom.cpp.
typedef const T* SimpleArray< T >::const_iterator |
Definition at line 96 of file testSmooth.cpp.
typedef const T* SimpleArray< T >::const_iterator |
Definition at line 106 of file testSmooth2.cpp.
typedef T* SimpleArray< T >::iterator |
Definition at line 95 of file testgeom.cpp.
typedef T* SimpleArray< T >::iterator |
Definition at line 95 of file testSmooth.cpp.
typedef T* SimpleArray< T >::iterator |
Definition at line 105 of file testSmooth2.cpp.
SimpleArray< T >::SimpleArray | ( | ) | [inline] |
Definition at line 59 of file testgeom.cpp.
: arr( 0 ), arrSize( 0 ), arrAllocated( 0 ) {}
SimpleArray< T >::SimpleArray | ( | unsigned | s | ) | [inline] |
Definition at line 60 of file testgeom.cpp.
References SimpleArray< T >::arr, and T.
SimpleArray< T >::~SimpleArray | ( | ) | [inline] |
Definition at line 67 of file testgeom.cpp.
References SimpleArray< T >::arr, SimpleArray< T >::size(), and T.
SimpleArray< T >::SimpleArray | ( | ) | [inline] |
Definition at line 59 of file testSmooth.cpp.
: arr( 0 ), arrSize( 0 ), arrAllocated( 0 ) {}
SimpleArray< T >::SimpleArray | ( | unsigned | s | ) | [inline] |
Definition at line 60 of file testSmooth.cpp.
References SimpleArray< T >::arr, and T.
SimpleArray< T >::~SimpleArray | ( | ) | [inline] |
Definition at line 67 of file testSmooth.cpp.
References SimpleArray< T >::arr, SimpleArray< T >::size(), and T.
SimpleArray< T >::SimpleArray | ( | ) | [inline] |
Definition at line 69 of file testSmooth2.cpp.
: arr( 0 ), arrSize( 0 ), arrAllocated( 0 ) {}
SimpleArray< T >::SimpleArray | ( | unsigned | s | ) | [inline] |
Definition at line 70 of file testSmooth2.cpp.
References SimpleArray< T >::arr, and T.
SimpleArray< T >::~SimpleArray | ( | ) | [inline] |
Definition at line 77 of file testSmooth2.cpp.
References SimpleArray< T >::arr, SimpleArray< T >::size(), and T.
iterator SimpleArray< T >::begin | ( | ) | [inline] |
Definition at line 97 of file testgeom.cpp.
References SimpleArray< T >::arr.
Referenced by geometry_evaluation_test(), normals_test(), tag_info_test(), and topology_adjacencies_test().
{ return arr; }
iterator SimpleArray< T >::begin | ( | ) | [inline] |
const_iterator SimpleArray< T >::begin | ( | ) | const [inline] |
const_iterator SimpleArray< T >::begin | ( | ) | const [inline] |
iterator SimpleArray< T >::begin | ( | ) | [inline] |
const_iterator SimpleArray< T >::begin | ( | ) | const [inline] |
int& SimpleArray< T >::capacity | ( | ) | [inline] |
Definition at line 86 of file testgeom.cpp.
References SimpleArray< T >::arrAllocated.
Referenced by tag_get_set_test().
{ return arrAllocated; }
int& SimpleArray< T >::capacity | ( | ) | [inline] |
Definition at line 86 of file testSmooth.cpp.
References SimpleArray< T >::arrAllocated.
{ return arrAllocated; }
int SimpleArray< T >::capacity | ( | ) | const [inline] |
Definition at line 90 of file testSmooth.cpp.
References SimpleArray< T >::arrAllocated.
{ return arrAllocated; }
int SimpleArray< T >::capacity | ( | ) | const [inline] |
Definition at line 90 of file testgeom.cpp.
References SimpleArray< T >::arrAllocated.
{ return arrAllocated; }
int& SimpleArray< T >::capacity | ( | ) | [inline] |
Definition at line 96 of file testSmooth2.cpp.
References SimpleArray< T >::arrAllocated.
{ return arrAllocated; }
int SimpleArray< T >::capacity | ( | ) | const [inline] |
Definition at line 100 of file testSmooth2.cpp.
References SimpleArray< T >::arrAllocated.
{ return arrAllocated; }
iterator SimpleArray< T >::end | ( | ) | [inline] |
Definition at line 105 of file testgeom.cpp.
References SimpleArray< T >::arr, and SimpleArray< T >::arrSize.
Referenced by geometry_evaluation_test(), normals_test(), tag_info_test(), and topology_adjacencies_test().
iterator SimpleArray< T >::end | ( | ) | [inline] |
Definition at line 105 of file testSmooth.cpp.
References SimpleArray< T >::arr, and SimpleArray< T >::arrSize.
const_iterator SimpleArray< T >::end | ( | ) | const [inline] |
Definition at line 109 of file testgeom.cpp.
References SimpleArray< T >::arr, and SimpleArray< T >::arrSize.
const_iterator SimpleArray< T >::end | ( | ) | const [inline] |
Definition at line 109 of file testSmooth.cpp.
References SimpleArray< T >::arr, and SimpleArray< T >::arrSize.
iterator SimpleArray< T >::end | ( | ) | [inline] |
Definition at line 115 of file testSmooth2.cpp.
References SimpleArray< T >::arr, and SimpleArray< T >::arrSize.
const_iterator SimpleArray< T >::end | ( | ) | const [inline] |
Definition at line 119 of file testSmooth2.cpp.
References SimpleArray< T >::arr, and SimpleArray< T >::arrSize.
T& SimpleArray< T >::operator[] | ( | unsigned | idx | ) | [inline] |
Definition at line 114 of file testSmooth.cpp.
References SimpleArray< T >::arr.
{ return arr[idx]; }
T& SimpleArray< T >::operator[] | ( | unsigned | idx | ) | [inline] |
T SimpleArray< T >::operator[] | ( | unsigned | idx | ) | const [inline] |
Definition at line 118 of file testSmooth.cpp.
References SimpleArray< T >::arr.
{ return arr[idx]; }
T SimpleArray< T >::operator[] | ( | unsigned | idx | ) | const [inline] |
T& SimpleArray< T >::operator[] | ( | unsigned | idx | ) | [inline] |
Definition at line 124 of file testSmooth2.cpp.
References SimpleArray< T >::arr.
{ return arr[idx]; }
T SimpleArray< T >::operator[] | ( | unsigned | idx | ) | const [inline] |
Definition at line 128 of file testSmooth2.cpp.
References SimpleArray< T >::arr.
{ return arr[idx]; }
T** SimpleArray< T >::ptr | ( | ) | [inline] |
Definition at line 74 of file testgeom.cpp.
References SimpleArray< T >::arr.
Referenced by tag_get_set_test().
{ return &arr; }
T** SimpleArray< T >::ptr | ( | ) | [inline] |
T** SimpleArray< T >::ptr | ( | ) | [inline] |
int& SimpleArray< T >::size | ( | ) | [inline] |
Definition at line 78 of file testgeom.cpp.
References SimpleArray< T >::arrSize.
Referenced by construct_test(), gentityset_test(), geometry_evaluation_test(), normals_test(), ray_test(), tag_get_set_test(), tag_info_test(), topology_adjacencies_test(), and SimpleArray< T >::~SimpleArray().
{ return arrSize; }
int& SimpleArray< T >::size | ( | ) | [inline] |
Definition at line 78 of file testSmooth.cpp.
References SimpleArray< T >::arrSize.
{ return arrSize; }
int SimpleArray< T >::size | ( | ) | const [inline] |
Definition at line 82 of file testSmooth.cpp.
References SimpleArray< T >::arrSize.
{ return arrSize; }
int SimpleArray< T >::size | ( | ) | const [inline] |
Definition at line 82 of file testgeom.cpp.
References SimpleArray< T >::arrSize.
{ return arrSize; }
int& SimpleArray< T >::size | ( | ) | [inline] |
Definition at line 88 of file testSmooth2.cpp.
References SimpleArray< T >::arrSize.
{ return arrSize; }
int SimpleArray< T >::size | ( | ) | const [inline] |
Definition at line 92 of file testSmooth2.cpp.
References SimpleArray< T >::arrSize.
{ return arrSize; }
T * SimpleArray< T >::arr [private] |
Definition at line 54 of file testgeom.cpp.
Referenced by SimpleArray< T >::begin(), SimpleArray< T >::end(), SimpleArray< T >::operator[](), SimpleArray< T >::ptr(), SimpleArray< T >::SimpleArray(), and SimpleArray< T >::~SimpleArray().
int SimpleArray< T >::arrAllocated [private] |
Definition at line 56 of file testgeom.cpp.
Referenced by SimpleArray< T >::capacity().
int SimpleArray< T >::arrSize [private] |
Definition at line 55 of file testgeom.cpp.
Referenced by SimpleArray< T >::end(), and SimpleArray< T >::size().