Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::sugar::SetEqual< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > Class Template Reference

#include <setdiff.h>

Public Types

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

Public Member Functions

 SetEqual (const LHS_T &lhs, const RHS_T &rhs)
bool get () const

Private Types

typedef std::unordered_set< STORAGESET
typedef SET::const_iterator ITERATOR

Private Attributes

SET lhs_set
SET rhs_set

Detailed Description

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
class Rcpp::sugar::SetEqual< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >

Definition at line 72 of file setdiff.h.

Member Typedef Documentation

◆ ITERATOR

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
typedef SET::const_iterator Rcpp::sugar::SetEqual< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::ITERATOR
private

Definition at line 94 of file setdiff.h.

◆ SET

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
typedef std::unordered_set<STORAGE> Rcpp::sugar::SetEqual< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::SET
private

Definition at line 93 of file setdiff.h.

◆ STORAGE

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::SetEqual< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::STORAGE

Definition at line 74 of file setdiff.h.

Constructor & Destructor Documentation

◆ SetEqual()

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
Rcpp::sugar::SetEqual< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::SetEqual ( const LHS_T & lhs,
const RHS_T & rhs )
inline

Definition at line 76 of file setdiff.h.

References Rcpp::sugar::get_const_begin(), Rcpp::sugar::get_const_end(), lhs_set, and rhs_set.

Here is the call graph for this function:

Member Function Documentation

◆ get()

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
bool Rcpp::sugar::SetEqual< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get ( ) const
inline

Definition at line 82 of file setdiff.h.

References lhs_set, and rhs_set.

Referenced by Rcpp::setequal().

Member Data Documentation

◆ lhs_set

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
SET Rcpp::sugar::SetEqual< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::lhs_set
private

Definition at line 95 of file setdiff.h.

Referenced by get(), and SetEqual().

◆ rhs_set

template<int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
SET Rcpp::sugar::SetEqual< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::rhs_set
private

Definition at line 96 of file setdiff.h.

Referenced by get(), and SetEqual().


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