OpenVDB  9.0.1
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
PagedArray< ValueT, Log2PageSize >::Page Class Reference

#include <openvdb/util/PagedArray.h>

Public Member Functions

 Page ()
 
 ~Page ()
 
 Page (const Page &)=delete
 
Pageoperator= (const Page &)=delete
 
ValueT & operator[] (const size_t i)
 
const ValueT & operator[] (const size_t i) const
 
void fill (const ValueT &v)
 
ValueT * data ()
 
void copy (ValueType *dst, size_t n) const
 

Static Public Member Functions

static size_t memUsage ()
 

Static Public Attributes

static const size_t Size = 1UL << Log2PageSize
 
static const size_t Mask = Size - 1UL
 

Protected Attributes

ValueT * mData
 

Constructor & Destructor Documentation

Page ( )
inline
~Page ( )
inline
Page ( const Page )
delete

Member Function Documentation

void copy ( ValueType dst,
size_t  n 
) const
inline
ValueT* data ( )
inline
void fill ( const ValueT &  v)
inline
static size_t memUsage ( )
inlinestatic
Page& operator= ( const Page )
delete
ValueT& operator[] ( const size_t  i)
inline
const ValueT& operator[] ( const size_t  i) const
inline

Member Data Documentation

const size_t Mask = Size - 1UL
static
ValueT* mData
protected
const size_t Size = 1UL << Log2PageSize
static