NL3D::CVectNormIterator< TBaseIter > Struct Template Reference

#include <ps_attrib_maker_iterators.h>

Inheritance diagram for NL3D::CVectNormIterator< TBaseIter >:

NL3D::CPSBaseIterator< TBaseIter >

Detailed Description

template<class TBaseIter>
struct NL3D::CVectNormIterator< TBaseIter >

This special iterator on a vector attributes enables to convert the speed to its norm It is for private use only, and it has not all the functionnalities of an iterator. The src datas can't be modified as we return the norm, and not a reference on the value

Definition at line 58 of file ps_attrib_maker_iterators.h.

Public Member Functions

void advance ()
 CVectNormIterator (const TBaseIter &it)
GET_INLINE float get () const

Data Fields

TBaseIter Iter


Constructor & Destructor Documentation

template<class TBaseIter>
NL3D::CVectNormIterator< TBaseIter >::CVectNormIterator const TBaseIter &  it  )  [inline]
 

Definition at line 61 of file ps_attrib_maker_iterators.h.

00061 : CPSBaseIterator<TBaseIter>(it) {}


Member Function Documentation

template<typename TBaseIter>
void NL3D::CPSBaseIterator< TBaseIter >::advance  )  [inline, inherited]
 

Definition at line 50 of file ps_attrib_maker_iterators.h.

00050 { Iter.advance(); }     

template<class TBaseIter>
GET_INLINE float NL3D::CVectNormIterator< TBaseIter >::get  )  const [inline]
 

Reimplemented from NL3D::CPSBaseIterator< TBaseIter >.

Definition at line 60 of file ps_attrib_maker_iterators.h.

References GET_INLINE.

00060 { return Iter.get().norm(); }


Field Documentation

template<typename TBaseIter>
TBaseIter NL3D::CPSBaseIterator< TBaseIter >::Iter [inherited]
 

Definition at line 45 of file ps_attrib_maker_iterators.h.


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 08:19:02 2004 for NeL by doxygen 1.3.6