Rcpp Version 1.0.9
Rcpp::sugar::Sign< RTYPE, NA, T > Class Template Reference

#include <sign.h>

Inheritance diagram for Rcpp::sugar::Sign< RTYPE, NA, T >:
Collaboration diagram for Rcpp::sugar::Sign< RTYPE, NA, T >:

Public Types

typedef Rcpp::VectorBase< RTYPE, NA, T > VEC_TYPE
 
typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE
 
typedef int r_import_type
 
- Public Types inherited from Rcpp::VectorBase< INTSXP, NA, Sign< RTYPE, NA, T > >
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
 

Public Member Functions

 Sign (const VEC_TYPE &object_)
 
int operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
 operator SEXP () const
 
int get (R_xlen_t i) const
 
- Public Member Functions inherited from Rcpp::VectorBase< INTSXP, NA, Sign< RTYPE, NA, T > >
Sign< RTYPE, NA, T > & get_ref ()
 
const Sign< RTYPE, NA, T > & 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

const VEC_TYPEobject
 

Detailed Description

template<int RTYPE, bool NA, typename T>
class Rcpp::sugar::Sign< RTYPE, NA, T >

Definition at line 48 of file sign.h.

Member Typedef Documentation

◆ r_import_type

template<int RTYPE, bool NA, typename T >
typedef int Rcpp::sugar::Sign< RTYPE, NA, T >::r_import_type

Definition at line 52 of file sign.h.

◆ STORAGE

template<int RTYPE, bool NA, typename T >
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Sign< RTYPE, NA, T >::STORAGE

Definition at line 51 of file sign.h.

◆ VEC_TYPE

template<int RTYPE, bool NA, typename T >
typedef Rcpp::VectorBase<RTYPE,NA,T> Rcpp::sugar::Sign< RTYPE, NA, T >::VEC_TYPE

Definition at line 50 of file sign.h.

Constructor & Destructor Documentation

◆ Sign()

template<int RTYPE, bool NA, typename T >
Rcpp::sugar::Sign< RTYPE, NA, T >::Sign ( const VEC_TYPE object_)
inline

Definition at line 54 of file sign.h.

Member Function Documentation

◆ get()

template<int RTYPE, bool NA, typename T >
int Rcpp::sugar::Sign< RTYPE, NA, T >::get ( R_xlen_t  i) const
inline

Definition at line 62 of file sign.h.

References Rcpp::sugar::sign__impl< NA, RTYPE >::get().

Referenced by Rcpp::sugar::Sign< RTYPE, NA, T >::operator[]().

Here is the call graph for this function:

◆ operator SEXP()

template<int RTYPE, bool NA, typename T >
Rcpp::sugar::Sign< RTYPE, NA, T >::operator SEXP ( ) const
inline

Definition at line 61 of file sign.h.

References Rcpp::wrap().

Here is the call graph for this function:

◆ operator[]()

template<int RTYPE, bool NA, typename T >
int Rcpp::sugar::Sign< RTYPE, NA, T >::operator[] ( R_xlen_t  i) const
inline

Definition at line 56 of file sign.h.

References Rcpp::sugar::Sign< RTYPE, NA, T >::get().

Here is the call graph for this function:

◆ size()

template<int RTYPE, bool NA, typename T >
R_xlen_t Rcpp::sugar::Sign< RTYPE, NA, T >::size ( ) const
inline

Definition at line 59 of file sign.h.

Member Data Documentation

◆ object

template<int RTYPE, bool NA, typename T >
const VEC_TYPE& Rcpp::sugar::Sign< RTYPE, NA, T >::object
private

Definition at line 64 of file sign.h.


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