Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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< RTYPE, na, VECTOR >
typedef traits::storage_type< RTYPE >::type stored_type
typedef traits::storage_type< RTYPE >::type elem_type
typedef iter_base< iter_traitsiterator
typedef iter_base< const_iter_traitsconst_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< RTYPE, na, VECTOR >
VECTOR & get_ref ()
const VECTOR & 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.

References lhs, and op.

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

Definition at line 97 of file unary_minus.h.

References lhs, and op.

◆ 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 lhs.

Member Data Documentation

◆ lhs

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

Definition at line 104 of file unary_minus.h.

Referenced by operator[](), size(), and UnaryMinus_Vector().

◆ op

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

Definition at line 105 of file unary_minus.h.

Referenced by operator[](), and UnaryMinus_Vector().


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