nv::cloth::Range< T > Struct Template Reference

#include <Range.h>

List of all members.

Public Member Functions

T & back () const
T * begin () const
bool empty () const
T * end () const
T & front () const
T & operator[] (uint32_t i) const
void popBack ()
void popFront ()
template<typename S >
 Range (const Range< S > &other)
 Range (T *begin, T *end)
 Construct a range (array like container) using existing memory.
 Range ()
 Construct an empty range.
uint32_t size () const

template<class T>
struct nv::cloth::Range< T >


Constructor & Destructor Documentation

template<typename T >
nv::cloth::Range< T >::Range (  )  [inline]

Construct an empty range.

template<typename T>
nv::cloth::Range< T >::Range ( T *  begin,
T *  end 
) [inline]

Construct a range (array like container) using existing memory.

Range doesn't take ownership of this memory. Interface works similar to std::vector.

Parameters:
begin start of the memory
end end of the memory range, point to one element past the last valid element.

template<typename T >
template<typename S >
nv::cloth::Range< T >::Range ( const Range< S > &  other  )  [inline]


Member Function Documentation

template<typename T >
T & nv::cloth::Range< T >::back (  )  const [inline]

template<typename T >
T * nv::cloth::Range< T >::begin (  )  const [inline]

template<typename T >
bool nv::cloth::Range< T >::empty (  )  const [inline]

template<typename T >
T * nv::cloth::Range< T >::end (  )  const [inline]

template<typename T >
T & nv::cloth::Range< T >::front (  )  const [inline]

template<typename T >
T & nv::cloth::Range< T >::operator[] ( uint32_t  i  )  const [inline]

template<typename T >
void nv::cloth::Range< T >::popBack (  )  [inline]

template<typename T >
void nv::cloth::Range< T >::popFront (  )  [inline]

template<typename T >
uint32_t nv::cloth::Range< T >::size (  )  const [inline]


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