Rcpp Version 0.12.14
Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T > Class Template Reference

#include <cbind.h>

Inheritance diagram for Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >:
Collaboration diagram for Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >:

Public Types

typedef cbind_storage_type< RTYPE >::type stored_type
 
- Public Types inherited from Rcpp::sugar::cbind_impl::BindableExpression< RTYPE, ContainerBindable< RTYPE, T > >
typedef cbind_storage_type< RTYPE >::type stored_type
 

Public Member Functions

 ContainerBindable (const Rcpp::Matrix< RTYPE > &vec_)
 
 ContainerBindable (const Rcpp::Vector< RTYPE > &vec_)
 
template<typename S >
 ContainerBindable (const BindableExpression< RTYPE, S > &e)
 
R_xlen_t size () const
 
R_xlen_t nrow () const
 
R_xlen_t ncol () const
 
stored_type operator[] (R_xlen_t i) const
 
stored_type operator() (R_xlen_t i, R_xlen_t j) const
 
- Public Member Functions inherited from Rcpp::sugar::cbind_impl::BindableExpression< RTYPE, ContainerBindable< RTYPE, T > >
stored_type operator[] (R_xlen_t i) const
 
stored_type operator() (R_xlen_t i, R_xlen_t j) const
 
R_xlen_t size () const
 
R_xlen_t nrow () const
 
R_xlen_t ncol () const
 
 operator ContainerBindable< RTYPE, T > & ()
 
 operator const ContainerBindable< RTYPE, T > & () const
 

Private Attributes

vec
 
R_xlen_t len
 
R_xlen_t nr
 
R_xlen_t nc
 

Detailed Description

template<int RTYPE, typename T>
class Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >

Definition at line 82 of file cbind.h.

Member Typedef Documentation

◆ stored_type

template<int RTYPE, typename T >
typedef cbind_storage_type<RTYPE>::type Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::stored_type

Definition at line 85 of file cbind.h.

Constructor & Destructor Documentation

◆ ContainerBindable() [1/3]

template<int RTYPE, typename T >
Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::ContainerBindable ( const Rcpp::Matrix< RTYPE > &  vec_)
inline

Definition at line 92 of file cbind.h.

◆ ContainerBindable() [2/3]

template<int RTYPE, typename T >
Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::ContainerBindable ( const Rcpp::Vector< RTYPE > &  vec_)
inline

Definition at line 97 of file cbind.h.

◆ ContainerBindable() [3/3]

template<int RTYPE, typename T >
template<typename S >
Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::ContainerBindable ( const BindableExpression< RTYPE, S > &  e)
inline

Definition at line 103 of file cbind.h.

Member Function Documentation

◆ ncol()

template<int RTYPE, typename T >
R_xlen_t Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::ncol ( ) const
inline

Definition at line 116 of file cbind.h.

◆ nrow()

template<int RTYPE, typename T >
R_xlen_t Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::nrow ( ) const
inline

Definition at line 114 of file cbind.h.

◆ operator()()

template<int RTYPE, typename T >
stored_type Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::operator() ( R_xlen_t  i,
R_xlen_t  j 
) const
inline

Definition at line 122 of file cbind.h.

◆ operator[]()

template<int RTYPE, typename T >
stored_type Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::operator[] ( R_xlen_t  i) const
inline

Definition at line 118 of file cbind.h.

◆ size()

template<int RTYPE, typename T >
R_xlen_t Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::size ( ) const
inline

Definition at line 112 of file cbind.h.

Member Data Documentation

◆ len

template<int RTYPE, typename T >
R_xlen_t Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::len
private

Definition at line 89 of file cbind.h.

◆ nc

template<int RTYPE, typename T >
R_xlen_t Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::nc
private

Definition at line 89 of file cbind.h.

◆ nr

template<int RTYPE, typename T >
R_xlen_t Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::nr
private

Definition at line 89 of file cbind.h.

◆ vec

template<int RTYPE, typename T >
T Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::vec
private

Definition at line 88 of file cbind.h.


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