|
Rcpp Version 0.9.10
|
#include <Vector.h>


Classes | |
| class | NamesProxy |
Public Types | |
| typedef traits::r_vector_proxy < RTYPE >::type | Proxy |
| typedef traits::r_vector_name_proxy < RTYPE >::type | NameProxy |
| typedef traits::r_vector_proxy < RTYPE >::type | value_type |
| typedef traits::r_vector_iterator < RTYPE >::type | iterator |
| typedef traits::init_type < RTYPE >::type | init_type |
| typedef traits::r_vector_element_converter < RTYPE >::type | converter_type |
| typedef traits::storage_type < RTYPE >::type | stored_type |
| typedef internal::RangeIndexer < RTYPE, Vector > | Indexer |
Public Member Functions | |
| Vector () | |
| ~Vector () | |
| Vector (const Vector &other) | |
| Vector & | operator= (const Vector &other) |
| Vector (const RObject::SlotProxy &proxy) | |
| Vector (const RObject::AttributeProxy &proxy) | |
| template<typename T > | |
| Vector & | operator= (const T &x) |
| internal::ListInitialization < iterator, init_type > | operator= (init_type x) |
| Vector (SEXP x) | |
| Vector (const int &size) | |
| template<bool NA, typename VEC > | |
| Vector (const VectorBase< RTYPE, NA, VEC > &other) | |
| template<typename U > | |
| Vector (const int &size, const U &u) | |
| Vector (const int &size, const stored_type &u) | |
| Vector (const int &siz, stored_type(*gen)(void)) | |
| template<typename U1 > | |
| Vector (const int &siz, stored_type(*gen)(U1), const U1 &u1) | |
| template<typename U1 , typename U2 > | |
| Vector (const int &siz, stored_type(*gen)(U1, U2), const U1 &u1, const U2 &u2) | |
| template<typename U1 , typename U2 , typename U3 > | |
| Vector (const int &siz, stored_type(*gen)(U1, U2, U3), const U1 &u1, const U2 &u2, const U3 &u3) | |
| Vector (const Dimension &dims) | |
| template<typename U > | |
| Vector (const Dimension &dims, const U &u) | |
| template<typename InputIterator > | |
| Vector (InputIterator first, InputIterator last) | |
| Vector (const std::string &st) | |
| R_len_t | length () const |
| R_len_t | size () const |
| size_t | offset (const size_t &i, const size_t &j) const |
| size_t | offset (const size_t &i) const |
| R_len_t | offset (const std::string &name) const |
| template<typename U > | |
| void | fill (const U &u) |
| NamesProxy | names () const |
| iterator | begin () const |
| iterator | end () const |
| Proxy | operator[] (int i) |
| Proxy | operator[] (int i) const |
| Proxy | operator() (const size_t &i) |
| Proxy | operator() (const size_t &i) const |
| Proxy | operator() (const size_t &i, const size_t &j) |
| Proxy | operator() (const size_t &i, const size_t &j) const |
| NameProxy | operator[] (const std::string &name) |
| NameProxy | operator() (const std::string &name) |
| template<typename InputIterator > | |
| void | assign (InputIterator first, InputIterator last) |
| template<typename T > | |
| void | push_back (const T &object) |
| template<typename T > | |
| void | push_back (const T &object, const std::string &name) |
| template<typename T > | |
| void | push_front (const T &object) |
| template<typename T > | |
| void | push_front (const T &object, const std::string &name) |
| template<typename T > | |
| iterator | insert (iterator position, const T &object) |
| template<typename T > | |
| iterator | insert (int position, const T &object) |
| iterator | erase (int position) |
| iterator | erase (iterator position) |
| iterator | erase (int first, int last) |
| iterator | erase (iterator first, iterator last) |
| void | update_vector () |
| void | set_sexp (SEXP x) |
| Indexer | operator[] (const Range &range) |
| template<bool EXPR_NA, typename EXPR_VEC > | |
| Vector & | operator+= (const VectorBase< RTYPE, EXPR_NA, EXPR_VEC > &rhs) |
| template<typename EXPR_VEC > | |
| Vector & | operator+= (const VectorBase< RTYPE, false, EXPR_VEC > &rhs) |
Static Public Member Functions | |
| template<typename InputIterator > | |
| static Vector | import (InputIterator first, InputIterator last) |
| template<typename InputIterator , typename F > | |
| static Vector | import_transform (InputIterator first, InputIterator last, F f) |
| static Vector | create () |
| template<typename U > | |
| static void | replace_element (iterator it, SEXP names, int index, const U &u) |
| template<typename U > | |
| static void | replace_element__dispatch (traits::false_type, iterator it, SEXP names, int index, const U &u) |
| template<typename U > | |
| static void | replace_element__dispatch (traits::true_type, iterator it, SEXP names, int index, const U &u) |
| template<typename U > | |
| static void | replace_element__dispatch__isArgument (traits::false_type, iterator it, SEXP names, int index, const U &u) |
| template<typename U > | |
| static void | replace_element__dispatch__isArgument (traits::true_type, iterator it, SEXP names, int index, const U &u) |
Protected Member Functions | |
| void | init () |
| int * | dims () const |
Private Member Functions | |
| template<typename T > | |
| void | assign_object (const T &x, traits::true_type) |
| template<typename T > | |
| void | assign_object (const T &x, traits::false_type) |
| template<bool NA, typename VEC > | |
| void | import_expression (const VectorBase< RTYPE, NA, VEC > &other, int n) |
| template<typename T > | |
| void | fill_or_generate (const T &t) |
| template<typename T > | |
| void | fill_or_generate__impl (const T &gen, traits::true_type) |
| template<typename T > | |
| void | fill_or_generate__impl (const T &t, traits::false_type) |
| template<typename U > | |
| void | fill_dispatch (traits::false_type, const U &u) |
| template<typename U > | |
| void | fill__dispatch (traits::true_type, const U &u) |
| void | push_back__impl (const stored_type &object, traits::true_type) |
| void | push_back__impl (const stored_type &object, traits::false_type) |
| void | push_back_name__impl (const stored_type &object, const std::string &name, traits::true_type) |
| void | push_back_name__impl (const stored_type &object, const std::string &name, traits::false_type) |
| void | push_front__impl (const stored_type &object, traits::true_type) |
| void | push_front__impl (const stored_type &object, traits::false_type) |
| void | push_front_name__impl (const stored_type &object, const std::string &name, traits::true_type) |
| void | push_front_name__impl (const stored_type &object, const std::string &name, traits::false_type) |
| iterator | insert__impl (iterator position, const stored_type &object, traits::true_type) |
| iterator | insert__impl (iterator position, const stored_type &object, traits::false_type) |
| iterator | erase_single__impl (iterator position) |
| iterator | erase_range__impl (iterator first, iterator last) |
| virtual void | update () |
Private Attributes | |
| traits::r_vector_cache< RTYPE > | cache |
| typedef traits::r_vector_element_converter<RTYPE>::type Vector< RTYPE >::converter_type |
Reimplemented in Matrix< RTYPE >.
| typedef internal::RangeIndexer<RTYPE,Vector> Vector< RTYPE >::Indexer |
| typedef traits::r_vector_iterator<RTYPE>::type Vector< RTYPE >::iterator |
Reimplemented in Matrix< RTYPE >.
| typedef traits::r_vector_name_proxy<RTYPE>::type Vector< RTYPE >::NameProxy |
| typedef traits::r_vector_proxy<RTYPE>::type Vector< RTYPE >::Proxy |
Reimplemented in Matrix< RTYPE >.
| typedef traits::storage_type<RTYPE>::type Vector< RTYPE >::stored_type |
Reimplemented in Matrix< RTYPE >.
| typedef traits::r_vector_proxy<RTYPE>::type Vector< RTYPE >::value_type |
Definition at line 40 of file Vector.h.
References Vector< RTYPE >::init(), and RCPP_DEBUG.
Referenced by Vector< RTYPE >::create().

Definition at line 45 of file Vector.h.
References RCPP_DEBUG.
Definition at line 122 of file Vector.h.
References RCPP_DEBUG, and RCPP_DEBUG_2.
Definition at line 128 of file Vector.h.
References Vector< RTYPE >::init(), and RCPP_DEBUG_2.

| Vector< RTYPE >::Vector | ( | const int & | size, |
| const U & | u | ||
| ) | [inline] |
Definition at line 197 of file Vector.h.
References Vector< RTYPE >::fill_or_generate().

| Vector< RTYPE >::Vector | ( | const int & | size, |
| const stored_type & | u | ||
| ) | [inline] |
Definition at line 202 of file Vector.h.
References Vector< RTYPE >::fill().

| Vector< RTYPE >::Vector | ( | const int & | siz, |
| stored_type(*)(void) | gen | ||
| ) | [inline] |
Definition at line 207 of file Vector.h.
References Vector< RTYPE >::begin(), and Vector< RTYPE >::end().

| Vector< RTYPE >::Vector | ( | const int & | siz, |
| stored_type(*)(U1) | gen, | ||
| const U1 & | u1 | ||
| ) | [inline] |
Definition at line 214 of file Vector.h.
References Vector< RTYPE >::begin(), and Vector< RTYPE >::end().

| Vector< RTYPE >::Vector | ( | const int & | siz, |
| stored_type(*)(U1, U2) | gen, | ||
| const U1 & | u1, | ||
| const U2 & | u2 | ||
| ) | [inline] |
Definition at line 221 of file Vector.h.
References Vector< RTYPE >::begin(), and Vector< RTYPE >::end().

| Vector< RTYPE >::Vector | ( | const int & | siz, |
| stored_type(*)(U1, U2, U3) | gen, | ||
| const U1 & | u1, | ||
| const U2 & | u2, | ||
| const U3 & | u3 | ||
| ) | [inline] |
Definition at line 228 of file Vector.h.
References Vector< RTYPE >::begin(), and Vector< RTYPE >::end().

Definition at line 234 of file Vector.h.
References Vector< RTYPE >::dims(), and Vector< RTYPE >::init().

| Vector< RTYPE >::Vector | ( | const Dimension & | dims, |
| const U & | u | ||
| ) | [inline] |
Definition at line 243 of file Vector.h.
References Vector< RTYPE >::dims(), and Vector< RTYPE >::fill().

| Vector< RTYPE >::Vector | ( | InputIterator | first, |
| InputIterator | last | ||
| ) | [inline] |
Definition at line 253 of file Vector.h.
References Vector< RTYPE >::assign().

| void Vector< RTYPE >::assign | ( | InputIterator | first, |
| InputIterator | last | ||
| ) | [inline] |
Definition at line 419 of file Vector.h.
References PROTECT(), Rcpp::wrap(), and x.
Referenced by Vector< RTYPE >::import(), and Vector< RTYPE >::Vector().

| void Vector< RTYPE >::assign_object | ( | const T & | x, |
| traits::false_type | |||
| ) | [inline, private] |
Definition at line 110 of file Vector.h.
References Vector< RTYPE >::set_sexp(), and Rcpp::wrap().

| void Vector< RTYPE >::assign_object | ( | const T & | x, |
| traits::true_type | |||
| ) | [inline, private] |
Definition at line 76 of file Vector.h.
References Vector< RTYPE >::begin(), i, n, Vector< RTYPE >::set_sexp(), Vector< RTYPE >::size(), and Rcpp::wrap().
Referenced by Vector< RTYPE >::operator=().

Reimplemented in Matrix< RTYPE >.
Definition at line 391 of file Vector.h.
References Vector< RTYPE >::cache.
Referenced by Vector< RTYPE >::assign_object(), Matrix< RTYPE >::begin(), Vector< RTYPE >::erase_range__impl(), Vector< RTYPE >::erase_single__impl(), Vector< RTYPE >::fill__dispatch(), Matrix< RTYPE >::fill_diag__dispatch(), Vector< RTYPE >::fill_dispatch(), Vector< RTYPE >::fill_or_generate__impl(), Vector< RTYPE >::import_expression(), Matrix< RTYPE >::import_matrix_expression(), Vector< RTYPE >::import_transform(), Vector< RTYPE >::insert__impl(), Matrix< RTYPE >::Matrix(), Vector< RTYPE >::operator+=(), Vector< RTYPE >::operator=(), Vector< RTYPE >::push_back__impl(), Vector< RTYPE >::push_back_name__impl(), Vector< RTYPE >::push_front__impl(), Vector< RTYPE >::push_front_name__impl(), and Vector< RTYPE >::Vector().
Reimplemented in Rcpp::DataFrame.
Definition at line 505 of file Vector.h.
References Vector< RTYPE >::Vector().

| int* Vector< RTYPE >::dims | ( | ) | const [inline, protected] |
Definition at line 665 of file Vector.h.
Referenced by Matrix< RTYPE >::cols(), Matrix< RTYPE >::Matrix(), Matrix< RTYPE >::ncol(), Vector< RTYPE >::offset(), and Vector< RTYPE >::Vector().
Reimplemented in Matrix< RTYPE >.
Definition at line 392 of file Vector.h.
References Vector< RTYPE >::cache, and Vector< RTYPE >::size().
Referenced by Matrix< RTYPE >::end(), Vector< RTYPE >::erase_range__impl(), Vector< RTYPE >::erase_single__impl(), Vector< RTYPE >::fill__dispatch(), Vector< RTYPE >::fill_or_generate__impl(), and Vector< RTYPE >::Vector().

Definition at line 484 of file Vector.h.
References Vector< RTYPE >::cache, and Vector< RTYPE >::erase_single__impl().

Definition at line 488 of file Vector.h.
References Vector< RTYPE >::erase_single__impl().

Definition at line 496 of file Vector.h.
References Vector< RTYPE >::erase_range__impl().

Definition at line 492 of file Vector.h.
References Vector< RTYPE >::cache, and Vector< RTYPE >::erase_range__impl().

| iterator Vector< RTYPE >::erase_range__impl | ( | iterator | first, |
| iterator | last | ||
| ) | [inline, private] |
Definition at line 605 of file Vector.h.
References Vector< RTYPE >::begin(), Vector< RTYPE >::end(), i, Vector< RTYPE >::names(), PROTECT(), R_NilValue, RCPP_GET_NAMES, Vector< RTYPE >::set_sexp(), and Vector< RTYPE >::size().
Referenced by Vector< RTYPE >::erase().

| iterator Vector< RTYPE >::erase_single__impl | ( | iterator | position | ) | [inline, private] |
Definition at line 565 of file Vector.h.
References Vector< RTYPE >::begin(), Vector< RTYPE >::end(), i, n, Vector< RTYPE >::names(), PROTECT(), R_NilValue, RCPP_GET_NAMES, Vector< RTYPE >::set_sexp(), and Vector< RTYPE >::size().
Referenced by Vector< RTYPE >::erase().

Definition at line 333 of file Vector.h.
References Vector< RTYPE >::fill__dispatch().
Referenced by Vector< RTYPE >::fill__dispatch(), Vector< RTYPE >::fill_or_generate__impl(), and Vector< RTYPE >::Vector().

| void Vector< RTYPE >::fill__dispatch | ( | traits::true_type | , |
| const U & | u | ||
| ) | [inline, private] |
Definition at line 326 of file Vector.h.
References Vector< RTYPE >::begin(), Vector< RTYPE >::end(), and Vector< RTYPE >::fill().
Referenced by Vector< RTYPE >::fill().

| void Vector< RTYPE >::fill_dispatch | ( | traits::false_type | , |
| const U & | u | ||
| ) | [inline, private] |
Definition at line 315 of file Vector.h.
References Vector< RTYPE >::begin(), i, PROTECT(), and Vector< RTYPE >::size().

| void Vector< RTYPE >::fill_or_generate | ( | const T & | t | ) | [inline, private] |
Definition at line 177 of file Vector.h.
References Vector< RTYPE >::fill_or_generate__impl().
Referenced by Vector< RTYPE >::Vector().

| void Vector< RTYPE >::fill_or_generate__impl | ( | const T & | gen, |
| traits::true_type | |||
| ) | [inline, private] |
Definition at line 182 of file Vector.h.
References Vector< RTYPE >::begin(), and Vector< RTYPE >::end().
Referenced by Vector< RTYPE >::fill_or_generate().

| void Vector< RTYPE >::fill_or_generate__impl | ( | const T & | t, |
| traits::false_type | |||
| ) | [inline, private] |
Definition at line 189 of file Vector.h.
References Vector< RTYPE >::fill().

| static Vector Vector< RTYPE >::import | ( | InputIterator | first, |
| InputIterator | last | ||
| ) | [inline, static] |
Definition at line 429 of file Vector.h.
References Vector< RTYPE >::assign(), and v.

| void Vector< RTYPE >::import_expression | ( | const VectorBase< RTYPE, NA, VEC > & | other, |
| int | n | ||
| ) | [inline, private] |
Definition at line 145 of file Vector.h.
References Vector< RTYPE >::begin(), and i.

| static Vector Vector< RTYPE >::import_transform | ( | InputIterator | first, |
| InputIterator | last, | ||
| F | f | ||
| ) | [inline, static] |
Definition at line 436 of file Vector.h.
References Vector< RTYPE >::begin(), n, and v.

| void Vector< RTYPE >::init | ( | ) | [inline, protected] |
Definition at line 645 of file Vector.h.
Referenced by Matrix< RTYPE >::Matrix(), and Vector< RTYPE >::Vector().
| iterator Vector< RTYPE >::insert | ( | iterator | position, |
| const T & | object | ||
| ) | [inline] |
Definition at line 471 of file Vector.h.
References Vector< RTYPE >::insert__impl().

| iterator Vector< RTYPE >::insert | ( | int | position, |
| const T & | object | ||
| ) | [inline] |
Definition at line 478 of file Vector.h.
References Vector< RTYPE >::cache, and Vector< RTYPE >::insert__impl().

| Vector< RTYPE >::iterator Vector< RTYPE >::insert__impl | ( | iterator | position, |
| const stored_type & | object, | ||
| traits::false_type | |||
| ) | [private] |
Definition at line 953 of file Vector.h.
References Vector< RTYPE >::begin(), end, i, n, PROTECT(), R_NilValue, and RCPP_GET_NAMES.

| Vector< RTYPE >::iterator Vector< RTYPE >::insert__impl | ( | iterator | position, |
| const stored_type & | object, | ||
| traits::true_type | |||
| ) | [private] |
Definition at line 995 of file Vector.h.
References Vector< RTYPE >::begin(), end, i, n, PROTECT(), R_NilValue, and RCPP_GET_NAMES.
Referenced by Vector< RTYPE >::insert().

| R_len_t Vector< RTYPE >::length | ( | ) | const [inline] |
| NamesProxy Vector< RTYPE >::names | ( | ) | const [inline] |
Definition at line 387 of file Vector.h.
Referenced by Vector< RTYPE >::erase_range__impl(), Vector< RTYPE >::erase_single__impl(), and Vector< RTYPE >::offset().
| R_len_t Vector< RTYPE >::offset | ( | const std::string & | name | ) | const [inline] |
Definition at line 299 of file Vector.h.
References i, n, Vector< RTYPE >::names(), R_NilValue, RCPP_GET_NAMES, and Vector< RTYPE >::size().

| size_t Vector< RTYPE >::offset | ( | const size_t & | i, |
| const size_t & | j | ||
| ) | const [inline] |
offset based on the dimensions of this vector
Definition at line 280 of file Vector.h.
References Vector< RTYPE >::dims(), and j.
Referenced by Vector< RTYPE >::operator()().

| size_t Vector< RTYPE >::offset | ( | const size_t & | i | ) | const [inline] |
Definition at line 396 of file Vector.h.
References Vector< RTYPE >::cache, and Vector< RTYPE >::offset().

Definition at line 400 of file Vector.h.
References Vector< RTYPE >::cache, and Vector< RTYPE >::offset().

| Proxy Vector< RTYPE >::operator() | ( | const size_t & | i, |
| const size_t & | j | ||
| ) | [inline] |
Reimplemented in Matrix< RTYPE >.
Definition at line 403 of file Vector.h.
References Vector< RTYPE >::cache, and Vector< RTYPE >::offset().

| Proxy Vector< RTYPE >::operator() | ( | const size_t & | i, |
| const size_t & | j | ||
| ) | const [inline] |
Reimplemented in Matrix< RTYPE >.
Definition at line 407 of file Vector.h.
References Vector< RTYPE >::cache, and Vector< RTYPE >::offset().

| Vector& Vector< RTYPE >::operator+= | ( | const VectorBase< RTYPE, false, EXPR_VEC > & | rhs | ) | [inline] |
Definition at line 691 of file Vector.h.
References Vector< RTYPE >::begin(), i, n, and Vector< RTYPE >::size().

| Vector& Vector< RTYPE >::operator+= | ( | const VectorBase< RTYPE, EXPR_NA, EXPR_VEC > & | rhs | ) | [inline] |
Definition at line 674 of file Vector.h.
References Vector< RTYPE >::begin(), i, n, and Vector< RTYPE >::size().

| Vector& Vector< RTYPE >::operator= | ( | const T & | x | ) | [inline] |
Definition at line 67 of file Vector.h.
References Vector< RTYPE >::assign_object().

| internal::ListInitialization<iterator,init_type> Vector< RTYPE >::operator= | ( | init_type | x | ) | [inline] |
Definition at line 117 of file Vector.h.
References Vector< RTYPE >::begin(), and x.

Definition at line 53 of file Vector.h.
References Vector< RTYPE >::set_sexp().

Reimplemented in Matrix< RTYPE >.
Definition at line 394 of file Vector.h.
References Vector< RTYPE >::cache.
Reimplemented in Matrix< RTYPE >.
Definition at line 395 of file Vector.h.
References Vector< RTYPE >::cache.
| void Vector< RTYPE >::push_back | ( | const T & | object, |
| const std::string & | name | ||
| ) | [inline] |
Definition at line 451 of file Vector.h.
References Vector< RTYPE >::push_back_name__impl().

| void Vector< RTYPE >::push_back | ( | const T & | object | ) | [inline] |
Definition at line 444 of file Vector.h.
References Vector< RTYPE >::push_back__impl().

| void Vector< RTYPE >::push_back__impl | ( | const stored_type & | object, |
| traits::true_type | |||
| ) | [private] |
Definition at line 736 of file Vector.h.
References Vector< RTYPE >::begin(), end, i, n, PROTECT(), R_NilValue, and RCPP_GET_NAMES.
Referenced by Vector< RTYPE >::push_back().

| void Vector< RTYPE >::push_back__impl | ( | const stored_type & | object, |
| traits::false_type | |||
| ) | [private] |
Definition at line 709 of file Vector.h.
References Vector< RTYPE >::begin(), end, i, n, PROTECT(), R_NilValue, and RCPP_GET_NAMES.

| void Vector< RTYPE >::push_back_name__impl | ( | const stored_type & | object, |
| const std::string & | name, | ||
| traits::true_type | |||
| ) | [private] |
Definition at line 796 of file Vector.h.
References Vector< RTYPE >::begin(), end, i, n, PROTECT(), R_NilValue, and RCPP_GET_NAMES.
Referenced by Vector< RTYPE >::push_back().

| void Vector< RTYPE >::push_back_name__impl | ( | const stored_type & | object, |
| const std::string & | name, | ||
| traits::false_type | |||
| ) | [private] |
Definition at line 765 of file Vector.h.
References Vector< RTYPE >::begin(), end, i, n, PROTECT(), R_NilValue, and RCPP_GET_NAMES.

| void Vector< RTYPE >::push_front | ( | const T & | object | ) | [inline] |
Definition at line 458 of file Vector.h.
References Vector< RTYPE >::push_front__impl().

| void Vector< RTYPE >::push_front | ( | const T & | object, |
| const std::string & | name | ||
| ) | [inline] |
Definition at line 464 of file Vector.h.
References Vector< RTYPE >::push_front_name__impl().

| void Vector< RTYPE >::push_front__impl | ( | const stored_type & | object, |
| traits::true_type | |||
| ) | [private] |
Definition at line 856 of file Vector.h.
References Vector< RTYPE >::begin(), end, i, n, PROTECT(), R_NilValue, and RCPP_GET_NAMES.
Referenced by Vector< RTYPE >::push_front().

| void Vector< RTYPE >::push_front__impl | ( | const stored_type & | object, |
| traits::false_type | |||
| ) | [private] |
Definition at line 828 of file Vector.h.
References Vector< RTYPE >::begin(), end, i, n, PROTECT(), R_NilValue, and RCPP_GET_NAMES.

| void Vector< RTYPE >::push_front_name__impl | ( | const stored_type & | object, |
| const std::string & | name, | ||
| traits::false_type | |||
| ) | [private] |
Definition at line 886 of file Vector.h.
References Vector< RTYPE >::begin(), end, i, n, PROTECT(), R_NilValue, and RCPP_GET_NAMES.

| void Vector< RTYPE >::push_front_name__impl | ( | const stored_type & | object, |
| const std::string & | name, | ||
| traits::true_type | |||
| ) | [private] |
Definition at line 919 of file Vector.h.
References Vector< RTYPE >::begin(), end, i, n, PROTECT(), R_NilValue, and RCPP_GET_NAMES.
Referenced by Vector< RTYPE >::push_front().

| static void Vector< RTYPE >::replace_element | ( | iterator | it, |
| SEXP | names, | ||
| int | index, | ||
| const U & | u | ||
| ) | [inline, static] |
Definition at line 512 of file Vector.h.
References Vector< RTYPE >::replace_element__dispatch().

| static void Vector< RTYPE >::replace_element__dispatch | ( | traits::true_type | , |
| iterator | it, | ||
| SEXP | names, | ||
| int | index, | ||
| const U & | u | ||
| ) | [inline, static] |
Definition at line 523 of file Vector.h.
References Vector< RTYPE >::replace_element__dispatch__isArgument().

| static void Vector< RTYPE >::replace_element__dispatch | ( | traits::false_type | , |
| iterator | it, | ||
| SEXP | names, | ||
| int | index, | ||
| const U & | u | ||
| ) | [inline, static] |
Definition at line 518 of file Vector.h.
Referenced by Vector< RTYPE >::replace_element().
| static void Vector< RTYPE >::replace_element__dispatch__isArgument | ( | traits::false_type | , |
| iterator | it, | ||
| SEXP | names, | ||
| int | index, | ||
| const U & | u | ||
| ) | [inline, static] |
Definition at line 528 of file Vector.h.
References DEMANGLE, and RCPP_DEBUG_2.
Referenced by Vector< RTYPE >::replace_element__dispatch().
| static void Vector< RTYPE >::replace_element__dispatch__isArgument | ( | traits::true_type | , |
| iterator | it, | ||
| SEXP | names, | ||
| int | index, | ||
| const U & | u | ||
| ) | [inline, static] |
Definition at line 536 of file Vector.h.
References DEMANGLE, and RCPP_DEBUG_2.
| void Vector< RTYPE >::set_sexp | ( | SEXP | x | ) | [inline] |
Definition at line 544 of file Vector.h.
References Vector< RTYPE >::update_vector().
Referenced by Vector< RTYPE >::assign_object(), Vector< RTYPE >::erase_range__impl(), Vector< RTYPE >::erase_single__impl(), Vector< RTYPE >::operator=(), and Vector< RTYPE >::NamesProxy::set().

| R_len_t Vector< RTYPE >::size | ( | ) | const [inline] |
alias of length
Definition at line 275 of file Vector.h.
Referenced by Vector< RTYPE >::assign_object(), convolve11cpp(), convolve14cpp(), convolve5cpp(), Vector< RTYPE >::end(), Vector< RTYPE >::erase_range__impl(), Vector< RTYPE >::erase_single__impl(), Vector< RTYPE >::fill_dispatch(), Vector< RTYPE >::offset(), Vector< RTYPE >::operator+=(), and Vector< RTYPE >::NamesProxy::set().
| virtual void Vector< RTYPE >::update | ( | ) | [inline, private, virtual] |
Reimplemented in Matrix< RTYPE >.
Definition at line 649 of file Vector.h.
References RCPP_DEBUG_2, and Vector< RTYPE >::update_vector().

| void Vector< RTYPE >::update_vector | ( | ) | [inline] |
Definition at line 500 of file Vector.h.
References Vector< RTYPE >::cache, DEMANGLE, and RCPP_DEBUG_2.
Referenced by Vector< RTYPE >::set_sexp(), Vector< RTYPE >::update(), and Matrix< RTYPE >::update().
traits::r_vector_cache<RTYPE> Vector< RTYPE >::cache [private] |
Definition at line 654 of file Vector.h.
Referenced by Vector< RTYPE >::begin(), Vector< RTYPE >::end(), Vector< RTYPE >::erase(), Vector< RTYPE >::insert(), Vector< RTYPE >::operator()(), Vector< RTYPE >::operator[](), and Vector< RTYPE >::update_vector().