Rcpp Version 0.10.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
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 (int len_)
int operator[] (int i) const
int size () const
- Public Member Functions inherited from Rcpp::VectorBase< INTSXP, false, SeqLen >
SeqLen & get_ref ()
const SeqLen & get_ref () const
iterator begin () const
iterator end () const

Private Attributes

int 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

Detailed Description

Definition at line 28 of file seq_along.h.

Constructor & Destructor Documentation

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

Definition at line 30 of file seq_along.h.

Member Function Documentation

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

Reimplemented from Rcpp::VectorBase< INTSXP, false, SeqLen >.

Definition at line 32 of file seq_along.h.

References i.

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

Reimplemented from Rcpp::VectorBase< INTSXP, false, SeqLen >.

Definition at line 35 of file seq_along.h.

References len.

Member Data Documentation

int 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: