proj home

Files   Classes   Functions   Hierarchy  

vectorreadingD2primitive< PT > Class Template Reference

#include <vectorreadin.h>

List of all members.

Public Member Functions

template<class VEC , class T , class INDX >
void read (VEC &v, T const *abeg, T const *aend, INDX i0=0)


Detailed Description

template<typename PT>
class vectorreadingD2primitive< PT >

Definition at line 49 of file vectorreadin.h.


Member Function Documentation

template<typename PT >
template<class VEC , class T , class INDX >
void vectorreadingD2primitive< PT >::read ( VEC &  v,
T const *  abeg,
T const *  aend,
INDX  i0 = 0 
) [inline]

Definition at line 55 of file vectorreadin.h.

00061   {
00062     assert((aend-abeg)%2==0);
00063     T * i = abeg;
00064   
00065     for ( ; i != aend; ++i)
00066     {
00067       v[i0] = PT(*i,*(i+1));
00068       ++i; ++i;
00069     }
00070   }


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

Generated on Fri Mar 4 00:50:23 2011 for Chelton Evans Source by  doxygen 1.5.8