ScummVM API documentation
ImSpan< T > Struct Template Reference

Public Member Functions

 ImSpan (T *data, int size)
 
 ImSpan (T *data, T *data_end)
 
void set (T *data, int size)
 
void set (T *data, T *data_end)
 
int size () const
 
int size_in_bytes () const
 
T & operator[] (int i)
 
const T & operator[] (int i) const
 
T * begin ()
 
const T * begin () const
 
T * end ()
 
const T * end () const
 
int index_from_ptr (const T *it) const
 

Public Attributes

T * Data
 
T * DataEnd
 

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