MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / SlotProxy

Method SlotProxy

inst/include/Rcpp/proxy/SlotProxy.h:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 class SlotProxy : public GenericProxy<SlotProxy>{
28 public:
29 SlotProxy( CLASS& v, const std::string& name) : parent(v), slot_name(Rf_install(name.c_str())) {
30 if( !R_has_slot( v, slot_name) ){
31 throw no_such_slot(name); // #nocov
32 }
33 }
34
35 SlotProxy& operator=(const SlotProxy& rhs){
36 set( rhs.get() ) ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected