ERC CISST - cisst software

vctFixedSizeVectorRecursiveEngines< _size >::SelectByIndex Class Reference

#include <vctFixedSizeVectorRecursiveEngines.h>

List of all members.


Detailed Description

template<vct::size_type _size>
class vctFixedSizeVectorRecursiveEngines< _size >::SelectByIndex

A specialized engine to select elements from the input vector to the output vector.

Definition at line 844 of file vctFixedSizeVectorRecursiveEngines.h.

Public Types

Static Public Member Functions


Member Function Documentation

template<vct::size_type _size>
template<class _outputVectorType, class _inputVectorType, class _indexVectorType>
static void vctFixedSizeVectorRecursiveEngines< _size >::SelectByIndex::Unfold ( _outputVectorType &  output,
const _inputVectorType &  input,
const _indexVectorType &  index 
) [inline, static]

Unfold the recursion: call Unfold for the first (_size - 1) elements, then assign value to the _size element.

Parameters:
output The output vector.
input The input vector from which elements are selected.
index The index vector.

Definition at line 857 of file vctFixedSizeVectorRecursiveEngines.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::SelectFrom().


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu