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

Detailed description

template< typename T>
struct nvbio::StaticVectorBase< T, 4 >

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

Definition at line 108 of file static_vector.h.

#include <static_vector.h>

Public Types

typedef vector_type< T, 4 >::type base_type
 

Public Methods

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

Public Members

base_type data
 

Member Typedef Documentation

template<typename T >
typedef vector_type<T,4>::type nvbio::StaticVectorBase< T, 4 >::base_type

Definition at line 110 of file static_vector.h.

Constructor & Destructor Documentation

Definition at line 113 of file static_vector.h.

Definition at line 116 of file static_vector.h.

Member Function Documentation

template<typename T >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::StaticVectorBase< T, 4 >::operator base_type ( ) const
inline

Definition at line 125 of file static_vector.h.

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

Definition at line 119 of file static_vector.h.

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

Definition at line 122 of file static_vector.h.

Member Data Documentation

template<typename T >
base_type nvbio::StaticVectorBase< T, 4 >::data

Definition at line 127 of file static_vector.h.


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