Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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 ()
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_)
inline

Definition at line 30 of file seq_along.h.

References len.

Member Function Documentation

◆ operator[]()

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

Definition at line 32 of file seq_along.h.

◆ size()

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

Definition at line 35 of file seq_along.h.

References len.

Member Data Documentation

◆ len

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

Definition at line 38 of file seq_along.h.

Referenced by SeqLen(), and size().


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