#include <array.h>
Public Member Functions | |
| Array (int length) | |
| Array (Type *data, int length) | |
| Array (const Array< Type > &source) | |
| ~Array () | |
| void | setvalue (const Type &value) |
| void | inject (const Type *source) |
| void | inject (const Array< Type > &source) |
| Array< Type > & | operator= (const Type *source) |
| Array< Type > & | operator= (const Array< Type > &source) |
| void | copyto (Type *dest) const |
| int | length () const |
| Type & | operator[] (int i) |
| const Type & | operator[] (int i) const |
| bool | operator== (const Array< Type > &a) const |
| bool | operator!= (const Array< Type > &a) const |
Protected Attributes | |
| Type * | elems |
| int | n |
| bool | owner |
| void Array< Type >::setvalue | ( | const Type & | value | ) |
| void Array< Type >::inject | ( | const Type * | source | ) |
| void Array< Type >::copyto | ( | Type * | dest | ) | const |
|
inline |
| Type & Array< Type >::operator[] | ( | int | i | ) |
| const Type & Array< Type >::operator[] | ( | int | i | ) | const |
1.8.1.1