NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | List of all members
nvbio::StaticVectorBase< T, DIM > Struct Template Reference

Detailed description

template< typename T, uint32 DIM>
struct nvbio::StaticVectorBase< T, DIM >

A generic small vector class with the dimension set at compile-time

Definition at line 41 of file static_vector.h.

#include <static_vector.h>

Inheritance diagram for nvbio::StaticVectorBase< T, DIM >:
nvbio::StaticVector< T, DIM >

Public Methods

NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE const T & 
operator[] (const uint32 i) const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE T & 
operator[] (const uint32 i)
 

Public Members

data [DIM]
 

Member Function Documentation

template<typename T, uint32 DIM>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE const T& nvbio::StaticVectorBase< T, DIM >::operator[] ( const uint32  i) const
inline

Definition at line 44 of file static_vector.h.

template<typename T, uint32 DIM>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE T& nvbio::StaticVectorBase< T, DIM >::operator[] ( const uint32  i)
inline

Definition at line 47 of file static_vector.h.

Member Data Documentation

template<typename T, uint32 DIM>
T nvbio::StaticVectorBase< T, DIM >::data[DIM]

Definition at line 49 of file static_vector.h.


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