- A Logic Circuit Simulation Library in C++ |
#include <array1d.h>
Inheritance diagram for lcs::Array1D< T, len >:
Public Member Functions | |
Array1D (void) | |
Array1D (const Array1D< T, len > &a) | |
virtual | ~Array1D () |
int | length (void) const |
Array1D< T, len > & | operator= (const Array1D< T, len > &a) |
T & | operator[] (unsigned int index) throw (OutOfRangeException<unsigned int>) |
const T & | operator[] (unsigned int index) const throw (OutOfRangeException<unsigned int>) |
lcs::Array1D< T, len >::Array1D | ( | void | ) |
Default constructor.
lcs::Array1D< T, len >::Array1D | ( | const Array1D< T, len > & | a | ) |
Copy constructor.
lcs::Array1D< T, len >::~Array1D | ( | ) | [virtual] |
Destructor.
int lcs::Array1D< T, len >::length | ( | void | ) | const [inline] |
Returns the length of the array.
Array1D< T, len > & lcs::Array1D< T, len >::operator= | ( | const Array1D< T, len > & | a | ) |
The assignment operator.
const T & lcs::Array1D< T, len >::operator[] | ( | unsigned int | index | ) | const throw (OutOfRangeException<unsigned int>) |
Retrieves the array element at the specified index.
T & lcs::Array1D< T, len >::operator[] | ( | unsigned int | index | ) | throw (OutOfRangeException<unsigned int>) |
Retrieves the array element at the specified index.