| 
    Rcpp Version 1.0.14
    
   | 
 
#include <IndexHash.h>
Public Types | |
| typedef traits::storage_type< RTYPE >::type | STORAGE | 
| typedef Vector< RTYPE > | VECTOR | 
Public Member Functions | |
| IndexHash (SEXP table) | |
| IndexHash & | fill () | 
| LogicalVector | fill_and_get_duplicated () | 
| template<typename T > | |
| SEXP | lookup (const T &vec) const | 
| SEXP | lookup (const VECTOR &vec) const | 
| bool | contains (STORAGE val) const | 
| int | size () const | 
| Vector< RTYPE > | keys () const | 
| template<typename T > | |
| SEXP | lookup__impl (const T &vec, int n_) const | 
| SEXP | get_profile_data () | 
| bool | not_equal (const STORAGE &lhs, const STORAGE &rhs) | 
| bool | add_value (int i) | 
| uint32_t | get_index (STORAGE value) const | 
| uint32_t | get_addr (STORAGE value) const | 
| uint32_t | get_addr (int value) const | 
| uint32_t | get_addr (double val) const | 
| uint32_t | get_addr (SEXP value) const | 
Public Attributes | |
| int | n | 
| int | m | 
| int | k | 
| STORAGE * | src | 
| int | size_ | 
| int * | data | 
Definition at line 49 of file IndexHash.h.
| typedef traits::storage_type<RTYPE>::type Rcpp::sugar::IndexHash< RTYPE >::STORAGE | 
Definition at line 51 of file IndexHash.h.
| typedef Vector<RTYPE> Rcpp::sugar::IndexHash< RTYPE >::VECTOR | 
Definition at line 52 of file IndexHash.h.
      
  | 
  inline | 
Definition at line 54 of file IndexHash.h.
References Rcpp::as(), Rcpp::sugar::IndexHash< RTYPE >::data, get_cache(), Rcpp::sugar::IndexHash< RTYPE >::k, Rcpp::sugar::IndexHash< RTYPE >::m, Rcpp::sugar::IndexHash< RTYPE >::n, RCPP_PROFILE_RECORD, RCPP_PROFILE_TIC, and RCPP_PROFILE_TOC.

      
  | 
  inline | 
Definition at line 166 of file IndexHash.h.
References Rcpp::as(), Rcpp::sugar::IndexHash< RTYPE >::data, DEMANGLE, Rcpp::sugar::IndexHash< RTYPE >::get_addr(), Rcpp::sugar::IndexHash< RTYPE >::m, Rcpp::sugar::IndexHash< RTYPE >::not_equal(), RCPP_DEBUG_2, Rcpp::sugar::IndexHash< RTYPE >::size_, and Rcpp::sugar::IndexHash< RTYPE >::src.
Referenced by Rcpp::sugar::IndexHash< RTYPE >::fill(), and Rcpp::sugar::IndexHash< RTYPE >::fill_and_get_duplicated().

      
  | 
  inline | 
Definition at line 101 of file IndexHash.h.
References Rcpp::as(), and Rcpp::sugar::IndexHash< RTYPE >::get_index().

      
  | 
  inline | 
Definition at line 73 of file IndexHash.h.
References Rcpp::sugar::IndexHash< RTYPE >::add_value(), Rcpp::as(), Rcpp::sugar::IndexHash< RTYPE >::fill(), Rcpp::sugar::IndexHash< RTYPE >::n, RCPP_PROFILE_RECORD, RCPP_PROFILE_TIC, and RCPP_PROFILE_TOC.
Referenced by Rcpp::sugar::IndexHash< RTYPE >::fill(), Rcpp::sugar::In< RTYPE, TABLE_T >::In(), Rcpp::match(), and Rcpp::unique().

      
  | 
  inline | 
Definition at line 84 of file IndexHash.h.
References Rcpp::sugar::IndexHash< RTYPE >::add_value(), Rcpp::as(), Rcpp::sugar::IndexHash< RTYPE >::n, and Rcpp::no_init().
Referenced by Rcpp::duplicated().

      
  | 
  inline | 
Definition at line 207 of file IndexHash.h.
References Rcpp::as(), Rcpp::internal::as(), and RCPP_HASH.

      
  | 
  inline | 
Definition at line 203 of file IndexHash.h.
References RCPP_HASH.
      
  | 
  inline | 
Definition at line 224 of file IndexHash.h.
References Rcpp::as(), and RCPP_HASH.

| uint32_t Rcpp::sugar::IndexHash< RTYPE >::get_addr | ( | STORAGE | value | ) | const | 
      
  | 
  inline | 
Definition at line 187 of file IndexHash.h.
References Rcpp::as(), Rcpp::sugar::IndexHash< RTYPE >::data, Rcpp::sugar::IndexHash< RTYPE >::get_addr(), Rcpp::sugar::IndexHash< RTYPE >::m, and Rcpp::sugar::IndexHash< RTYPE >::src.
Referenced by Rcpp::sugar::IndexHash< RTYPE >::contains(), and Rcpp::sugar::IndexHash< RTYPE >::lookup__impl().

      
  | 
  inline | 
Definition at line 154 of file IndexHash.h.
References Rcpp::as(), and Rcpp::wrap().

      
  | 
  inline | 
Definition at line 110 of file IndexHash.h.
References Rcpp::sugar::IndexHash< RTYPE >::data, Rcpp::no_init(), Rcpp::sugar::IndexHash< RTYPE >::size_, and Rcpp::sugar::IndexHash< RTYPE >::src.
Referenced by Rcpp::unique().

      
  | 
  inline | 
Definition at line 92 of file IndexHash.h.
References Rcpp::sugar::IndexHash< RTYPE >::lookup__impl().
Referenced by Rcpp::sugar::IndexHash< RTYPE >::lookup__impl(), and Rcpp::match().

      
  | 
  inline | 
Definition at line 97 of file IndexHash.h.
References Rcpp::Vector< RTYPE, StoragePolicy >::begin(), Rcpp::sugar::IndexHash< RTYPE >::lookup__impl(), and Rcpp::Vector< RTYPE, StoragePolicy >::size().

      
  | 
  inline | 
Definition at line 134 of file IndexHash.h.
References Rcpp::as(), Rcpp::sugar::IndexHash< RTYPE >::get_index(), Rcpp::sugar::IndexHash< RTYPE >::lookup(), RCPP_PROFILE_RECORD, RCPP_PROFILE_TIC, and RCPP_PROFILE_TOC.
Referenced by Rcpp::sugar::IndexHash< RTYPE >::lookup(), and Rcpp::sugar::IndexHash< RTYPE >::lookup().

      
  | 
  inline | 
Definition at line 162 of file IndexHash.h.
References Rcpp::internal::as().
Referenced by Rcpp::sugar::IndexHash< RTYPE >::add_value().

      
  | 
  inline | 
Definition at line 105 of file IndexHash.h.
References Rcpp::sugar::IndexHash< RTYPE >::size_.
| int* Rcpp::sugar::IndexHash< RTYPE >::data | 
Definition at line 122 of file IndexHash.h.
Referenced by Rcpp::sugar::IndexHash< RTYPE >::add_value(), Rcpp::sugar::IndexHash< RTYPE >::get_index(), Rcpp::sugar::IndexHash< RTYPE >::IndexHash(), and Rcpp::sugar::IndexHash< RTYPE >::keys().
| int Rcpp::sugar::IndexHash< RTYPE >::k | 
Definition at line 118 of file IndexHash.h.
Referenced by Rcpp::sugar::IndexHash< RTYPE >::IndexHash().
| int Rcpp::sugar::IndexHash< RTYPE >::m | 
Definition at line 118 of file IndexHash.h.
Referenced by Rcpp::sugar::IndexHash< RTYPE >::add_value(), Rcpp::sugar::IndexHash< RTYPE >::get_index(), and Rcpp::sugar::IndexHash< RTYPE >::IndexHash().
| int Rcpp::sugar::IndexHash< RTYPE >::n | 
Definition at line 118 of file IndexHash.h.
Referenced by Rcpp::sugar::IndexHash< RTYPE >::fill(), Rcpp::sugar::IndexHash< RTYPE >::fill_and_get_duplicated(), and Rcpp::sugar::IndexHash< RTYPE >::IndexHash().
| int Rcpp::sugar::IndexHash< RTYPE >::size_ | 
Definition at line 120 of file IndexHash.h.
Referenced by Rcpp::sugar::IndexHash< RTYPE >::add_value(), Rcpp::sugar::IndexHash< RTYPE >::keys(), and Rcpp::sugar::IndexHash< RTYPE >::size().
| STORAGE* Rcpp::sugar::IndexHash< RTYPE >::src | 
Definition at line 119 of file IndexHash.h.
Referenced by Rcpp::sugar::IndexHash< RTYPE >::add_value(), Rcpp::sugar::IndexHash< RTYPE >::get_index(), and Rcpp::sugar::IndexHash< RTYPE >::keys().