Rcpp Version 0.12.12
Rcpp::attributes::Function Class Reference
Collaboration diagram for Rcpp::attributes::Function:

Public Member Functions

 Function ()
 
 Function (const Type &type, const std::string &name, const std::vector< Argument > &arguments)
 
Function renamedTo (const std::string &name) const
 
std::string signature () const
 
std::string signature (const std::string &name) const
 
bool isHidden () const
 
bool empty () const
 
bool operator== (const Function &other) const
 
bool operator!= (const Function &other) const
 
const Typetype () const
 
const std::string & name () const
 
const std::vector< Argument > & arguments () const
 

Private Attributes

Type type_
 
std::string name_
 
std::vector< Argumentarguments_
 

Detailed Description

Definition at line 240 of file attributes.cpp.

Constructor & Destructor Documentation

Rcpp::attributes::Function::Function ( )
inline

Definition at line 242 of file attributes.cpp.

Rcpp::attributes::Function::Function ( const Type type,
const std::string &  name,
const std::vector< Argument > &  arguments 
)
inline

Definition at line 243 of file attributes.cpp.

Member Function Documentation

const std::vector<Argument>& Rcpp::attributes::Function::arguments ( ) const
inline

Definition at line 275 of file attributes.cpp.

Referenced by Rcpp::attributes::CppExportsGenerator::writeEnd().

bool Rcpp::attributes::Function::empty ( ) const
inline

Definition at line 261 of file attributes.cpp.

Referenced by Rcpp::attributes::operator<<().

bool Rcpp::attributes::Function::isHidden ( ) const
inline
const std::string& Rcpp::attributes::Function::name ( ) const
inline
bool Rcpp::attributes::Function::operator!= ( const Function other) const
inline

Definition at line 269 of file attributes.cpp.

bool Rcpp::attributes::Function::operator== ( const Function other) const
inline

Definition at line 263 of file attributes.cpp.

References arguments_, name_, and type_.

Function Rcpp::attributes::Function::renamedTo ( const std::string &  name) const
inline
std::string Rcpp::attributes::Function::signature ( ) const
inline

Definition at line 254 of file attributes.cpp.

References signature().

Referenced by signature(), and Rcpp::attributes::CppExportsGenerator::writeEnd().

Here is the call graph for this function:

std::string Rcpp::attributes::Function::signature ( const std::string &  name) const

Definition at line 996 of file attributes.cpp.

const Type& Rcpp::attributes::Function::type ( ) const
inline

Definition at line 273 of file attributes.cpp.

Member Data Documentation

std::vector<Argument> Rcpp::attributes::Function::arguments_
private

Definition at line 280 of file attributes.cpp.

Referenced by operator==().

std::string Rcpp::attributes::Function::name_
private

Definition at line 279 of file attributes.cpp.

Referenced by operator==().

Type Rcpp::attributes::Function::type_
private

Definition at line 278 of file attributes.cpp.

Referenced by operator==().


The documentation for this class was generated from the following file: