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


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