Rcpp Version 0.9.10
Vector< RTYPE > Class Template Reference

#include <Vector.h>

Inheritance diagram for Vector< RTYPE >:
Collaboration diagram for Vector< RTYPE >:

List of all members.

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)
Vectoroperator= (const Vector &other)
 Vector (const RObject::SlotProxy &proxy)
 Vector (const RObject::AttributeProxy &proxy)
template<typename T >
Vectoroperator= (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 >
Vectoroperator+= (const VectorBase< RTYPE, EXPR_NA, EXPR_VEC > &rhs)
template<typename EXPR_VEC >
Vectoroperator+= (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

Detailed Description

template<int RTYPE>
class Vector< RTYPE >

Examples:

Misc/ifelseLooped.r, RcppGibbs/timeRNGs.R, RcppInline/RcppInlineExample.r, and SugarPerformance/sugarBenchmarks.R.

Definition at line 26 of file Vector.h.


Member Typedef Documentation

template<int RTYPE>
typedef traits::r_vector_element_converter<RTYPE>::type Vector< RTYPE >::converter_type

Reimplemented in Matrix< RTYPE >.

Definition at line 37 of file Vector.h.

template<int RTYPE>
typedef internal::RangeIndexer<RTYPE,Vector> Vector< RTYPE >::Indexer

Definition at line 658 of file Vector.h.

template<int RTYPE>
typedef traits::init_type<RTYPE>::type Vector< RTYPE >::init_type

Definition at line 36 of file Vector.h.

template<int RTYPE>
typedef traits::r_vector_iterator<RTYPE>::type Vector< RTYPE >::iterator

Reimplemented in Matrix< RTYPE >.

Definition at line 35 of file Vector.h.

template<int RTYPE>
typedef traits::r_vector_name_proxy<RTYPE>::type Vector< RTYPE >::NameProxy

Definition at line 33 of file Vector.h.

template<int RTYPE>
typedef traits::r_vector_proxy<RTYPE>::type Vector< RTYPE >::Proxy

Reimplemented in Matrix< RTYPE >.

Definition at line 32 of file Vector.h.

template<int RTYPE>
typedef traits::storage_type<RTYPE>::type Vector< RTYPE >::stored_type

Reimplemented in Matrix< RTYPE >.

Definition at line 38 of file Vector.h.

template<int RTYPE>
typedef traits::r_vector_proxy<RTYPE>::type Vector< RTYPE >::value_type

Definition at line 34 of file Vector.h.


Constructor & Destructor Documentation

template<int RTYPE>
Vector< RTYPE >::Vector ( ) [inline]

Definition at line 40 of file Vector.h.

References Vector< RTYPE >::init(), and RCPP_DEBUG.

Referenced by Vector< RTYPE >::create().

Here is the call graph for this function:

template<int RTYPE>
Vector< RTYPE >::~Vector ( ) [inline]

Definition at line 45 of file Vector.h.

References RCPP_DEBUG.

template<int RTYPE>
Vector< RTYPE >::Vector ( const Vector< RTYPE > &  other) [inline]

Definition at line 49 of file Vector.h.

template<int RTYPE>
Vector< RTYPE >::Vector ( const RObject::SlotProxy &  proxy) [inline]

Definition at line 58 of file Vector.h.

template<int RTYPE>
Vector< RTYPE >::Vector ( const RObject::AttributeProxy &  proxy) [inline]

Definition at line 62 of file Vector.h.

template<int RTYPE>
Vector< RTYPE >::Vector ( SEXP  x) [inline]

Definition at line 122 of file Vector.h.

References RCPP_DEBUG, and RCPP_DEBUG_2.

template<int RTYPE>
Vector< RTYPE >::Vector ( const int &  size) [inline]

Definition at line 128 of file Vector.h.

References Vector< RTYPE >::init(), and RCPP_DEBUG_2.

Here is the call graph for this function:

template<int RTYPE>
template<bool NA, typename VEC >
Vector< RTYPE >::Vector ( const VectorBase< RTYPE, NA, VEC > &  other) [inline]

Definition at line 135 of file Vector.h.

References n.

template<int RTYPE>
template<typename U >
Vector< RTYPE >::Vector ( const int &  size,
const U &  u 
) [inline]

Definition at line 197 of file Vector.h.

References Vector< RTYPE >::fill_or_generate().

Here is the call graph for this function:

template<int RTYPE>
Vector< RTYPE >::Vector ( const int &  size,
const stored_type u 
) [inline]

Definition at line 202 of file Vector.h.

References Vector< RTYPE >::fill().

Here is the call graph for this function:

template<int RTYPE>
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename U1 >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename U1 , typename U2 >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename U1 , typename U2 , typename U3 >
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().

Here is the call graph for this function:

template<int RTYPE>
Vector< RTYPE >::Vector ( const Dimension &  dims) [inline]

Definition at line 234 of file Vector.h.

References Vector< RTYPE >::dims(), and Vector< RTYPE >::init().

Here is the call graph for this function:

template<int RTYPE>
template<typename U >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename InputIterator >
Vector< RTYPE >::Vector ( InputIterator  first,
InputIterator  last 
) [inline]

Definition at line 253 of file Vector.h.

References Vector< RTYPE >::assign().

Here is the call graph for this function:

template<int RTYPE>
Vector< RTYPE >::Vector ( const std::string &  st) [inline]

Definition at line 257 of file Vector.h.


Member Function Documentation

template<int RTYPE>
template<typename InputIterator >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename T >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename T >
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=().

Here is the call graph for this function:

template<int RTYPE>
static Vector Vector< RTYPE >::create ( ) [inline, static]

Reimplemented in Rcpp::DataFrame.

Definition at line 505 of file Vector.h.

References Vector< RTYPE >::Vector().

Here is the call graph for this function:

template<int RTYPE>
int* Vector< RTYPE >::dims ( ) const [inline, protected]
template<int RTYPE>
iterator Vector< RTYPE >::erase ( int  position) [inline]

Definition at line 484 of file Vector.h.

References Vector< RTYPE >::cache, and Vector< RTYPE >::erase_single__impl().

Here is the call graph for this function:

template<int RTYPE>
iterator Vector< RTYPE >::erase ( iterator  position) [inline]

Definition at line 488 of file Vector.h.

References Vector< RTYPE >::erase_single__impl().

Here is the call graph for this function:

template<int RTYPE>
iterator Vector< RTYPE >::erase ( iterator  first,
iterator  last 
) [inline]

Definition at line 496 of file Vector.h.

References Vector< RTYPE >::erase_range__impl().

Here is the call graph for this function:

template<int RTYPE>
iterator Vector< RTYPE >::erase ( int  first,
int  last 
) [inline]

Definition at line 492 of file Vector.h.

References Vector< RTYPE >::cache, and Vector< RTYPE >::erase_range__impl().

Here is the call graph for this function:

template<int RTYPE>
iterator Vector< RTYPE >::erase_range__impl ( iterator  first,
iterator  last 
) [inline, private]
template<int RTYPE>
iterator Vector< RTYPE >::erase_single__impl ( iterator  position) [inline, private]
template<int RTYPE>
template<typename U >
void Vector< RTYPE >::fill ( const U &  u) [inline]

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().

Here is the call graph for this function:

template<int RTYPE>
template<typename U >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename U >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename T >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename T >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename T >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename InputIterator >
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.

Here is the call graph for this function:

template<int RTYPE>
template<bool NA, typename VEC >
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.

Here is the call graph for this function:

template<int RTYPE>
template<typename InputIterator , typename F >
static Vector Vector< RTYPE >::import_transform ( InputIterator  first,
InputIterator  last,
f 
) [inline, static]

Definition at line 436 of file Vector.h.

References Vector< RTYPE >::begin(), n, and v.

Here is the call graph for this function:

template<int RTYPE>
void Vector< RTYPE >::init ( ) [inline, protected]

Definition at line 645 of file Vector.h.

Referenced by Matrix< RTYPE >::Matrix(), and Vector< RTYPE >::Vector().

template<int RTYPE>
template<typename T >
iterator Vector< RTYPE >::insert ( iterator  position,
const T &  object 
) [inline]

Definition at line 471 of file Vector.h.

References Vector< RTYPE >::insert__impl().

Here is the call graph for this function:

template<int RTYPE>
template<typename T >
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().

Here is the call graph for this function:

template<int RTYPE>
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.

Here is the call graph for this function:

template<int RTYPE>
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().

Here is the call graph for this function:

template<int RTYPE>
R_len_t Vector< RTYPE >::length ( ) const [inline]

the length of the vector, uses Rf_length

Definition at line 270 of file Vector.h.

template<int RTYPE>
NamesProxy Vector< RTYPE >::names ( ) const [inline]
template<int RTYPE>
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().

Here is the call graph for this function:

template<int RTYPE>
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()().

Here is the call graph for this function:

template<int RTYPE>
size_t Vector< RTYPE >::offset ( const size_t &  i) const [inline]

one dimensional offset doing bounds checking to ensure it is valid

Definition at line 294 of file Vector.h.

References i.

template<int RTYPE>
Proxy Vector< RTYPE >::operator() ( const size_t &  i) [inline]

Definition at line 396 of file Vector.h.

References Vector< RTYPE >::cache, and Vector< RTYPE >::offset().

Here is the call graph for this function:

template<int RTYPE>
Proxy Vector< RTYPE >::operator() ( const size_t &  i) const [inline]

Definition at line 400 of file Vector.h.

References Vector< RTYPE >::cache, and Vector< RTYPE >::offset().

Here is the call graph for this function:

template<int RTYPE>
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().

Here is the call graph for this function:

template<int RTYPE>
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().

Here is the call graph for this function:

template<int RTYPE>
NameProxy Vector< RTYPE >::operator() ( const std::string &  name) [inline]

Definition at line 414 of file Vector.h.

template<int RTYPE>
template<typename EXPR_VEC >
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().

Here is the call graph for this function:

template<int RTYPE>
template<bool EXPR_NA, typename EXPR_VEC >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename T >
Vector& Vector< RTYPE >::operator= ( const T &  x) [inline]

Definition at line 67 of file Vector.h.

References Vector< RTYPE >::assign_object().

Here is the call graph for this function:

template<int RTYPE>
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.

Here is the call graph for this function:

template<int RTYPE>
Vector& Vector< RTYPE >::operator= ( const Vector< RTYPE > &  other) [inline]

Definition at line 53 of file Vector.h.

References Vector< RTYPE >::set_sexp().

Here is the call graph for this function:

template<int RTYPE>
Indexer Vector< RTYPE >::operator[] ( const Range &  range) [inline]

Definition at line 660 of file Vector.h.

template<int RTYPE>
Proxy Vector< RTYPE >::operator[] ( int  i) [inline]

Reimplemented in Matrix< RTYPE >.

Definition at line 394 of file Vector.h.

References Vector< RTYPE >::cache.

template<int RTYPE>
Proxy Vector< RTYPE >::operator[] ( int  i) const [inline]

Reimplemented in Matrix< RTYPE >.

Definition at line 395 of file Vector.h.

References Vector< RTYPE >::cache.

template<int RTYPE>
NameProxy Vector< RTYPE >::operator[] ( const std::string &  name) [inline]

Definition at line 411 of file Vector.h.

template<int RTYPE>
template<typename T >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename T >
void Vector< RTYPE >::push_back ( const T &  object) [inline]

Definition at line 444 of file Vector.h.

References Vector< RTYPE >::push_back__impl().

Here is the call graph for this function:

template<int RTYPE>
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().

Here is the call graph for this function:

template<int RTYPE>
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.

Here is the call graph for this function:

template<int RTYPE>
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().

Here is the call graph for this function:

template<int RTYPE>
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.

Here is the call graph for this function:

template<int RTYPE>
template<typename T >
void Vector< RTYPE >::push_front ( const T &  object) [inline]

Definition at line 458 of file Vector.h.

References Vector< RTYPE >::push_front__impl().

Here is the call graph for this function:

template<int RTYPE>
template<typename T >
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().

Here is the call graph for this function:

template<int RTYPE>
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().

Here is the call graph for this function:

template<int RTYPE>
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.

Here is the call graph for this function:

template<int RTYPE>
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.

Here is the call graph for this function:

template<int RTYPE>
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename U >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename U >
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().

Here is the call graph for this function:

template<int RTYPE>
template<typename U >
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().

template<int RTYPE>
template<typename U >
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().

template<int RTYPE>
template<typename U >
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.

template<int RTYPE>
void Vector< RTYPE >::set_sexp ( SEXP  x) [inline]
template<int RTYPE>
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().

Here is the call graph for this function:

template<int RTYPE>
void Vector< RTYPE >::update_vector ( ) [inline]

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines