Rcpp Version 1.0.9
Rcpp::SlotProxyPolicy< CLASS >::SlotProxy Class Reference

#include <SlotProxy.h>

Inheritance diagram for Rcpp::SlotProxyPolicy< CLASS >::SlotProxy:
Collaboration diagram for Rcpp::SlotProxyPolicy< CLASS >::SlotProxy:

Public Member Functions

 SlotProxy (CLASS &v, const std::string &name)
 
SlotProxyoperator= (const SlotProxy &rhs)
 
template<typename T >
SlotProxyoperator= (const T &rhs)
 
template<typename T >
 operator T () const
 
 operator SEXP () const
 
template<typename T >
SlotProxyPolicy< CLASS >::SlotProxyoperator= (const T &rhs)
 
- Public Member Functions inherited from Rcpp::GenericProxy< SlotProxy >
SEXP get () const
 

Private Member Functions

SEXP get () const
 
void set (SEXP x)
 

Private Attributes

CLASS & parent
 
SEXP slot_name
 

Detailed Description

template<typename CLASS>
class Rcpp::SlotProxyPolicy< CLASS >::SlotProxy

Definition at line 27 of file SlotProxy.h.

Constructor & Destructor Documentation

◆ SlotProxy()

template<typename CLASS >
Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::SlotProxy ( CLASS &  v,
const std::string &  name 
)
inline

Definition at line 29 of file SlotProxy.h.

References Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::slot_name.

Member Function Documentation

◆ get()

◆ operator SEXP()

template<typename CLASS >
Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::operator SEXP ( ) const
inline

Definition at line 43 of file SlotProxy.h.

References Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::get().

Here is the call graph for this function:

◆ operator T()

template<typename CLASS >
template<typename T >
Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::operator T

Definition at line 91 of file proxy.h.

References Rcpp::get().

Here is the call graph for this function:

◆ operator=() [1/3]

template<typename CLASS >
SlotProxy& Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::operator= ( const SlotProxy rhs)
inline

Definition at line 35 of file SlotProxy.h.

References Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::get(), and Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::set().

Here is the call graph for this function:

◆ operator=() [2/3]

template<typename CLASS >
template<typename T >
SlotProxyPolicy<CLASS>::SlotProxy& Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::operator= ( const T &  rhs)

Definition at line 84 of file proxy.h.

References Rcpp::wrap().

Here is the call graph for this function:

◆ operator=() [3/3]

template<typename CLASS >
template<typename T >
SlotProxy& Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::operator= ( const T &  rhs)

◆ set()

template<typename CLASS >
void Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::set ( SEXP  x)
inlineprivate

Member Data Documentation

◆ parent

template<typename CLASS >
CLASS& Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::parent
private

◆ slot_name

template<typename CLASS >
SEXP Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::slot_name
private

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