Rcpp Version 1.0.0
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
const_iterator begin () const
const_iterator end () const
const_iterator cbegin () const
const_iterator cend () 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 iter_base< iter_traits > iterator
typedef iter_base< const_iter_traits > const_iterator

Detailed Description

Definition at line 28 of file seq_along.h.

Constructor & Destructor Documentation

◆ SeqLen()

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

Definition at line 30 of file seq_along.h.

Member Function Documentation

◆ operator[]()

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

Definition at line 32 of file seq_along.h.

◆ size()

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

Definition at line 35 of file seq_along.h.

References len.

Member Data Documentation

◆ len

R_xlen_t Rcpp::sugar::SeqLen::len

Definition at line 38 of file seq_along.h.

Referenced by size().

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