$search

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 (const Array< T, 1 > &a)
 Array1 (int len, const T a)
 Array1 (int len, const T *d)
 Array1 (int len)
 Array1 ()
 Constructors/Destructor.
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:
_len size of one dimensional array
d pointer 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:
_len size of one dimensional array
a the 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:
a is 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtc
Author(s): Benjamin Pitzer
autogenerated on Sun Mar 3 11:08:31 2013