Rcpp Version 1.0.9
Rcpp::attributes::Argument Class Reference
Collaboration diagram for Rcpp::attributes::Argument:

Public Member Functions

 Argument ()
 
 Argument (const std::string &name, const Type &type, const std::string &defaultValue)
 
bool empty () const
 
bool operator== (const Argument &other) const
 
bool operator!= (const Argument &other) const
 
const std::string & name () const
 
const Typetype () const
 
const std::string & defaultValue () const
 

Private Attributes

std::string name_
 
Type type_
 
std::string defaultValue_
 

Detailed Description

Definition at line 211 of file attributes.cpp.

Constructor & Destructor Documentation

◆ Argument() [1/2]

Rcpp::attributes::Argument::Argument ( )
inline

Definition at line 213 of file attributes.cpp.

◆ Argument() [2/2]

Rcpp::attributes::Argument::Argument ( const std::string &  name,
const Type type,
const std::string &  defaultValue 
)
inline

Definition at line 214 of file attributes.cpp.

Member Function Documentation

◆ defaultValue()

const std::string& Rcpp::attributes::Argument::defaultValue ( ) const
inline

Definition at line 236 of file attributes.cpp.

References defaultValue_.

Referenced by Rcpp::attributes::generateRArgList(), and Rcpp::attributes::printArgument().

◆ empty()

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

Definition at line 221 of file attributes.cpp.

References Rcpp::attributes::Type::empty(), and type().

Referenced by Rcpp::attributes::printArgument().

Here is the call graph for this function:

◆ name()

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

◆ operator!=()

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

Definition at line 229 of file attributes.cpp.

◆ operator==()

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

Definition at line 223 of file attributes.cpp.

References defaultValue_, name_, and type_.

◆ type()

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

Member Data Documentation

◆ defaultValue_

std::string Rcpp::attributes::Argument::defaultValue_
private

Definition at line 241 of file attributes.cpp.

Referenced by defaultValue(), and operator==().

◆ name_

std::string Rcpp::attributes::Argument::name_
private

Definition at line 239 of file attributes.cpp.

Referenced by name(), and operator==().

◆ type_

Type Rcpp::attributes::Argument::type_
private

Definition at line 240 of file attributes.cpp.

Referenced by operator==(), and type().


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