17 #ifndef AGXDATA_ARRAY_H 18 #define AGXDATA_ARRAY_H 25 # pragma warning(push) 26 # pragma warning( disable : 4251 ) // class X needs to have dll-interface to be used by clients of class Y 76 void setRange(
size_t startIndex,
size_t endIndex);
105 template <
typename T>
121 static const bool IsScalar =
false;
156 const T& back()
const;
160 const T& front()
const;
163 T& operator[] (
size_t index);
164 const T& operator[] (
size_t index)
const;
168 const T& at(
size_t index)
const;
178 const_iterator
begin()
const;
182 const_iterator
end()
const;
186 const T* ptr()
const;
195 template <
typename T2>
196 size_t find(
const T2& element)
const;
199 template <
typename T2>
200 bool contains(
const T2& element)
const;
214 size_t commitResult(
size_t numElements,
const void* localResult,
agx::Index sortIndex);
215 size_t commitResult(
size_t numElements,
const void* localResult);
218 template <
typename T2>
219 size_t commitResult(
const T2& vector,
agx::Index sortIndex);
220 template <
typename T2>
221 size_t commitResult(
const T2& vector);
231 # pragma warning(pop) void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API...
agx::IndexRange32 m_range
AGXCORE_EXPORT Format * getFormat(const agx::String &typeFormatName)
std::random_access_iterator_tag iterator_category
Transactions are used to reserve exclusive memory areas in which the threads can write their data...
Arrays are fast accessors into the data, or a portion of it, held by a Buffer.
Type-specific Array used for fast access into the data held by a Buffer.
agxData::Buffer * m_buffer
Vector containing 'raw' data.
GlobalResult is used by kernels to generate result data from different threads.
Abstract representation of a data buffer.
Contains classes for low level data storage for AGX.
LinearProbingHashSetImplementation< KeyT, HashT >::iterator begin(LinearProbingHashSetImplementation< KeyT, HashT > &set)
#define AGX_TEMPLATED_TYPE_BINDING(_Type, _Name)
LinearProbingHashSetImplementation< KeyT, HashT >::iterator end(LinearProbingHashSetImplementation< KeyT, HashT > &set)
ptrdiff_t difference_type
const T & const_reference