20 #ifndef LUNCHBOX_ARRAY_H 
   21 #define LUNCHBOX_ARRAY_H 
   24 #include <lunchbox/debug.h> 
   33     Array( T* data_, 
const size_t num_ ) : 
data( data_ ), 
num( num_ ) {}
 
   47 inline std::ostream& operator << ( std::ostream& os, const Array< T >& array )
 
   53 #endif // LUNCHBOX_ARRAY_H 
A wrapper for C arrays without any memory management. 
 
Array(T *data_, const size_t num_)
Create a new array wrapper for the given data. 
 
Basic type definitions not provided by the operating system. 
 
size_t getNumBytes() const 
 
std::string format(const T *data, const size_t num)
Format the given array in a human-readable form. 
 
size_t num
The number of elements in the data.