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

#include <unary_minus.h>

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

Public Types

typedef Rcpp::VectorBase< RTYPE, NA, T > VEC_TYPE
 
typedef traits::storage_type< RTYPE >::type STORAGE
 
typedef unary_minus_result_type< RTYPE >::type RESULT
 
typedef unary_minus< RTYPE, NAOPERATOR
 
- Public Types inherited from Rcpp::VectorBase< unary_minus_result_type< RTYPE >::value, NA, UnaryMinus_Vector< unary_minus_result_type< RTYPE >::value, 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

 UnaryMinus_Vector (const VEC_TYPE &lhs_)
 
RESULT operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< unary_minus_result_type< RTYPE >::value, NA, UnaryMinus_Vector< unary_minus_result_type< RTYPE >::value, NA, T > >
UnaryMinus_Vector< unary_minus_result_type< RTYPE >::value, NA, T > & get_ref ()
 
const UnaryMinus_Vector< unary_minus_result_type< RTYPE >::value, 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_TYPElhs
 
OPERATOR op
 

Detailed Description

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

Definition at line 83 of file unary_minus.h.

Member Typedef Documentation

◆ OPERATOR

template<int RTYPE, bool NA, typename T >
typedef unary_minus<RTYPE,NA> Rcpp::sugar::UnaryMinus_Vector< RTYPE, NA, T >::OPERATOR

Definition at line 92 of file unary_minus.h.

◆ RESULT

template<int RTYPE, bool NA, typename T >
typedef unary_minus_result_type<RTYPE>::type Rcpp::sugar::UnaryMinus_Vector< RTYPE, NA, T >::RESULT

Definition at line 91 of file unary_minus.h.

◆ STORAGE

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

Definition at line 90 of file unary_minus.h.

◆ VEC_TYPE

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

Definition at line 89 of file unary_minus.h.

Constructor & Destructor Documentation

◆ UnaryMinus_Vector()

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

Definition at line 94 of file unary_minus.h.

Member Function Documentation

◆ operator[]()

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

◆ size()

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

Definition at line 101 of file unary_minus.h.

References Rcpp::sugar::UnaryMinus_Vector< RTYPE, NA, T >::lhs, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

Here is the call graph for this function:

Member Data Documentation

◆ lhs

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

◆ op

template<int RTYPE, bool NA, typename T >
OPERATOR Rcpp::sugar::UnaryMinus_Vector< RTYPE, NA, T >::op
private

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