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

Detailed description

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

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

Definition at line 134 of file static_vector.h.

#include <static_vector.h>

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

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE StaticVector ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE StaticVector (const T v)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE StaticVector
< T, DIM > & 
operator= (const StaticVectorBase< T, DIM > &op)
 
- Public Methods inherited from nvbio::StaticVectorBase< T, DIM >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE const T & 
operator[] (const uint32 i) const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE T & 
operator[] (const uint32 i)
 

Additional Inherited Members

- Public Members inherited from nvbio::StaticVectorBase< T, DIM >
data [DIM]
 

Constructor & Destructor Documentation

template<typename T, uint32 DIM>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::StaticVector< T, DIM >::StaticVector ( )
inline

Definition at line 137 of file static_vector.h.

template<typename T , uint32 DIM>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::StaticVector< T, DIM >::StaticVector ( const v)
explicit

Definition at line 45 of file static_vector_inl.h.

Member Function Documentation

template<typename T , uint32 DIM>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE StaticVector< T, DIM > & nvbio::StaticVector< T, DIM >::operator= ( const StaticVectorBase< T, DIM > &  op)

Definition at line 54 of file static_vector_inl.h.


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