OpenImageIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
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).


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