Rcpp Version 0.9.10
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 >:

List of all members.

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, NA > OPERATOR

Public Member Functions

 UnaryMinus_Vector (const VEC_TYPE &lhs_)
RESULT operator[] (int i) const
int size () 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

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.

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.

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.

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

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

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

Reimplemented from Rcpp::VectorBase< RTYPE, na, VECTOR >.

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

template<int RTYPE, bool NA, typename T >
const VEC_TYPE& Rcpp::sugar::UnaryMinus_Vector< RTYPE, NA, T >::lhs [private]
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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines