Public Member Functions
rtc::Array1< T > Class Template Reference

#include <rtcArray1.h>

Inheritance diagram for rtc::Array1< T >:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

template<class T>
class rtc::Array1< T >

A 1-Dimensional Array

Definition at line 37 of file rtcArray1.h.


Constructor & Destructor Documentation

template<class T >
rtc::Array1< T >::Array1 ( ) [inline]

Constructors/Destructor.

Ctor that does no initalization.

Definition at line 79 of file rtcArray1.h.

template<class T >
rtc::Array1< T >::Array1 ( int  len_) [inline]

Ctor that starts with given dimensions

Parameters:
len_size of one dimensional array

Definition at line 85 of file rtcArray1.h.

template<class T>
rtc::Array1< T >::Array1 ( int  _len,
const T *  d 
) [inline]

Ctor that initializes elements from an array.

Parameters:
_lensize of one dimensional array
dpointer to the initalization array

Definition at line 94 of file rtcArray1.h.

template<class T>
rtc::Array1< T >::Array1 ( int  _len,
const T  a 
) [inline]

Ctor that initializes all elements from a scalar.

Parameters:
_lensize of one dimensional array
athe value to assign to all elements

Definition at line 104 of file rtcArray1.h.

template<class T>
rtc::Array1< T >::Array1 ( const Array< T, 1 > &  a) [inline]

Ctor that initializes an Array1<T> with a Array<T,1>.

Parameters:
ais the array to duplicate

Definition at line 113 of file rtcArray1.h.


Member Function Documentation

template<class T >
void rtc::Array1< T >::setSize ( int  len_) [inline]

Mutators.

Set the size of the array

Parameters:
len_size of one dimensional array

Definition at line 119 of file rtcArray1.h.

template<class T >
int rtc::Array1< T >::size ( ) const [inline]

Accessors.

Set the size of the array

Returns:
size of one dimensional array

Reimplemented from rtc::Array< T, 1 >.

Definition at line 129 of file rtcArray1.h.


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


rtc
Author(s): Benjamin Pitzer
autogenerated on Thu Jan 2 2014 11:04:54