PhysX SDK 3.2 API Reference: PxStrideIterator< T > Class Template Reference

PhysX SDK 3.2 API

PxStrideIterator< T > Class Template Reference
[Foundation]

#include <PxStrideIterator.h>

Collaboration diagram for PxStrideIterator< T >:

List of all members.


Classes

struct  StripConst
struct  StripConst< const X >

Public Member Functions

PX_INLINE PxStrideIterator (T *ptr=NULL, PxU32 stride=sizeof(T))
PX_INLINE PxStrideIterator (const PxStrideIterator< typename StripConst< T >::Type > &strideIterator)
PX_INLINE T * ptr () const
PX_INLINE PxU32 stride () const
PX_INLINE T & operator* () const
PX_INLINE T * operator-> () const
PX_INLINE T & operator[] (int i) const
PX_INLINE PxStrideIteratoroperator++ ()
PX_INLINE PxStrideIterator operator++ (int)
PX_INLINE PxStrideIteratoroperator-- ()
PX_INLINE PxStrideIterator operator-- (int)
PX_INLINE PxStrideIteratoroperator+= (int i)
PX_INLINE PxStrideIterator operator+ (int i) const
PX_INLINE PxStrideIteratoroperator-= (int i)
PX_INLINE PxStrideIterator operator- (int i) const
PX_INLINE int operator- (const PxStrideIterator &other) const
PX_INLINE bool operator== (const PxStrideIterator &other) const
PX_INLINE bool operator!= (const PxStrideIterator &other) const
PX_INLINE bool operator< (const PxStrideIterator &other) const
PX_INLINE bool operator> (const PxStrideIterator &other) const
PX_INLINE bool operator<= (const PxStrideIterator &other) const
PX_INLINE bool operator>= (const PxStrideIterator &other) const

Private Member Functions

PX_INLINE bool isCompatible (const PxStrideIterator &other) const

Static Private Member Functions

static PX_INLINE T * byteAdd (T *ptr, PxU32 bytes)
static PX_INLINE T * byteSub (T *ptr, PxU32 bytes)

Private Attributes

T * mPtr
PxU32 mStride

template<typename T>
class PxStrideIterator< T >


Constructor & Destructor Documentation

template<typename T>
PX_INLINE PxStrideIterator< T >::PxStrideIterator ( T *  ptr = NULL,
PxU32  stride = sizeof(T) 
) [inline, explicit]

template<typename T>
PX_INLINE PxStrideIterator< T >::PxStrideIterator ( const PxStrideIterator< typename StripConst< T >::Type > &  strideIterator  )  [inline]


Member Function Documentation

template<typename T>
static PX_INLINE T* PxStrideIterator< T >::byteAdd ( T *  ptr,
PxU32  bytes 
) [inline, static, private]

template<typename T>
static PX_INLINE T* PxStrideIterator< T >::byteSub ( T *  ptr,
PxU32  bytes 
) [inline, static, private]

template<typename T>
PX_INLINE bool PxStrideIterator< T >::isCompatible ( const PxStrideIterator< T > &  other  )  const [inline, private]

template<typename T>
PX_INLINE bool PxStrideIterator< T >::operator!= ( const PxStrideIterator< T > &  other  )  const [inline]

template<typename T>
PX_INLINE T& PxStrideIterator< T >::operator* (  )  const [inline]

template<typename T>
PX_INLINE PxStrideIterator PxStrideIterator< T >::operator+ ( int  i  )  const [inline]

template<typename T>
PX_INLINE PxStrideIterator PxStrideIterator< T >::operator++ ( int   )  [inline]

template<typename T>
PX_INLINE PxStrideIterator& PxStrideIterator< T >::operator++ (  )  [inline]

template<typename T>
PX_INLINE PxStrideIterator& PxStrideIterator< T >::operator+= ( int  i  )  [inline]

template<typename T>
PX_INLINE int PxStrideIterator< T >::operator- ( const PxStrideIterator< T > &  other  )  const [inline]

template<typename T>
PX_INLINE PxStrideIterator PxStrideIterator< T >::operator- ( int  i  )  const [inline]

template<typename T>
PX_INLINE PxStrideIterator PxStrideIterator< T >::operator-- ( int   )  [inline]

template<typename T>
PX_INLINE PxStrideIterator& PxStrideIterator< T >::operator-- (  )  [inline]

template<typename T>
PX_INLINE PxStrideIterator& PxStrideIterator< T >::operator-= ( int  i  )  [inline]

template<typename T>
PX_INLINE T* PxStrideIterator< T >::operator-> (  )  const [inline]

template<typename T>
PX_INLINE bool PxStrideIterator< T >::operator< ( const PxStrideIterator< T > &  other  )  const [inline]

template<typename T>
PX_INLINE bool PxStrideIterator< T >::operator<= ( const PxStrideIterator< T > &  other  )  const [inline]

template<typename T>
PX_INLINE bool PxStrideIterator< T >::operator== ( const PxStrideIterator< T > &  other  )  const [inline]

template<typename T>
PX_INLINE bool PxStrideIterator< T >::operator> ( const PxStrideIterator< T > &  other  )  const [inline]

template<typename T>
PX_INLINE bool PxStrideIterator< T >::operator>= ( const PxStrideIterator< T > &  other  )  const [inline]

template<typename T>
PX_INLINE T& PxStrideIterator< T >::operator[] ( int  i  )  const [inline]

template<typename T>
PX_INLINE T* PxStrideIterator< T >::ptr (  )  const [inline]

template<typename T>
PX_INLINE PxU32 PxStrideIterator< T >::stride (  )  const [inline]


Member Data Documentation

template<typename T>
PxU32 PxStrideIterator< T >::mStride [private]


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



Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com