Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::BindingPolicy< EnvironmentClass >::Binding Class Reference

#include <Binding.h>

Inheritance diagram for Rcpp::BindingPolicy< EnvironmentClass >::Binding:
Collaboration diagram for Rcpp::BindingPolicy< EnvironmentClass >::Binding:

Public Member Functions

 Binding (EnvironmentClass &env_, const std::string &name_)
bool active () const
bool locked () const
bool exists () const
void lock ()
void unlock ()
Bindingoperator= (const Binding &rhs)
template<typename WRAPPABLE>
Bindingoperator= (const WRAPPABLE &rhs)
template<typename T>
 operator T () const
template<typename T>
BindingPolicy< CLASS >::Bindingoperator= (const T &rhs)
Public Member Functions inherited from Rcpp::GenericProxy< Binding >
SEXP get () const

Private Member Functions

SEXP get () const
void set (SEXP x)

Private Attributes

EnvironmentClass & env
std::string name

Detailed Description

template<typename EnvironmentClass>
class Rcpp::BindingPolicy< EnvironmentClass >::Binding

Definition at line 27 of file Binding.h.

Constructor & Destructor Documentation

◆ Binding()

template<typename EnvironmentClass>
Rcpp::BindingPolicy< EnvironmentClass >::Binding::Binding ( EnvironmentClass & env_,
const std::string & name_ )
inline

Definition at line 29 of file Binding.h.

References env, and name.

Referenced by operator=(), and operator=().

Member Function Documentation

◆ active()

template<typename EnvironmentClass>
bool Rcpp::BindingPolicy< EnvironmentClass >::Binding::active ( ) const
inline

Definition at line 32 of file Binding.h.

References env, and name.

◆ exists()

template<typename EnvironmentClass>
bool Rcpp::BindingPolicy< EnvironmentClass >::Binding::exists ( ) const
inline

Definition at line 38 of file Binding.h.

References env, and name.

◆ get()

template<typename EnvironmentClass>
SEXP Rcpp::BindingPolicy< EnvironmentClass >::Binding::get ( ) const
inlineprivate

Definition at line 60 of file Binding.h.

References env, and name.

Referenced by operator=().

◆ lock()

template<typename EnvironmentClass>
void Rcpp::BindingPolicy< EnvironmentClass >::Binding::lock ( )
inline

Definition at line 41 of file Binding.h.

References env, and name.

◆ locked()

template<typename EnvironmentClass>
bool Rcpp::BindingPolicy< EnvironmentClass >::Binding::locked ( ) const
inline

Definition at line 35 of file Binding.h.

References env, and name.

◆ operator T()

template<typename CLASS>
template<typename T>
Rcpp::BindingPolicy< CLASS >::Binding::operator T ( ) const

Definition at line 137 of file proxy.h.

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

Here is the call graph for this function:

◆ operator=() [1/3]

template<typename EnvironmentClass>
Binding & Rcpp::BindingPolicy< EnvironmentClass >::Binding::operator= ( const Binding & rhs)
inline

Definition at line 47 of file Binding.h.

References Binding(), get(), and set().

Here is the call graph for this function:

◆ operator=() [2/3]

template<typename EnvironmentClass>
template<typename T>
BindingPolicy< CLASS >::Binding & Rcpp::BindingPolicy< EnvironmentClass >::Binding::operator= ( const T & rhs)

Definition at line 130 of file proxy.h.

References set(), and Rcpp::wrap().

Here is the call graph for this function:

◆ operator=() [3/3]

template<typename EnvironmentClass>
template<typename WRAPPABLE>
Binding & Rcpp::BindingPolicy< EnvironmentClass >::Binding::operator= ( const WRAPPABLE & rhs)

References Binding().

Here is the call graph for this function:

◆ set()

template<typename EnvironmentClass>
void Rcpp::BindingPolicy< EnvironmentClass >::Binding::set ( SEXP x)
inlineprivate

Definition at line 64 of file Binding.h.

References env, and name.

Referenced by operator=(), and operator=().

◆ unlock()

template<typename EnvironmentClass>
void Rcpp::BindingPolicy< EnvironmentClass >::Binding::unlock ( )
inline

Definition at line 44 of file Binding.h.

References env, and name.

Member Data Documentation

◆ env

template<typename EnvironmentClass>
EnvironmentClass& Rcpp::BindingPolicy< EnvironmentClass >::Binding::env
private

Definition at line 68 of file Binding.h.

Referenced by active(), Binding(), exists(), get(), lock(), locked(), set(), and unlock().

◆ name

template<typename EnvironmentClass>
std::string Rcpp::BindingPolicy< EnvironmentClass >::Binding::name
private

Definition at line 69 of file Binding.h.

Referenced by active(), Binding(), exists(), get(), lock(), locked(), set(), and unlock().


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