Rcpp Version 0.12.12
Rcpp::sugar::Rep< RTYPE, NA, T > Class Template Reference

#include <rep.h>

Inheritance diagram for Rcpp::sugar::Rep< RTYPE, NA, T >:
Collaboration diagram for Rcpp::sugar::Rep< RTYPE, NA, T >:

Public Types

typedef Rcpp::VectorBase< RTYPE, NA, T > VEC_TYPE
 
typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE
 
- Public Types inherited from Rcpp::VectorBase< RTYPE, NA, Rep< RTYPE, NA, T > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 Rep (const VEC_TYPE &object_, R_xlen_t times_)
 
STORAGE operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< RTYPE, NA, Rep< RTYPE, NA, T > >
Rep< RTYPE, NA, T > & get_ref ()
 
const Rep< RTYPE, NA, T > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
iterator begin () const
 
iterator end () const
 

Private Attributes

const VEC_TYPEobject
 
R_xlen_t times
 
R_xlen_t n
 

Detailed Description

template<int RTYPE, bool NA, typename T>
class Rcpp::sugar::Rep< RTYPE, NA, T >

Definition at line 29 of file rep.h.

Member Typedef Documentation

template<int RTYPE, bool NA, typename T>
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Rep< RTYPE, NA, T >::STORAGE

Definition at line 32 of file rep.h.

template<int RTYPE, bool NA, typename T>
typedef Rcpp::VectorBase<RTYPE,NA,T> Rcpp::sugar::Rep< RTYPE, NA, T >::VEC_TYPE

Definition at line 31 of file rep.h.

Constructor & Destructor Documentation

template<int RTYPE, bool NA, typename T>
Rcpp::sugar::Rep< RTYPE, NA, T >::Rep ( const VEC_TYPE object_,
R_xlen_t  times_ 
)
inline

Definition at line 34 of file rep.h.

Member Function Documentation

template<int RTYPE, bool NA, typename T>
STORAGE Rcpp::sugar::Rep< RTYPE, NA, T >::operator[] ( R_xlen_t  i) const
inline

Definition at line 37 of file rep.h.

References Rcpp::sugar::Rep< RTYPE, NA, T >::n.

template<int RTYPE, bool NA, typename T>
R_xlen_t Rcpp::sugar::Rep< RTYPE, NA, T >::size ( ) const
inline

Member Data Documentation

template<int RTYPE, bool NA, typename T>
R_xlen_t Rcpp::sugar::Rep< RTYPE, NA, T >::n
private
template<int RTYPE, bool NA, typename T>
const VEC_TYPE& Rcpp::sugar::Rep< RTYPE, NA, T >::object
private

Definition at line 43 of file rep.h.

template<int RTYPE, bool NA, typename T>
R_xlen_t Rcpp::sugar::Rep< RTYPE, NA, T >::times
private

Definition at line 44 of file rep.h.

Referenced by Rcpp::sugar::Rep< RTYPE, NA, T >::size().


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