PolyVox  0.3.0-dev
Open source voxel management library
Public Member Functions | List of all members
PolyVox::Array< 1, ElementType > Class Template Reference

#include <Array.h>

Public Member Functions

 Array ()
 
 Array (const uint32_t(&pDimensions)[1])
 
 ~Array ()
 
ElementType & operator[] (uint32_t uIndex)
 
const ElementType & operator[] (uint32_t uIndex) const
 
uint32_t getNoOfElements (void) const
 
ElementType * getRawData (void) const
 
void resize (const uint32_t(&pDimensions)[1])
 
void swap (Array< 1, ElementType > &rhs)
 

Detailed Description

template<typename ElementType>
class PolyVox::Array< 1, ElementType >

Definition at line 117 of file Array.h.

Constructor & Destructor Documentation

template<typename ElementType >
PolyVox::Array< 1, ElementType >::Array ( )

Definition at line 231 of file Array.inl.

template<typename ElementType >
PolyVox::Array< 1, ElementType >::Array ( const uint32_t(&)  pDimensions[1])

Definition at line 238 of file Array.inl.

+ Here is the call graph for this function:

template<typename ElementType >
PolyVox::Array< 1, ElementType >::~Array ( )

Definition at line 246 of file Array.inl.

Member Function Documentation

template<typename ElementType >
uint32_t PolyVox::Array< 1, ElementType >::getNoOfElements ( void  ) const

Definition at line 266 of file Array.inl.

template<typename ElementType >
ElementType * PolyVox::Array< 1, ElementType >::getRawData ( void  ) const

Definition at line 272 of file Array.inl.

template<typename ElementType >
ElementType & PolyVox::Array< 1, ElementType >::operator[] ( uint32_t  uIndex)

Definition at line 252 of file Array.inl.

template<typename ElementType >
const ElementType & PolyVox::Array< 1, ElementType >::operator[] ( uint32_t  uIndex) const

Definition at line 259 of file Array.inl.

template<typename ElementType >
void PolyVox::Array< 1, ElementType >::resize ( const uint32_t(&)  pDimensions[1])

Definition at line 278 of file Array.inl.

template<typename ElementType >
void PolyVox::Array< 1, ElementType >::swap ( Array< 1, ElementType > &  rhs)

Definition at line 290 of file Array.inl.


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