LibBeamApi
1.3.0
|
#include <BArray.h>
Public Types | |
typedef int(* | SortFunc )(T &a, T &b) |
Prototype for sorting function. | |
Public Member Functions | |
BArray () | |
BArray (BSize size, T value=T()) | |
BArray (const BArray &array) | |
BUInt | number () |
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. This is based on the Standard C++ library vector class and has all of the functionality of that class.
typedef int(* BArray::SortFunc)(T &a, T &b) |
Prototype for sorting function.
BArray::BArray | ( | ) | [inline] |
BArray::BArray | ( | BSize | size, |
T | value = T() |
||
) | [inline] |
BArray::BArray | ( | const BArray & | array | ) | [inline] |
void BArray::append | ( | const T & | value | ) | [inline] |
void BArray::append | ( | const BArray< T > & | array | ) |
void BArray::insert | ( | BUInt | pos, |
const T & | value | ||
) | [inline] |
BUInt BArray::number | ( | ) | [inline] |
T& BArray::rear | ( | ) | [inline] |
void BArray::sort | ( | ) | [inline] |