Partio::ParticleAccessor Struct Reference

#include <PartioIterator.h>

List of all members.

Public Member Functions

 ParticleAccessor (const ParticleAttribute &attr)
template<class TDATA , class TITERATOR >
TDATA * raw (const TITERATOR &it)
template<class TDATA , class TITERATOR >
const TDATA * raw (const TITERATOR &it) const
template<class TDATA , class TITERATOR >
TDATA & data (const TITERATOR &it)
template<class TDATA , class TITERATOR >
const TDATA & data (const TITERATOR &it) const

Public Attributes

int stride
char * basePointer
int attributeIndex
int count

Private Attributes

ParticleAttributeType type
ParticleAccessornext

Friends

class ParticleIterator< true >
class ParticleIterator< false >

Constructor & Destructor Documentation

Partio::ParticleAccessor::ParticleAccessor ( const ParticleAttribute attr  )  [inline]

Member Function Documentation

template<class TDATA , class TITERATOR >
const TDATA& Partio::ParticleAccessor::data ( const TITERATOR &  it  )  const [inline]

References basePointer, and stride.

template<class TDATA , class TITERATOR >
TDATA& Partio::ParticleAccessor::data ( const TITERATOR &  it  )  [inline]

References basePointer, and stride.

template<class TDATA , class TITERATOR >
const TDATA* Partio::ParticleAccessor::raw ( const TITERATOR &  it  )  const [inline]

References basePointer, and stride.

template<class TDATA , class TITERATOR >
TDATA* Partio::ParticleAccessor::raw ( const TITERATOR &  it  )  [inline]

References basePointer, and stride.


Friends And Related Function Documentation

friend class ParticleIterator< false > [friend]
friend class ParticleIterator< true > [friend]

Member Data Documentation

Referenced by data(), and raw().

Referenced by data(), and raw().


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

Generated on 5 Apr 2011 for Partio by  doxygen 1.6.1