HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page Class Reference

#include <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
 

Detailed Description

template<typename ValueT, size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
class openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page

Definition at line 747 of file PagedArray.h.

Constructor & Destructor Documentation

template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::Page ( )
inline

Definition at line 755 of file PagedArray.h.

template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::~Page ( )
inline

Definition at line 756 of file PagedArray.h.

template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::Page ( const Page )
delete

Member Function Documentation

template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
void openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::copy ( ValueType dst,
size_t  n 
) const
inline

Definition at line 768 of file PagedArray.h.

template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
ValueT* openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::data ( )
inline

Definition at line 765 of file PagedArray.h.

template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
void openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::fill ( const ValueT &  v)
inline

Definition at line 761 of file PagedArray.h.

template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
static size_t openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::memUsage ( )
inlinestatic

Definition at line 753 of file PagedArray.h.

template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
Page& openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::operator= ( const Page )
delete
template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
ValueT& openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::operator[] ( const size_t  i)
inline

Definition at line 759 of file PagedArray.h.

template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
const ValueT& openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::operator[] ( const size_t  i) const
inline

Definition at line 760 of file PagedArray.h.

Member Data Documentation

template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
const size_t openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::Mask = Size - 1UL
static

Definition at line 752 of file PagedArray.h.

template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
ValueT* openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::mData
protected

Definition at line 773 of file PagedArray.h.

template<typename ValueT , size_t Log2PageSize = 10UL, template< typename...> class TableT = std::vector>
const size_t openvdb::OPENVDB_VERSION_NAME::util::PagedArray< ValueT, Log2PageSize, TableT >::Page::Size = 1UL << Log2PageSize
static

Definition at line 751 of file PagedArray.h.


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