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

Method property_is_readonly

inst/include/Rcpp/module/class.h:306–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304 return properties.find(m) != properties.end() ;
305 }
306 bool property_is_readonly( const std::string& p) {
307 typename PROPERTY_MAP::iterator it = properties.find( p ) ;
308 if( it == properties.end() ) throw std::range_error( "no such property" ) ;
309 return it->second->is_readonly() ;
310 }
311 std::string property_class(const std::string& p) {
312 typename PROPERTY_MAP::iterator it = properties.find( p ) ;
313 if( it == properties.end() ) throw std::range_error( "no such property" ) ;

Callers 1

RCPP_FUN_2Function · 0.45

Calls 2

endMethod · 0.45
is_readonlyMethod · 0.45

Tested by

no test coverage detected