Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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 hash, Rcpp::table(), and vec.

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 hash.

Referenced by Rcpp::in().

Member Data Documentation

◆ hash

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

Definition at line 47 of file unique.h.

Referenced by get(), and In().

◆ 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.

Referenced by In().


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