Rcpp Version 1.0.9
Rcpp::sugar::Union< 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

 Union (const LHS_T &lhs, const RHS_T &rhs)
 
Vector< RTYPE > get () const
 

Private Types

typedef RCPP_UNORDERED_SET< STORAGESET
 
typedef SET::const_iterator ITERATOR
 

Private Attributes

SET result
 

Detailed Description

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

Definition at line 133 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::Union< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::ITERATOR
private

Definition at line 152 of file setdiff.h.

◆ SET

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
typedef RCPP_UNORDERED_SET<STORAGE> Rcpp::sugar::Union< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::SET
private

Definition at line 151 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::Union< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::STORAGE

Definition at line 135 of file setdiff.h.

Constructor & Destructor Documentation

◆ Union()

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

Definition at line 137 of file setdiff.h.

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

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 >
Vector<RTYPE> Rcpp::sugar::Union< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get ( ) const
inline

Definition at line 143 of file setdiff.h.

References Rcpp::Vector< RTYPE, StoragePolicy >::begin(), and Rcpp::no_init().

Referenced by Rcpp::union_().

Here is the call graph for this function:

Member Data Documentation

◆ result

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

Definition at line 153 of file setdiff.h.


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