Rcpp Version 1.0.0
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 241 of file attributes.cpp.

Constructor & Destructor Documentation

◆ Function() [1/2]

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

Definition at line 243 of file attributes.cpp.

◆ Function() [2/2]

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

Definition at line 244 of file attributes.cpp.

Member Function Documentation

◆ arguments()

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

Definition at line 276 of file attributes.cpp.

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

◆ empty()

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

Definition at line 262 of file attributes.cpp.

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

◆ isHidden()

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

◆ name()

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

◆ operator!=()

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

Definition at line 270 of file attributes.cpp.

◆ operator==()

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

Definition at line 264 of file attributes.cpp.

References arguments_, name_, and type_.

◆ renamedTo()

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

◆ signature() [1/2]

std::string Rcpp::attributes::Function::signature ( ) const
inline

Definition at line 255 of file attributes.cpp.

References signature().

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

Here is the call graph for this function:

◆ signature() [2/2]

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

Definition at line 1000 of file attributes.cpp.

◆ type()

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

Definition at line 274 of file attributes.cpp.

Member Data Documentation

◆ arguments_

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

Definition at line 281 of file attributes.cpp.

Referenced by operator==().

◆ name_

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

Definition at line 280 of file attributes.cpp.

Referenced by operator==().

◆ type_

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

Definition at line 279 of file attributes.cpp.

Referenced by operator==().


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