Logo Search packages:      
Sourcecode: matwrap version File versions  Download package

Public Member Functions | Private Attributes

array< T > Class Template Reference

Inheritance diagram for array< T >:
Inheritance graph

List of all members.

Public Member Functions

 array (unsigned arr_size)
void copy (const T *, unsigned n_elements)
T & ix (unsigned idx)
const T & ix (unsigned idx) const
int last_idx () const
unsigned length () const
array< T > & operator= (const array< T > &in_arr)
const T & operator[] (unsigned idx) const
T & operator[] (unsigned idx)
void reallocate (unsigned new_arr_size)

Private Attributes

T * arr_els
unsigned n_elements

Detailed Description

template<class T>
class array< T >

Definition at line 16 of file array.h.

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

Generated by  Doxygen 1.6.0   Back to index