Rcpp Version 1.0.9
Rcpp::sugar::SelfMatch< RTYPE, TABLE_T > Class Template Reference

#include <self_match.h>

Collaboration diagram for Rcpp::sugar::SelfMatch< RTYPE, TABLE_T >:

Public Types

typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE
 

Public Member Functions

 SelfMatch (const TABLE_T &table)
 
 operator IntegerVector () const
 

Private Types

typedef RCPP_UNORDERED_MAP< STORAGE, int > HASH
 
typedef SelfInserter< HASH, STORAGEInserter
 

Private Attributes

HASH hash
 
IntegerVector result
 

Detailed Description

template<int RTYPE, typename TABLE_T>
class Rcpp::sugar::SelfMatch< RTYPE, TABLE_T >

Definition at line 49 of file self_match.h.

Member Typedef Documentation

◆ HASH

template<int RTYPE, typename TABLE_T >
typedef RCPP_UNORDERED_MAP<STORAGE, int> Rcpp::sugar::SelfMatch< RTYPE, TABLE_T >::HASH
private

Definition at line 60 of file self_match.h.

◆ Inserter

template<int RTYPE, typename TABLE_T >
typedef SelfInserter<HASH,STORAGE> Rcpp::sugar::SelfMatch< RTYPE, TABLE_T >::Inserter
private

Definition at line 61 of file self_match.h.

◆ STORAGE

template<int RTYPE, typename TABLE_T >
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::SelfMatch< RTYPE, TABLE_T >::STORAGE

Definition at line 51 of file self_match.h.

Constructor & Destructor Documentation

◆ SelfMatch()

template<int RTYPE, typename TABLE_T >
Rcpp::sugar::SelfMatch< RTYPE, TABLE_T >::SelfMatch ( const TABLE_T &  table)
inline

Member Function Documentation

◆ operator IntegerVector()

template<int RTYPE, typename TABLE_T >
Rcpp::sugar::SelfMatch< RTYPE, TABLE_T >::operator IntegerVector ( ) const
inline

Definition at line 57 of file self_match.h.

References Rcpp::sugar::SelfMatch< RTYPE, TABLE_T >::result.

Member Data Documentation

◆ hash

template<int RTYPE, typename TABLE_T >
HASH Rcpp::sugar::SelfMatch< RTYPE, TABLE_T >::hash
private

Definition at line 62 of file self_match.h.

Referenced by Rcpp::sugar::SelfMatch< RTYPE, TABLE_T >::SelfMatch().

◆ result

template<int RTYPE, typename TABLE_T >
IntegerVector Rcpp::sugar::SelfMatch< RTYPE, TABLE_T >::result
private

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