Rcpp Version 1.0.14
Loading...
Searching...
No Matches
Rcpp::sugar::SelfInserter< HASH, STORAGE > Class Template Reference

#include <self_match.h>

Public Member Functions

 SelfInserter (HASH &hash_)
 
R_xlen_t operator() (STORAGE value)
 

Private Attributes

HASH & hash
 
R_xlen_t index
 

Detailed Description

template<typename HASH, typename STORAGE>
class Rcpp::sugar::SelfInserter< HASH, STORAGE >

Definition at line 29 of file self_match.h.

Constructor & Destructor Documentation

◆ SelfInserter()

template<typename HASH , typename STORAGE >
Rcpp::sugar::SelfInserter< HASH, STORAGE >::SelfInserter ( HASH &  hash_)
inline

Definition at line 31 of file self_match.h.

Member Function Documentation

◆ operator()()

template<typename HASH , typename STORAGE >
R_xlen_t Rcpp::sugar::SelfInserter< HASH, STORAGE >::operator() ( STORAGE  value)
inline

Definition at line 33 of file self_match.h.

References Rcpp::as(), Rcpp::sugar::SelfInserter< HASH, STORAGE >::hash, and Rcpp::sugar::SelfInserter< HASH, STORAGE >::index.

Here is the call graph for this function:

Member Data Documentation

◆ hash

template<typename HASH , typename STORAGE >
HASH& Rcpp::sugar::SelfInserter< HASH, STORAGE >::hash
private

Definition at line 44 of file self_match.h.

Referenced by Rcpp::sugar::SelfInserter< HASH, STORAGE >::operator()().

◆ index

template<typename HASH , typename STORAGE >
R_xlen_t Rcpp::sugar::SelfInserter< HASH, STORAGE >::index
private

Definition at line 45 of file self_match.h.

Referenced by Rcpp::sugar::SelfInserter< HASH, STORAGE >::operator()().


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