|
Beamlib
3.0.1
This is the Beam C++ class library.
|
Template based Array class. More...
#include <BArray.h>
Public Types | |
| typedef int(* | SortFunc) (T &a, T &b) |
| Prototype for sorting function. More... | |
Public Member Functions | |
| BArray () | |
| BArray (BSize size, T value=T()) | |
| BArray (const BArray &array) | |
| BUInt | number () const |
| void | append (const T &value) |
| void | append (const BArray< T > &array) |
| void | insert (BUInt pos, const T &value) |
| void | del (BUInt pos, BUInt num=1) |
| T & | rear () |
| void | sort () |
Template based Array class.
The BArray class is a simple contiguous in memory list of objects. It is used to store an ordered list of any type/class of objects. It is based on the Standard C++ library vector class and has all of the functionality of that class.
| typedef int(* BArray< T >::SortFunc) (T &a, T &b) |
Prototype for sorting function.
|
inline |
|
inline |
|
inline |