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

Class const_NamesProxy

inst/include/Rcpp/proxy/NamesProxy.h:67–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 } ;
66
67 class const_NamesProxy : public GenericProxy<const_NamesProxy>{
68 public:
69 const_NamesProxy( const CLASS& v) : parent(v){} ;
70
71 template <typename T> operator T() const;
72
73 private:
74 const CLASS& parent;
75
76 SEXP get() const {
77 return RCPP_GET_NAMES(parent.get__()) ;
78 }
79
80 } ;
81
82 NamesProxy names() {
83 return NamesProxy( static_cast<CLASS&>(*this) ) ;

Callers 1

namesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected