BArray< T > Class Template 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<class T>
class BArray< T >

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

template<class T>
typedef int(*) BArray< T >::SortFunc(T &a, T &b)

Prototype for sorting function.


Constructor & Destructor Documentation

template<class T>
BArray< T >::BArray (  )  [inline]

template<class T>
BArray< T >::BArray ( BSize  size,
value = T() 
) [inline]

template<class T>
BArray< T >::BArray ( const BArray< T > &  array  )  [inline]


Member Function Documentation

template<class T>
void BArray< T >::append ( const BArray< T > &  array  ) 

template<class T>
void BArray< T >::append ( const T &  value  )  [inline]

template<class T>
void BArray< T >::del ( BUInt  pos,
BUInt  num = 1 
) [inline]

template<class T>
void BArray< T >::insert ( BUInt  pos,
const T &  value 
) [inline]

template<class T>
BUInt BArray< T >::number (  )  [inline]

template<class T>
T& BArray< T >::rear (  )  [inline]

template<class T>
void BArray< T >::sort (  )  [inline]


The documentation for this class was generated from the following file:
Generated on 29 Jan 2015 for LibBeamApi by  doxygen 1.4.7