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

#include <fmath.h>

Public Member Functions

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

Detailed Description

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

A ConstDataArrayProxy<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 1391 of file fmath.h.

Constructor & Destructor Documentation

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

Definition at line 1392 of file fmath.h.

Member Function Documentation

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

Definition at line 1396 of file fmath.h.

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

Definition at line 1393 of file fmath.h.

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

Definition at line 1397 of file fmath.h.

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

Definition at line 1394 of file fmath.h.

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

Definition at line 1395 of file fmath.h.


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