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

Detailed description

template< typename Keys, typename Values = null_type>
struct nvbio::cuda::SortBuffers< Keys, Values >

A sorting buffer to hold vectors of key-value pairs

Definition at line 100 of file sort.h.

#include <sort.h>

Public Methods

 SortBuffers ()
 
Keys current_keys () const
 
Values current_values () const
 

Public Members

uint32 selector
 
Keys keys [2]
 
Values values [2]
 

Constructor & Destructor Documentation

template<typename Keys, typename Values = null_type>
nvbio::cuda::SortBuffers< Keys, Values >::SortBuffers ( )
inline

constructor

Definition at line 104 of file sort.h.

Member Function Documentation

template<typename Keys, typename Values = null_type>
Keys nvbio::cuda::SortBuffers< Keys, Values >::current_keys ( ) const
inline

return the currently selected keys

Definition at line 108 of file sort.h.

template<typename Keys, typename Values = null_type>
Values nvbio::cuda::SortBuffers< Keys, Values >::current_values ( ) const
inline

return the currently selected values

Definition at line 112 of file sort.h.

Member Data Documentation

template<typename Keys, typename Values = null_type>
Keys nvbio::cuda::SortBuffers< Keys, Values >::keys[2]

Definition at line 115 of file sort.h.

template<typename Keys, typename Values = null_type>
uint32 nvbio::cuda::SortBuffers< Keys, Values >::selector

Definition at line 114 of file sort.h.

template<typename Keys, typename Values = null_type>
Values nvbio::cuda::SortBuffers< Keys, Values >::values[2]

Definition at line 116 of file sort.h.


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