P::Array< Elem > Class Template Reference
#include <Array.hh>
List of all members.
Detailed Description
template<class Elem>
class P::Array< Elem >
My own array class. STL vectors are just too complicated to debug and sorting is a nightmare, Note: Although I loathe templates, I am using them here, hoping that they won't make too many troubles later on...
Definition at line 21 of file Array.hh.
Constructor & Destructor Documentation
Member Function Documentation
template<class Elem>
void P::Array< Elem >::CheckIndex |
( |
unsigned |
i |
) |
const throw (Except) [private] |
template<class Elem>
unsigned P::Array< Elem >::CircularNext |
( |
unsigned |
i |
) |
|
template<class Elem>
unsigned P::Array< Elem >::CircularPrev |
( |
unsigned |
i |
) |
|
template<class Elem>
void P::Array< Elem >::Clear |
( |
|
) |
[inline] |
template<class Elem>
bool P::Array< Elem >::Contains |
( |
const Elem & |
el |
) |
const |
template<class Elem>
bool P::Array< Elem >::ContainsBackwards |
( |
const Elem & |
el |
) |
const |
template<class Elem>
bool P::Array< Elem >::Empty |
( |
|
) |
[inline] |
template<class Elem>
void P::Array< Elem >::EnsureCapacity |
( |
unsigned |
need_size |
) |
throw (Except) [private] |
template<class Elem>
void P::Array< Elem >::Erase |
( |
unsigned |
i |
) |
|
template<class Elem>
unsigned P::Array< Elem >::Find |
( |
unsigned |
start, |
|
|
const Elem & |
el | |
|
) |
| | |
template<class Elem>
unsigned P::Array< Elem >::Find |
( |
const Elem & |
el |
) |
|
template<class Elem>
unsigned P::Array< Elem >::FindBackwards |
( |
const Elem & |
el |
) |
|
template<class Elem>
void P::Array< Elem >::InsertAfter |
( |
unsigned |
i, |
|
|
const Elem & |
el | |
|
) |
| | |
template<class Elem>
void P::Array< Elem >::InsertBefore |
( |
unsigned |
i, |
|
|
const Elem & |
el | |
|
) |
| | |
template<class Elem>
void P::Array< Elem >::InsertSorted |
( |
const Elem & |
el, |
|
|
int(*)(const void *, const void *) |
compar | |
|
) |
| | |
template<class Elem>
const Elem& P::Array< Elem >::operator[] |
( |
unsigned |
i |
) |
const |
template<class Elem>
Elem& P::Array< Elem >::operator[] |
( |
unsigned |
i |
) |
|
template<class Elem>
void P::Array< Elem >::PushBack |
( |
const Elem & |
el |
) |
|
template<class Elem>
void P::Array< Elem >::PushFront |
( |
const Elem & |
el |
) |
|
template<class Elem>
void P::Array< Elem >::Resize |
( |
unsigned |
new_size |
) |
|
template<class Elem>
void P::Array< Elem >::Set |
( |
const Elem & |
el |
) |
|
template<class Elem>
unsigned P::Array< Elem >::Size |
( |
|
) |
const [inline] |
template<class Elem>
void P::Array< Elem >::Sort |
( |
int(*)(const void *, const void *) |
compar |
) |
|
template<class Elem>
void P::Array< Elem >::Swap |
( |
unsigned |
i, |
|
|
unsigned |
j | |
|
) |
| | |
Member Data Documentation
actual array
Definition at line 26 of file Array.hh.
allocated size of array
Definition at line 28 of file Array.hh.
used size of array
Definition at line 27 of file Array.hh.
The documentation for this class was generated from the following file:
blort
Author(s): Michael Zillich,
Thomas Mörwald,
Johann Prankl,
Andreas Richtsfeld,
Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:58 2013