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 985 of file fmath.h.

Constructor & Destructor Documentation

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

Definition at line 986 of file fmath.h.

Member Function Documentation

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

Definition at line 990 of file fmath.h.

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

Definition at line 987 of file fmath.h.

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

Definition at line 991 of file fmath.h.

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

Definition at line 988 of file fmath.h.

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

Definition at line 989 of file fmath.h.


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