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

Method CppProperty

inst/include/Rcpp/Module.h:440–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438 typedef Rcpp::XPtr<Class> XP ;
439
440 CppProperty(const char* doc = 0) : docstring( doc == 0 ? "" : doc ) {} ;
441 virtual ~CppProperty(){} ;
442 virtual SEXP get(Class* ) { throw std::range_error("cannot retrieve property"); }
443 virtual void set(Class*, SEXP) { throw std::range_error("cannot set property"); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected