Rcpp Version 1.0.9
|
Public Member Functions | |
Attribute () | |
Attribute (const std::string &name, const std::vector< Param > ¶ms, const Function &function, const std::vector< std::string > &roxygen) | |
bool | empty () const |
bool | operator== (const Attribute &other) const |
bool | operator!= (const Attribute &other) const |
const std::string & | name () const |
const std::vector< Param > & | params () const |
Param | paramNamed (const std::string &name) const |
bool | hasParameter (const std::string &name) const |
const Function & | function () const |
bool | isExportedFunction () const |
std::string | exportedName () const |
std::string | exportedCppName () const |
bool | rng () const |
bool | invisible () const |
const std::vector< std::string > & | roxygen () const |
std::string | customRSignature () const |
Private Attributes | |
std::string | name_ |
std::vector< Param > | params_ |
Function | function_ |
std::vector< std::string > | roxygen_ |
Definition at line 314 of file attributes.cpp.
|
inline |
Definition at line 316 of file attributes.cpp.
|
inline |
Definition at line 317 of file attributes.cpp.
|
inline |
Definition at line 399 of file attributes.cpp.
References Rcpp::attributes::kExportSignature, paramNamed(), Rcpp::attributes::trimWhitespace(), and Rcpp::attributes::Param::value().
Referenced by Rcpp::attributes::RExportsGenerator::doWriteFunctions().
|
inline |
Definition at line 325 of file attributes.cpp.
References name().
Referenced by exportedName(), isExportedFunction(), and Rcpp::attributes::operator<<().
|
inline |
Definition at line 373 of file attributes.cpp.
References exportedName(), and name().
|
inline |
Definition at line 355 of file attributes.cpp.
References empty(), hasParameter(), Rcpp::attributes::kExportName, name(), paramNamed(), params(), and Rcpp::attributes::Param::value().
Referenced by Rcpp::attributes::RExportsGenerator::doWriteFunctions(), exportedCppName(), and Rcpp::attributes::CppExportsGenerator::writeEnd().
|
inline |
Definition at line 349 of file attributes.cpp.
References function_.
Referenced by Rcpp::attributes::RExportsGenerator::doWriteFunctions(), Rcpp::attributes::generateCpp(), Rcpp::attributes::operator<<(), and Rcpp::attributes::CppExportsGenerator::writeEnd().
|
inline |
Definition at line 345 of file attributes.cpp.
References Rcpp::attributes::Param::empty(), name(), and paramNamed().
Referenced by Rcpp::attributes::RExportsGenerator::doWriteFunctions(), and exportedName().
|
inline |
Definition at line 388 of file attributes.cpp.
References Rcpp::attributes::Param::empty(), Rcpp::attributes::kExportInvisible, Rcpp::attributes::kParamValueTrue, Rcpp::attributes::kParamValueTRUE, paramNamed(), and Rcpp::attributes::Param::value().
Referenced by Rcpp::attributes::RExportsGenerator::doWriteFunctions().
|
inline |
Definition at line 351 of file attributes.cpp.
References empty(), Rcpp::attributes::kExportAttribute, and name().
Referenced by Rcpp::attributes::RExportsGenerator::doWriteFunctions(), and Rcpp::attributes::generateCpp().
|
inline |
Definition at line 339 of file attributes.cpp.
References name_.
Referenced by empty(), exportedCppName(), exportedName(), hasParameter(), isExportedFunction(), Rcpp::attributes::operator<<(), and paramNamed().
|
inline |
Definition at line 334 of file attributes.cpp.
|
inline |
Param Rcpp::attributes::Attribute::paramNamed | ( | const std::string & | name | ) | const |
Definition at line 1082 of file attributes.cpp.
References name(), and params_.
Referenced by customRSignature(), exportedName(), hasParameter(), invisible(), and rng().
|
inline |
Definition at line 341 of file attributes.cpp.
References params_.
Referenced by exportedName(), and Rcpp::attributes::operator<<().
|
inline |
Definition at line 379 of file attributes.cpp.
References Rcpp::attributes::Param::empty(), Rcpp::attributes::kExportRng, Rcpp::attributes::kParamValueTrue, Rcpp::attributes::kParamValueTRUE, paramNamed(), and Rcpp::attributes::Param::value().
Referenced by Rcpp::attributes::generateCpp().
|
inline |
Definition at line 397 of file attributes.cpp.
References roxygen_.
Referenced by Rcpp::attributes::RExportsGenerator::doWriteFunctions().
|
private |
Definition at line 424 of file attributes.cpp.
Referenced by function(), and operator==().
|
private |
Definition at line 422 of file attributes.cpp.
Referenced by name(), and operator==().
|
private |
Definition at line 423 of file attributes.cpp.
Referenced by operator==(), paramNamed(), and params().
|
private |
Definition at line 425 of file attributes.cpp.
Referenced by operator==(), and roxygen().