ltl::FVMemory< T, N, 0 > Class Template Reference

List of all members.

Public Member Functions



Protected Attributes


Detailed Description

template<class T, int N>
class ltl::FVMemory< T, N, 0 >

Specialization for FVMemory instances having their own memory embedded. Indicated by S=0. This is the case for every freshly allocated FVector object having its own memory.

The physical stride for memory access is one in this case.


Constructor & Destructor Documentation

template<class T , int N>
ltl::FVMemory< T, N, 0 >::FVMemory (  )  [inline]

construct as a reference to the memory pointed to by data.

template<class T , int N>
ltl::FVMemory< T, N, 0 >::FVMemory ( const T *const restrict_  data  )  [inline]

copy data over from memory pointed to by data.

template<class T , int N>
ltl::FVMemory< T, N, 0 >::FVMemory ( const FVMemory< T, N, 0 > &restrict_  other  )  [inline]

copy constructor


Member Function Documentation

template<class T , int N>
T ltl::FVMemory< T, N, 0 >::operator[] ( const int  i  )  const [inline]

Access elements with zero-based index i.

References ltl::FVMemory< T, N, S >::__data_.

template<class T , int N>
T& ltl::FVMemory< T, N, 0 >::operator[] ( const int  i  )  [inline]

Access elements with zero-based index i.

References ltl::FVMemory< T, N, S >::__data_.

template<class T , int N>
T ltl::FVMemory< T, N, 0 >::operator() ( const int  i  )  const [inline]

Access elements with one-based index i.

References ltl::FVMemory< T, N, S >::__data_.

template<class T , int N>
T& ltl::FVMemory< T, N, 0 >::operator() ( const int  i  )  [inline]

Access elements with one-based index i.

References ltl::FVMemory< T, N, S >::__data_.

template<class T , int N>
T* ltl::FVMemory< T, N, 0 >::data (  )  [inline]

Return a pointer to the data.

References ltl::FVMemory< T, N, S >::__data_.

template<class T , int N>
const T* ltl::FVMemory< T, N, 0 >::data (  )  const [inline]

Return a const-pointer to the data.

References ltl::FVMemory< T, N, S >::__data_.


Member Data Documentation

template<class T , int N>
T ltl::FVMemory< T, N, 0 >::__data_[N] [protected]

the memory block


Generated on 19 Feb 2015 for LTL by  doxygen 1.6.1