Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::sugar::Grabber< HASH, RTYPE > Class Template Reference

#include <table.h>

Collaboration diagram for Rcpp::sugar::Grabber< HASH, RTYPE >:

Public Member Functions

 Grabber (IntegerVector &res_, CharacterVector &names_)
template<typename T>
void operator() (T pair)

Private Attributes

IntegerVectorres
CharacterVectornames
R_xlen_t index

Detailed Description

template<typename HASH, int RTYPE>
class Rcpp::sugar::Grabber< HASH, RTYPE >

Definition at line 41 of file table.h.

Constructor & Destructor Documentation

◆ Grabber()

template<typename HASH, int RTYPE>
Rcpp::sugar::Grabber< HASH, RTYPE >::Grabber ( IntegerVector & res_,
CharacterVector & names_ )
inline

Definition at line 43 of file table.h.

References index, names, and res.

Member Function Documentation

◆ operator()()

template<typename HASH, int RTYPE>
template<typename T>
void Rcpp::sugar::Grabber< HASH, RTYPE >::operator() ( T pair)
inline

Definition at line 46 of file table.h.

References index, names, and res.

Member Data Documentation

◆ index

template<typename HASH, int RTYPE>
R_xlen_t Rcpp::sugar::Grabber< HASH, RTYPE >::index
private

Definition at line 54 of file table.h.

Referenced by Grabber(), and operator()().

◆ names

template<typename HASH, int RTYPE>
CharacterVector& Rcpp::sugar::Grabber< HASH, RTYPE >::names
private

Definition at line 53 of file table.h.

Referenced by Grabber(), and operator()().

◆ res

template<typename HASH, int RTYPE>
IntegerVector& Rcpp::sugar::Grabber< HASH, RTYPE >::res
private

Definition at line 52 of file table.h.

Referenced by Grabber(), and operator()().


The documentation for this class was generated from the following file:
  • inst/include/Rcpp/sugar/functions/table.h