AGXDynamics  2.35.0.3
agxData::StackArray< T, N > Class Template Reference

#include <StackArray.h>

+ Inheritance diagram for agxData::StackArray< T, N >:

Public Member Functions

 StackArray (const T &defaultValue=T())
 
- Public Member Functions inherited from agxData::Array< T >
 Array ()
 Create a new invalid array. More...
 
 Array (agx::Vector< T > &vec)
 Create a new array view from a vector. More...
 
 Array (agx::Vector< T > &vec, agx::IndexRange32 range)
 
 Array (agx::VectorPOD< T > &vec)
 
 Array (agx::VectorPOD< T > &vec, agx::IndexRange32 range)
 
 Array (agxData::Buffer *buffer)
 Create a new array covering the entire given buffer. More...
 
 Array (agxData::Buffer *buffer, agx::IndexRange32 range)
 Create a new array covering the given range of the given buffer. More...
 
 Array (const agxData::Array< T > &other, agx::IndexRange32 localRange)
 Create a new array that covers a subset of another array. More...
 
agx::GlobalResult::Transaction allocateResult (size_t numElements)
 
T & at (size_t index)
 
const T & at (size_t index) const
 
T & back ()
 
const T & back () const
 
iterator begin ()
 
const_iterator begin () const
 
template<typename T2 >
size_t commitResult (const T2 &vector)
 
template<typename T2 >
size_t commitResult (const T2 &vector, agx::Index sortIndex)
 
size_t commitResult (size_t numElements, const void *localResult)
 
size_t commitResult (size_t numElements, const void *localResult, agx::Index sortIndex)
 
template<typename T2 >
bool contains (const T2 &element) const
 
iterator end ()
 
const_iterator end () const
 
template<typename T2 >
size_t find (const T2 &element) const
 The index of the first occurrence of an element that is equal to the given element. More...
 
T & front ()
 
const T & front () const
 
agx::GlobalResult * getGlobalResult ()
 
agxData::Array< T > operator[] (agx::IndexRange32 subRange) const
 
T & operator[] (size_t index)
 
const T & operator[] (size_t index) const
 
T * ptr ()
 
const T * ptr () const
 
agxData::Array< T > slice (agx::IndexRange32 subRange) const
 

Additional Inherited Members

- Public Types inherited from agxData::Array< T >
typedef ptrdiff_t difference_type
 
typedef T * iterator
 
typedef std::random_access_iterator_tag iterator_category
 
typedef T * pointer
 
typedef T & reference
 
typedef size_t size_type
 
typedef T Type
 
typedef T value_type
 
- Static Public Member Functions inherited from agxData::Array< T >
static const agxData::Array< T > raw (const T *buffer, agx::Index size)
 
static agxData::Array< T > raw (T *buffer, agx::Index size)
 Array creation helper method that creates an array covering the given memory area. More...
 
- Public Attributes inherited from agxData::Array< T >
const typedef T * const_iterator
 
const typedef T * const_pointer
 
const typedef T & const_reference
 
- Static Public Attributes inherited from agxData::Array< T >
static const bool IsScalar = false
 

Detailed Description

template<typename T, size_t N>
class agxData::StackArray< T, N >

Definition at line 30 of file ata/StackArray.h.

Constructor & Destructor Documentation

◆ StackArray()

template<typename T , size_t N>
agxData::StackArray< T, N >::StackArray ( const T &  defaultValue = T())

Definition at line 44 of file ata/StackArray.h.

References m_elements.


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