|
Rcpp Version 1.1.2
|
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.
Referenced by operator!=(), and operator==().
|
inline |
Definition at line 317 of file attributes.cpp.
References function(), function_, name(), name_, params(), params_, roxygen(), and roxygen_.

|
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(), 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(), function(), hasParameter(), Rcpp::attributes::kExportName, Rcpp::attributes::Function::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 Attribute(), Rcpp::attributes::RExportsGenerator::doWriteFunctions(), exportedName(), Rcpp::attributes::generateCpp(), isExportedFunction(), 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 Rcpp::attributes::Function::empty(), function(), 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 Attribute(), empty(), exportedCppName(), hasParameter(), isExportedFunction(), Rcpp::attributes::operator<<(), and paramNamed().
|
inline |
Definition at line 334 of file attributes.cpp.
References Attribute().

|
inline |
Definition at line 327 of file attributes.cpp.
References Attribute(), function_, name_, params_, and roxygen_.

| Param Rcpp::attributes::Attribute::paramNamed | ( | const std::string & | name | ) | const |
Definition at line 1074 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 Attribute(), 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 Attribute(), and Rcpp::attributes::RExportsGenerator::doWriteFunctions().
|
private |
Definition at line 416 of file attributes.cpp.
Referenced by Attribute(), function(), and operator==().
|
private |
Definition at line 414 of file attributes.cpp.
Referenced by Attribute(), name(), and operator==().
|
private |
Definition at line 415 of file attributes.cpp.
Referenced by Attribute(), operator==(), paramNamed(), and params().
|
private |
Definition at line 417 of file attributes.cpp.
Referenced by Attribute(), operator==(), and roxygen().