Rcpp Version 0.12.12
Rcpp::ConstMatrixRow< RTYPE > Class Template Reference

#include <MatrixRow.h>

Inheritance diagram for Rcpp::ConstMatrixRow< RTYPE >:
Collaboration diagram for Rcpp::ConstMatrixRow< RTYPE >:

Classes

class  const_iterator
 

Public Types

typedef Matrix< RTYPE > MATRIX
 
typedef MATRIX::const_Proxy const_reference
 
typedef MATRIX::value_type value_type
 
typedef const_iterator iterator
 
- Public Types inherited from Rcpp::VectorBase< RTYPE, true, ConstMatrixRow< RTYPE > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 ConstMatrixRow (const MATRIX &object, int i)
 
 ConstMatrixRow (const ConstMatrixRow &other)
 
const_reference operator[] (int i) const
 
const_iterator begin () const
 
const_iterator end () const
 
int size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< RTYPE, true, ConstMatrixRow< RTYPE > >
ConstMatrixRow< RTYPE > & get_ref ()
 
const ConstMatrixRow< RTYPE > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
iterator begin () const
 
iterator end () const
 

Private Member Functions

int get_parent_index (int i) const
 

Private Attributes

const MATRIXparent
 
MATRIX::const_iterator start
 
int parent_nrow
 
int row
 

Detailed Description

template<int RTYPE>
class Rcpp::ConstMatrixRow< RTYPE >

Definition at line 179 of file MatrixRow.h.

Member Typedef Documentation

template<int RTYPE>
typedef MATRIX::const_Proxy Rcpp::ConstMatrixRow< RTYPE >::const_reference

Definition at line 182 of file MatrixRow.h.

template<int RTYPE>
typedef const_iterator Rcpp::ConstMatrixRow< RTYPE >::iterator

Definition at line 253 of file MatrixRow.h.

template<int RTYPE>
typedef Matrix<RTYPE> Rcpp::ConstMatrixRow< RTYPE >::MATRIX

Definition at line 181 of file MatrixRow.h.

template<int RTYPE>
typedef MATRIX::value_type Rcpp::ConstMatrixRow< RTYPE >::value_type

Definition at line 183 of file MatrixRow.h.

Constructor & Destructor Documentation

template<int RTYPE>
Rcpp::ConstMatrixRow< RTYPE >::ConstMatrixRow ( const MATRIX object,
int  i 
)
inline

Definition at line 255 of file MatrixRow.h.

References Rcpp::Matrix< RTYPE, StoragePolicy >::nrow(), and Rcpp::MatrixRow< RTYPE >::parent.

Here is the call graph for this function:

template<int RTYPE>
Rcpp::ConstMatrixRow< RTYPE >::ConstMatrixRow ( const ConstMatrixRow< RTYPE > &  other)
inline

Definition at line 268 of file MatrixRow.h.

Member Function Documentation

template<int RTYPE>
const_iterator Rcpp::ConstMatrixRow< RTYPE >::begin ( ) const
inline

Definition at line 279 of file MatrixRow.h.

template<int RTYPE>
const_iterator Rcpp::ConstMatrixRow< RTYPE >::end ( ) const
inline

Definition at line 283 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::size().

Here is the call graph for this function:

template<int RTYPE>
int Rcpp::ConstMatrixRow< RTYPE >::get_parent_index ( int  i) const
inlineprivate

Definition at line 297 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::parent_nrow, and RCPP_DEBUG_4.

template<int RTYPE>
const_reference Rcpp::ConstMatrixRow< RTYPE >::operator[] ( int  i) const
inline
template<int RTYPE>
int Rcpp::ConstMatrixRow< RTYPE >::size ( ) const
inline

Definition at line 287 of file MatrixRow.h.

References Rcpp::Matrix< RTYPE, StoragePolicy >::ncol(), and Rcpp::MatrixRow< RTYPE >::parent.

Here is the call graph for this function:

Member Data Documentation

template<int RTYPE>
const MATRIX& Rcpp::ConstMatrixRow< RTYPE >::parent
private

Definition at line 292 of file MatrixRow.h.

template<int RTYPE>
int Rcpp::ConstMatrixRow< RTYPE >::parent_nrow
private

Definition at line 294 of file MatrixRow.h.

template<int RTYPE>
int Rcpp::ConstMatrixRow< RTYPE >::row
private

Definition at line 295 of file MatrixRow.h.

template<int RTYPE>
MATRIX::const_iterator Rcpp::ConstMatrixRow< RTYPE >::start
private

Definition at line 293 of file MatrixRow.h.


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