NTrace
GPU ray tracing framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FW::Array64< T > Class Template Reference

#include <Array.hpp>

Inherits FW::ArrayBase< T, S64 >.

Public Member Functions

 Array64 (void)
 
 Array64 (const T &item)
 
 Array64 (const T *ptr, S64 size)
 
 Array64 (const Array64< T > &other)
 
- Public Member Functions inherited from FW::ArrayBase< T, S64 >
 ArrayBase (void)
 
 ArrayBase (const T &item)
 
 ArrayBase (const T *ptr, S64size)
 
 ArrayBase (const ArrayBase< T, S64 > &other)
 
 ~ArrayBase (void)
 
S64 getSize (void) const
 
S64 getCapacity (void) const
 
const T * getPtr (S64idx=0) const
 
T * getPtr (S64idx=0)
 
S64 getStride (void) const
 
S64 getNumBytes (void) const
 
const T & get (S64idx) const
 
T & get (S64idx)
 
set (S64idx, const T &item)
 
void set (const T *ptr, S64size)
 
void set (const ArrayBase< T, S64 > &other)
 
const T & getFirst (void) const
 
T & getFirst (void)
 
const T & getLast (void) const
 
T & getLast (void)
 
void getRange (S64start, S64end, T *ptr) const
 
ArrayBase< T, S64getRange (S64start, S64end) const
 
void setRange (S64start, S64end, const T *ptr)
 
void setRange (S64start, const ArrayBase< T, S64 > &other)
 
void reset (S64size=0)
 
void setCapacity (S64numElements)
 
void compact (void)
 
void clear (void)
 
void resize (S64size)
 
void reserve (S64numElements)
 
T & add (void)
 
T & add (const T &item)
 
T * add (const T *ptr, S64size)
 
T * add (const ArrayBase< T, S64 > &other)
 
T & insert (S64idx)
 
T & insert (S64idx, const T &item)
 
T * insert (S64idx, const T *ptr, S64size)
 
T * insert (S64idx, const ArrayBase< T, S64 > &other)
 
remove (S64idx)
 
void remove (S64start, S64end)
 
T & removeLast (void)
 
removeSwap (S64idx)
 
void removeSwap (S64start, S64end)
 
T * replace (S64start, S64end, S64size)
 
T * replace (S64start, S64end, const T *ptr, S64size)
 
T * replace (S64start, S64end, const ArrayBase< T, S64 > &other)
 
S64 indexOf (const T &item, S64fromIdx=0) const
 
S64 lastIndexOf (const T &item) const
 
S64 lastIndexOf (const T &item, S64fromIdx) const
 
bool contains (const T &item) const
 
bool removeItem (const T &item)
 
const T & operator[] (S64idx) const
 
T & operator[] (S64idx)
 
ArrayBase< T, S64 > & operator= (const ArrayBase< T, S64 > &other)
 
bool operator== (const ArrayBase< T, S64 > &other) const
 
bool operator!= (const ArrayBase< T, S64 > &other) const
 

Additional Inherited Members

- Static Public Member Functions inherited from FW::ArrayBase< T, S64 >
static void copy (T *dst, const T *src, S64size)
 
static void copyOverlap (T *dst, const T *src, S64size)
 

Detailed Description

template<class T>
class FW::Array64< T >

Definition at line 755 of file Array.hpp.

Constructor & Destructor Documentation

template<class T>
FW::Array64< T >::Array64 ( void  )
inline

Definition at line 758 of file Array.hpp.

template<class T>
FW::Array64< T >::Array64 ( const T &  item)
inlineexplicit

Definition at line 759 of file Array.hpp.

template<class T>
FW::Array64< T >::Array64 ( const T *  ptr,
S64  size 
)
inline

Definition at line 760 of file Array.hpp.

template<class T>
FW::Array64< T >::Array64 ( const Array64< T > &  other)
inline

Definition at line 761 of file Array.hpp.


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