LibBeamApi  1.3.0
Public Types | Public Member Functions
BArray Class Reference

#include <BArray.h>

List of all members.

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 ()

Detailed Description

Template based Array class. This is based on the Standard C++ library vector class and has all of the functionality of that class.


Member Typedef Documentation

typedef int(* BArray::SortFunc)(T &a, T &b)

Prototype for sorting function.


Constructor & Destructor Documentation

BArray::BArray ( ) [inline]
BArray::BArray ( BSize  size,
value = T() 
) [inline]
BArray::BArray ( const BArray array) [inline]

Member Function Documentation

void BArray::append ( const T &  value) [inline]
void BArray::append ( const BArray< T > &  array)
void BArray::del ( BUInt  pos,
BUInt  num = 1 
) [inline]
void BArray::insert ( BUInt  pos,
const T &  value 
) [inline]
BUInt BArray::number ( ) [inline]
T& BArray::rear ( ) [inline]
void BArray::sort ( ) [inline]

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