#include <rtcArray1.h>
Public Member Functions | |
Array1 () | |
Constructors/Destructor. | |
Array1 (int len) | |
Array1 (int len, const T *d) | |
Array1 (int len, const T a) | |
Array1 (const Array< T, 1 > &a) | |
void | setSize (int len) |
Mutators. | |
int | size () const |
Accessors. |
Definition at line 37 of file rtcArray1.h.
rtc::Array1< T >::Array1 | ( | ) | [inline] |
Constructors/Destructor.
Ctor that does no initalization.
Definition at line 79 of file rtcArray1.h.
rtc::Array1< T >::Array1 | ( | int | len_ | ) | [inline] |
Ctor that starts with given dimensions
len_ | size of one dimensional array |
Definition at line 85 of file rtcArray1.h.
rtc::Array1< T >::Array1 | ( | int | _len, |
const T * | d | ||
) | [inline] |
Ctor that initializes elements from an array.
_len | size of one dimensional array |
d | pointer to the initalization array |
Definition at line 94 of file rtcArray1.h.
rtc::Array1< T >::Array1 | ( | int | _len, |
const T | a | ||
) | [inline] |
Ctor that initializes all elements from a scalar.
_len | size of one dimensional array |
a | the value to assign to all elements |
Definition at line 104 of file rtcArray1.h.
rtc::Array1< T >::Array1 | ( | const Array< T, 1 > & | a | ) | [inline] |
Ctor that initializes an Array1<T> with a Array<T,1>.
a | is the array to duplicate |
Definition at line 113 of file rtcArray1.h.
void rtc::Array1< T >::setSize | ( | int | len_ | ) | [inline] |
Mutators.
Set the size of the array
len_ | size of one dimensional array |
Definition at line 119 of file rtcArray1.h.
int rtc::Array1< T >::size | ( | ) | const [inline] |
Accessors.
Set the size of the array
Reimplemented from rtc::Array< T, 1 >.
Definition at line 129 of file rtcArray1.h.