Rcpp Version 0.12.12
Rcpp::sugar::SeqLen Class Reference

#include <seq_along.h>

Inheritance diagram for Rcpp::sugar::SeqLen:
Collaboration diagram for Rcpp::sugar::SeqLen:

Public Member Functions

 SeqLen (R_xlen_t len_)
 
R_xlen_t operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< INTSXP, false, SeqLen >
SeqLen & get_ref ()
 
const SeqLen & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
iterator begin () const
 
iterator end () const
 

Private Attributes

R_xlen_t len
 

Additional Inherited Members

- Public Types inherited from Rcpp::VectorBase< INTSXP, false, SeqLen >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Detailed Description

Definition at line 28 of file seq_along.h.

Constructor & Destructor Documentation

Rcpp::sugar::SeqLen::SeqLen ( R_xlen_t  len_)
inline

Definition at line 30 of file seq_along.h.

Member Function Documentation

R_xlen_t Rcpp::sugar::SeqLen::operator[] ( R_xlen_t  i) const
inline

Definition at line 32 of file seq_along.h.

R_xlen_t Rcpp::sugar::SeqLen::size ( ) const
inline

Definition at line 35 of file seq_along.h.

References len.

Member Data Documentation

R_xlen_t Rcpp::sugar::SeqLen::len
private

Definition at line 38 of file seq_along.h.

Referenced by size().


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