Rcpp Version 1.0.9
|
#include <DataFrame.h>
Public Member Functions | |
DataFrame_Impl () | |
DataFrame_Impl (SEXP x) | |
DataFrame_Impl (const DataFrame_Impl &other) | |
template<typename T > | |
DataFrame_Impl (const T &obj) | |
DataFrame_Impl & | operator= (DataFrame_Impl &other) |
DataFrame_Impl & | operator= (SEXP x) |
int | nrow () const |
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) |
int | nrows () const |
int | rows () const |
R_xlen_t | ncol () const |
R_xlen_t | cols () const |
Public Member Functions inherited from Rcpp::Vector< VECSXP, StoragePolicy > | |
Vector () | |
Vector (const Vector &other) | |
Vector (SEXP x) | |
Vector (const GenericProxy< Proxy > &proxy) | |
Vector (const no_init_vector &obj) | |
Vector (const T &size, const stored_type &u, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0) | |
Vector (const int &size, const stored_type &u) | |
Vector (const std::string &st) | |
Vector (const char *st) | |
Vector (const T &siz, stored_type(*gen)(void), typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0) | |
Vector (T size, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0) | |
Vector (const int &size) | |
Vector (const Dimension &dims) | |
Vector (T value, typename Rcpp::traits::enable_if< traits::is_bool< T >::value &&RTYPE==LGLSXP, void >::type *=0) | |
Vector (const Dimension &dims, const U &u) | |
Vector (const VectorBase< RTYPE, NA, VEC > &other) | |
Vector (const T &size, const U &u, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0) | |
Vector (const sugar::SingleLogicalResult< NA, T > &obj) | |
Vector (const T &siz, stored_type(*gen)(U1), const U1 &u1, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0) | |
Vector (const T &siz, stored_type(*gen)(U1, U2), const U1 &u1, const U2 &u2, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0) | |
Vector (const T &siz, stored_type(*gen)(U1, U2, U3), const U1 &u1, const U2 &u2, const U3 &u3, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0) | |
Vector (InputIterator first, InputIterator last) | |
Vector (InputIterator first, InputIterator last, T n, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0) | |
Vector (InputIterator first, InputIterator last, Func func) | |
Vector (InputIterator first, InputIterator last, Func func, T n, typename Rcpp::traits::enable_if< traits::is_arithmetic< T >::value, void >::type *=0) | |
Vector & | operator= (const Vector &rhs) |
Vector & | operator= (const T &x) |
R_xlen_t | length () const |
R_xlen_t | size () const |
R_xlen_t | offset (const int &i, const int &j) const |
R_xlen_t | offset (const R_xlen_t &i) const |
R_xlen_t | offset (const std::string &name) const |
void | fill (const U &u) |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
Proxy | operator[] (R_xlen_t i) |
const_Proxy | operator[] (R_xlen_t i) const |
NameProxy | operator[] (const std::string &name) |
NameProxy | operator[] (const std::string &name) const |
SubsetProxy< RTYPE, StoragePolicy, RHS_RTYPE, RHS_NA, RHS_T > | operator[] (const VectorBase< RHS_RTYPE, RHS_NA, RHS_T > &rhs) |
const SubsetProxy< RTYPE, StoragePolicy, RHS_RTYPE, RHS_NA, RHS_T > | operator[] (const VectorBase< RHS_RTYPE, RHS_NA, RHS_T > &rhs) const |
Indexer | operator[] (const Range &range) |
Proxy | operator() (const size_t &i) |
const_Proxy | operator() (const size_t &i) const |
Proxy | operator() (const size_t &i, const size_t &j) |
const_Proxy | operator() (const size_t &i, const size_t &j) const |
NameProxy | operator() (const std::string &name) |
NameProxy | operator() (const std::string &name) const |
Proxy | at (const size_t &i) |
const_Proxy | at (const size_t &i) const |
operator RObject () const | |
Vector & | sort (bool decreasing=false) |
void | assign (InputIterator first, InputIterator last) |
void | push_back (const T &object) |
void | push_back (const T &object, const std::string &name) |
void | push_front (const T &object) |
void | push_front (const T &object, const std::string &name) |
iterator | insert (iterator position, const T &object) |
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 (SEXP) |
Vector & | operator+= (const VectorBase< RTYPE, true, EXPR_VEC > &rhs) |
Vector & | operator+= (const VectorBase< RTYPE, false, EXPR_VEC > &rhs) |
bool | containsElementNamed (const char *target) const |
int | findName (const std::string &name) const |
SEXP | eval () const |
SEXP | eval (SEXP env) const |
Public Member Functions inherited from Rcpp::SlotProxyPolicy< CLASS > | |
SlotProxy | slot (const std::string &name) |
const_SlotProxy | slot (const std::string &name) const |
bool | hasSlot (const std::string &name) const |
Public Member Functions inherited from Rcpp::AttributeProxyPolicy< CLASS > | |
AttributeProxy | attr (const std::string &name) |
const_AttributeProxy | attr (const std::string &name) const |
std::vector< std::string > | attributeNames () const |
bool | hasAttribute (const std::string &attr) const |
Public Member Functions inherited from Rcpp::NamesProxyPolicy< CLASS > | |
NamesProxy | names () |
const_NamesProxy | names () const |
Public Member Functions inherited from Rcpp::RObjectMethods< Class > | |
bool | isNULL () const |
int | sexp_type () const |
bool | isObject () const |
bool | isS4 () const |
Public Member Functions inherited from Rcpp::VectorBase< RTYPE, na, VECTOR > | |
VECTOR & | get_ref () |
const VECTOR & | get_ref () const |
stored_type | operator[] (R_xlen_t i) const |
R_xlen_t | size () const |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
Static Public Member Functions | |
static DataFrame_Impl | create () |
Static Public Member Functions inherited from Rcpp::Vector< VECSXP, StoragePolicy > | |
static stored_type | get_na () |
static bool | is_na (stored_type x) |
static Vector | import (InputIterator first, InputIterator last) |
static Vector | import_transform (InputIterator first, InputIterator last, F f) |
static void | replace_element (iterator it, SEXP names, R_xlen_t index, const U &u) |
static void | replace_element__dispatch (traits::false_type, iterator it, SEXP names, R_xlen_t index, const U &u) |
static void | replace_element__dispatch (traits::true_type, iterator it, SEXP names, R_xlen_t index, const U &u) |
static void | replace_element__dispatch__isArgument (traits::false_type, iterator it, SEXP names, R_xlen_t index, const U &u) |
static void | replace_element__dispatch__isArgument (traits::true_type, iterator it, SEXP names, R_xlen_t index, const U &u) |
static Vector | create () |
Private Member Functions | |
void | set__ (SEXP x) |
void | set_type_after_push () |
Static Private Member Functions | |
static DataFrame_Impl | from_list (Parent obj) |
Additional Inherited Members | |
Public Attributes inherited from Rcpp::Vector< VECSXP, StoragePolicy > | |
traits::r_vector_cache_type< RTYPE, StoragePolicy >::type | cache |
Protected Member Functions inherited from Rcpp::Vector< VECSXP, StoragePolicy > | |
int * | dims () const |
void | init () |
Definition at line 38 of file DataFrame.h.
typedef Vector<VECSXP, StoragePolicy> Rcpp::DataFrame_Impl< StoragePolicy >::Parent |
Definition at line 40 of file DataFrame.h.
|
inline |
Definition at line 42 of file DataFrame.h.
Referenced by Rcpp::DataFrame_Impl< StoragePolicy >::create(), and Rcpp::DataFrame_Impl< StoragePolicy >::from_list().
|
inline |
Definition at line 43 of file DataFrame.h.
References Rcpp::DataFrame_Impl< StoragePolicy >::set__().
|
inline |
Definition at line 46 of file DataFrame.h.
References Rcpp::DataFrame_Impl< StoragePolicy >::set__().
Rcpp::DataFrame_Impl< StoragePolicy >::DataFrame_Impl | ( | const T & | obj | ) |
Definition at line 25 of file DataFrame.h.
References Rcpp::wrap().
|
inline |
Definition at line 115 of file DataFrame.h.
References Rcpp::Vector< VECSXP, StoragePolicy >::length().
|
inlinestatic |
Definition at line 117 of file DataFrame.h.
References Rcpp::DataFrame_Impl< StoragePolicy >::DataFrame_Impl().
|
inlinestaticprivate |
Definition at line 156 of file DataFrame.h.
References Rcpp::AttributeProxyPolicy< CLASS >::attr(), Rcpp::DataFrame_Impl< StoragePolicy >::DataFrame_Impl(), Rcpp::Vector< RTYPE, StoragePolicy >::erase(), Rcpp::NamesProxyPolicy< CLASS >::names(), Rcpp::Rcpp_fast_eval(), and Rcpp::Vector< RTYPE, StoragePolicy >::size().
|
inline |
Definition at line 114 of file DataFrame.h.
References Rcpp::Vector< VECSXP, StoragePolicy >::length().
|
inline |
Definition at line 69 of file DataFrame.h.
Referenced by Rcpp::DataFrame_Impl< StoragePolicy >::nrows(), and Rcpp::DataFrame_Impl< StoragePolicy >::rows().
|
inline |
Definition at line 111 of file DataFrame.h.
References Rcpp::DataFrame_Impl< StoragePolicy >::nrow().
|
inline |
Definition at line 53 of file DataFrame.h.
References Rcpp::DataFrame_Impl< StoragePolicy >::set__().
|
inline |
Definition at line 58 of file DataFrame.h.
References Rcpp::DataFrame_Impl< StoragePolicy >::set__().
|
inline |
Definition at line 87 of file DataFrame.h.
References Rcpp::Vector< VECSXP, StoragePolicy >::push_back(), and Rcpp::DataFrame_Impl< StoragePolicy >::set_type_after_push().
|
inline |
Definition at line 93 of file DataFrame.h.
References Rcpp::Vector< VECSXP, StoragePolicy >::push_back(), and Rcpp::DataFrame_Impl< StoragePolicy >::set_type_after_push().
|
inline |
Definition at line 99 of file DataFrame.h.
References Rcpp::Vector< VECSXP, StoragePolicy >::push_front(), and Rcpp::DataFrame_Impl< StoragePolicy >::set_type_after_push().
|
inline |
Definition at line 105 of file DataFrame.h.
References Rcpp::Vector< VECSXP, StoragePolicy >::push_front(), and Rcpp::DataFrame_Impl< StoragePolicy >::set_type_after_push().
|
inline |
Definition at line 112 of file DataFrame.h.
References Rcpp::DataFrame_Impl< StoragePolicy >::nrow().
|
inlineprivate |
Definition at line 124 of file DataFrame.h.
References Rcpp::internal::convert_using_rfunction().
Referenced by Rcpp::DataFrame_Impl< StoragePolicy >::DataFrame_Impl(), Rcpp::DataFrame_Impl< StoragePolicy >::operator=(), and Rcpp::DataFrame_Impl< StoragePolicy >::set_type_after_push().
|
inlineprivate |
Definition at line 133 of file DataFrame.h.
References Rcpp::Vector< VECSXP, StoragePolicy >::begin(), Rcpp::Vector< VECSXP, StoragePolicy >::end(), Rcpp::DataFrame_Impl< StoragePolicy >::set__(), and Rcpp::warning().
Referenced by Rcpp::DataFrame_Impl< StoragePolicy >::push_back(), and Rcpp::DataFrame_Impl< StoragePolicy >::push_front().