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

#include <unique.h>

Public Member Functions

 In (const TABLE_T &table)
 
template<typename T >
LogicalVector get (const T &x) const
 

Private Types

typedef sugar::IndexHash< RTYPE > HASH
 

Private Attributes

Vector< RTYPE > vec
 
HASH hash
 

Detailed Description

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

Definition at line 44 of file unique.h.

Member Typedef Documentation

◆ HASH

template<int RTYPE, typename TABLE_T >
typedef sugar::IndexHash<RTYPE> Rcpp::sugar::In< RTYPE, TABLE_T >::HASH
private

Definition at line 46 of file unique.h.

Constructor & Destructor Documentation

◆ In()

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

Definition at line 50 of file unique.h.

References Rcpp::sugar::IndexHash< RTYPE >::fill(), and Rcpp::sugar::In< RTYPE, TABLE_T >::hash.

Here is the call graph for this function:

Member Function Documentation

◆ get()

template<int RTYPE, typename TABLE_T >
template<typename T >
LogicalVector Rcpp::sugar::In< RTYPE, TABLE_T >::get ( const T &  x) const
inline

Definition at line 55 of file unique.h.

References Rcpp::sugar::In< RTYPE, TABLE_T >::hash.

Referenced by Rcpp::in().

Member Data Documentation

◆ hash

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

◆ vec

template<int RTYPE, typename TABLE_T >
Vector<RTYPE> Rcpp::sugar::In< RTYPE, TABLE_T >::vec
private

Definition at line 45 of file unique.h.


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