Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

template<typename T>
class Geo::StridedArrayView

A read-only view into an array with optional stride.

Functions

NameDescription
GetSize()

Return the number of elements.

operator[](int)

Return the i'th element.

StridedArrayView(const T *, Geo::s32, Geo::s32)

Constructor.


Anchor
afc8bd367f1237ebf60673aeb2e79cd48
afc8bd367f1237ebf60673aeb2e79cd48

GEO_FORCE_INLINE Geo::s32 Geo::StridedArrayView< T >::GetSize

...

public: GEO_FORCE_INLINEGeo::s32 GetSize() const

...

Return the number of elements.


Anchor
a47cf2e04ee7f19ee5330685d5ba2d2e2
a47cf2e04ee7f19ee5330685d5ba2d2e2

GEO_FORCE_INLINE const T& Geo::StridedArrayView< T >::operator[]

...

public: GEO_FORCE_INLINE const T & operator[]
(
    int i
) const

...

Return the i'th element.


Anchor
a82e82357011c1b080c5d312d2550d298
a82e82357011c1b080c5d312d2550d298

Geo::StridedArrayView< T >::StridedArrayView

...

public: StridedArrayView
(
    const T * first,
    Geo::s32 count,
    Geo::s32 stride
)

...

Constructor.