Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::FieldProxyPolicy< CLASS >::const_FieldProxy Class Reference

#include <FieldProxy.h>

Inheritance diagram for Rcpp::FieldProxyPolicy< CLASS >::const_FieldProxy:
Collaboration diagram for Rcpp::FieldProxyPolicy< CLASS >::const_FieldProxy:

Public Member Functions

 const_FieldProxy (const CLASS &v, const std::string &name)
template<typename T>
 operator T () const
 operator SEXP () const
Public Member Functions inherited from Rcpp::GenericProxy< const_FieldProxy >
SEXP get () const

Private Member Functions

SEXP get () const

Private Attributes

const CLASS & parent
const std::string & field_name

Detailed Description

template<typename CLASS>
class Rcpp::FieldProxyPolicy< CLASS >::const_FieldProxy

Definition at line 56 of file FieldProxy.h.

Constructor & Destructor Documentation

◆ const_FieldProxy()

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

Definition at line 58 of file FieldProxy.h.

References field_name, and parent.

Member Function Documentation

◆ get()

template<typename CLASS>
SEXP Rcpp::FieldProxyPolicy< CLASS >::const_FieldProxy::get ( ) const
inlineprivate

Definition at line 70 of file FieldProxy.h.

References field_name, parent, and Rcpp::Rcpp_fast_eval().

Referenced by operator SEXP().

Here is the call graph for this function:

◆ operator SEXP()

template<typename CLASS>
Rcpp::FieldProxyPolicy< CLASS >::const_FieldProxy::operator SEXP ( ) const
inline

Definition at line 62 of file FieldProxy.h.

References get().

Here is the call graph for this function:

◆ operator T()

template<typename CLASS>
template<typename T>
Rcpp::FieldProxyPolicy< CLASS >::const_FieldProxy::operator T ( ) const

Definition at line 199 of file proxy.h.

References Rcpp::as(), and Rcpp::get().

Here is the call graph for this function:

Member Data Documentation

◆ field_name

template<typename CLASS>
const std::string& Rcpp::FieldProxyPolicy< CLASS >::const_FieldProxy::field_name
private

Definition at line 68 of file FieldProxy.h.

Referenced by const_FieldProxy(), and get().

◆ parent

template<typename CLASS>
const CLASS& Rcpp::FieldProxyPolicy< CLASS >::const_FieldProxy::parent
private

Definition at line 67 of file FieldProxy.h.

Referenced by const_FieldProxy(), and get().


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