HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DataArrayProxy< I, E > Struct Template Reference

#include <fmath.h>

Public Member Functions

 DataArrayProxy (I *data=NULL)
 
operator* () const
 
operator[] (int i) const
 
DataProxy< I, E > operator[] (int i)
 
void set (I *data)
 
I * get () const
 
const DataArrayProxy< I, E > & operator+= (int i)
 

Detailed Description

template<typename I, typename E>
struct DataArrayProxy< I, E >

A DataArrayProxy<I,E> looks like an (E *), but it really holds an (I *) and does conversions (via convert_type) as it reads in and out. (I and E are for INTERNAL and EXTERNAL data types, respectively).

Definition at line 1371 of file fmath.h.

Constructor & Destructor Documentation

template<typename I, typename E>
DataArrayProxy< I, E >::DataArrayProxy ( I *  data = NULL)
inline

Definition at line 1372 of file fmath.h.

Member Function Documentation

template<typename I, typename E>
I* DataArrayProxy< I, E >::get ( ) const
inline

Definition at line 1377 of file fmath.h.

template<typename I, typename E>
E DataArrayProxy< I, E >::operator* ( ) const
inline

Definition at line 1373 of file fmath.h.

template<typename I, typename E>
const DataArrayProxy<I,E>& DataArrayProxy< I, E >::operator+= ( int  i)
inline

Definition at line 1378 of file fmath.h.

template<typename I, typename E>
E DataArrayProxy< I, E >::operator[] ( int  i) const
inline

Definition at line 1374 of file fmath.h.

template<typename I, typename E>
DataProxy<I,E> DataArrayProxy< I, E >::operator[] ( int  i)
inline

Definition at line 1375 of file fmath.h.

template<typename I, typename E>
void DataArrayProxy< I, E >::set ( I *  data)
inline

Definition at line 1376 of file fmath.h.


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