beecrypt::array< T > Class Template Reference

#include <array.h>

Inheritance diagram for beecrypt::array< T >:

Inheritance graph
[legend]
Collaboration diagram for beecrypt::array< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 array () throw ()
 array (size_t size) throw (std::bad_alloc)
 array (const T *data, size_t size) throw (std::bad_alloc)
 array (const array &_copy) throw (std::bad_alloc)
 ~array () throw ()
arrayclone () const throw (std::bad_alloc)
const arrayoperator= (const array &_set) throw (std::bad_alloc)
bool operator== (const array &_cmp) const throw ()
bool operator!= (const array &_cmp) const throw ()
T * data () throw ()
const T * data () const throw ()
size_t size () const throw ()
void replace (T *data, size_t size) throw ()
void swap (array &_swp) throw ()
void resize (size_t _newsize) throw (std::bad_alloc)
T & operator[] (size_t _n) throw ()
const T operator[] (size_t _n) const throw ()
const array< T > & operator+= (const array< T > &_rhs) throw ()

Protected Attributes

T * _data
size_t _size

template<typename T>
class beecrypt::array< T >


Constructor & Destructor Documentation

template<typename T>
beecrypt::array< T >::array (  )  throw () [inline]

template<typename T>
beecrypt::array< T >::array ( size_t  size  )  throw (std::bad_alloc) [inline]

template<typename T>
beecrypt::array< T >::array ( const T *  data,
size_t  size 
) throw (std::bad_alloc) [inline]

template<typename T>
beecrypt::array< T >::array ( const array< T > &  _copy  )  throw (std::bad_alloc) [inline]

template<typename T>
beecrypt::array< T >::~array (  )  throw () [inline]


Member Function Documentation

template<typename T>
array* beecrypt::array< T >::clone (  )  const throw (std::bad_alloc) [inline]

template<typename T>
const array& beecrypt::array< T >::operator= ( const array< T > &  _set  )  throw (std::bad_alloc) [inline]

template<typename T>
bool beecrypt::array< T >::operator== ( const array< T > &  _cmp  )  const throw () [inline]

template<typename T>
bool beecrypt::array< T >::operator!= ( const array< T > &  _cmp  )  const throw () [inline]

template<typename T>
T* beecrypt::array< T >::data (  )  throw () [inline]

template<typename T>
const T* beecrypt::array< T >::data (  )  const throw () [inline]

template<typename T>
size_t beecrypt::array< T >::size (  )  const throw () [inline]

template<typename T>
void beecrypt::array< T >::replace ( T *  data,
size_t  size 
) throw () [inline]

template<typename T>
void beecrypt::array< T >::swap ( array< T > &  _swp  )  throw () [inline]

template<typename T>
void beecrypt::array< T >::resize ( size_t  _newsize  )  throw (std::bad_alloc) [inline]

template<typename T>
T& beecrypt::array< T >::operator[] ( size_t  _n  )  throw () [inline]

template<typename T>
const T beecrypt::array< T >::operator[] ( size_t  _n  )  const throw () [inline]

template<typename T>
const array<T>& beecrypt::array< T >::operator+= ( const array< T > &  _rhs  )  throw () [inline]


Member Data Documentation

template<typename T>
T* beecrypt::array< T >::_data [protected]

template<typename T>
size_t beecrypt::array< T >::_size [protected]


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

Generated on Tue May 20 13:55:14 2008 for BeeCrypt by  doxygen 1.5.5