Rcpp Version 0.12.12
Rcpp::DataFrame_Impl< StoragePolicy > Class Template Reference

#include <DataFrame.h>

Inheritance diagram for Rcpp::DataFrame_Impl< StoragePolicy >:
Collaboration diagram for Rcpp::DataFrame_Impl< StoragePolicy >:

Public Types

typedef Vector< VECSXP, StoragePolicy > Parent
 
- Public Types inherited from Rcpp::Vector< VECSXP, StoragePolicy >
typedef StoragePolicy< VectorStorage
 
typedef traits::r_vector_proxy< RTYPE >::type Proxy
 
typedef traits::r_vector_const_proxy< RTYPE >::type const_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::r_vector_const_iterator< RTYPE >::type const_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, true, VectorIndexer
 
- Public Types inherited from Rcpp::VectorBase< RTYPE, true, Vector< RTYPE, StoragePolicy > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 DataFrame_Impl ()
 
 DataFrame_Impl (SEXP x)
 
 DataFrame_Impl (const DataFrame_Impl &other)
 
template<typename T >
 DataFrame_Impl (const T &obj)
 
DataFrame_Imploperator= (DataFrame_Impl &other)
 
DataFrame_Imploperator= (SEXP x)
 
int nrow () const
 
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)
 
Vectoroperator= (const Vector &rhs)
 
Vectoroperator= (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
 
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
 
Vectorsort (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)
 
Vectoroperator+= (const VectorBase< RTYPE, true, EXPR_VEC > &rhs)
 
Vectoroperator+= (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< Vector< RTYPE, StoragePolicy > >
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< Vector< RTYPE, StoragePolicy > >
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< Vector< RTYPE, StoragePolicy > >
NamesProxy names ()
 
const_NamesProxy names () const
 
- Public Member Functions inherited from Rcpp::RObjectMethods< Vector< RTYPE, StoragePolicy > >
bool isNULL () const
 
int sexp_type () const
 
bool isObject () const
 
bool isS4 () const
 
- Public Member Functions inherited from Rcpp::VectorBase< RTYPE, true, Vector< RTYPE, StoragePolicy > >
Vector< RTYPE, StoragePolicy > & get_ref ()
 
const Vector< RTYPE, StoragePolicy > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
iterator begin () const
 
iterator end () 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)
 

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

Detailed Description

template<template< class > class StoragePolicy>
class Rcpp::DataFrame_Impl< StoragePolicy >

Definition at line 38 of file DataFrame.h.

Member Typedef Documentation

template<template< class > class StoragePolicy>
typedef Vector<VECSXP, StoragePolicy> Rcpp::DataFrame_Impl< StoragePolicy >::Parent

Definition at line 40 of file DataFrame.h.

Constructor & Destructor Documentation

template<template< class > class StoragePolicy>
Rcpp::DataFrame_Impl< StoragePolicy >::DataFrame_Impl ( )
inline

Definition at line 42 of file DataFrame.h.

template<template< class > class StoragePolicy>
Rcpp::DataFrame_Impl< StoragePolicy >::DataFrame_Impl ( SEXP  x)
inline

Definition at line 43 of file DataFrame.h.

template<template< class > class StoragePolicy>
Rcpp::DataFrame_Impl< StoragePolicy >::DataFrame_Impl ( const DataFrame_Impl< StoragePolicy > &  other)
inline

Definition at line 46 of file DataFrame.h.

template<template< class > class StoragePolicy>
template<class T >
Rcpp::DataFrame_Impl< StoragePolicy >::DataFrame_Impl ( const T &  obj)

Definition at line 25 of file DataFrame.h.

References Rcpp::wrap().

Here is the call graph for this function:

Member Function Documentation

template<template< class > class StoragePolicy>
R_xlen_t Rcpp::DataFrame_Impl< StoragePolicy >::cols ( ) const
inline

Definition at line 91 of file DataFrame.h.

References Rcpp::Vector< VECSXP, StoragePolicy >::length().

Here is the call graph for this function:

template<template< class > class StoragePolicy>
static DataFrame_Impl Rcpp::DataFrame_Impl< StoragePolicy >::create ( )
inlinestatic

Definition at line 93 of file DataFrame.h.

template<template< class > class StoragePolicy>
static DataFrame_Impl Rcpp::DataFrame_Impl< StoragePolicy >::from_list ( Parent  obj)
inlinestaticprivate
template<template< class > class StoragePolicy>
R_xlen_t Rcpp::DataFrame_Impl< StoragePolicy >::ncol ( ) const
inline

Definition at line 90 of file DataFrame.h.

References Rcpp::Vector< VECSXP, StoragePolicy >::length().

Here is the call graph for this function:

template<template< class > class StoragePolicy>
int Rcpp::DataFrame_Impl< StoragePolicy >::nrow ( ) const
inline
template<template< class > class StoragePolicy>
int Rcpp::DataFrame_Impl< StoragePolicy >::nrows ( ) const
inline

Definition at line 87 of file DataFrame.h.

References Rcpp::DataFrame_Impl< StoragePolicy >::nrow().

Here is the call graph for this function:

template<template< class > class StoragePolicy>
DataFrame_Impl& Rcpp::DataFrame_Impl< StoragePolicy >::operator= ( DataFrame_Impl< StoragePolicy > &  other)
inline

Definition at line 53 of file DataFrame.h.

template<template< class > class StoragePolicy>
DataFrame_Impl& Rcpp::DataFrame_Impl< StoragePolicy >::operator= ( SEXP  x)
inline

Definition at line 58 of file DataFrame.h.

template<template< class > class StoragePolicy>
int Rcpp::DataFrame_Impl< StoragePolicy >::rows ( ) const
inline

Definition at line 88 of file DataFrame.h.

References Rcpp::DataFrame_Impl< StoragePolicy >::nrow().

Here is the call graph for this function:

template<template< class > class StoragePolicy>
void Rcpp::DataFrame_Impl< StoragePolicy >::set__ ( SEXP  x)
inlineprivate

Definition at line 100 of file DataFrame.h.

References Rcpp::internal::convert_using_rfunction().

Here is the call graph for this function:


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