Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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.

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

◆ 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.

References defaultValue(), defaultValue_, name(), name_, type(), and type_.

Here is the call graph for this function:

Member Function Documentation

◆ defaultValue()

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

◆ 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.

References Argument().

Here is the call graph for this function:

◆ operator==()

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

Definition at line 223 of file attributes.cpp.

References Argument(), defaultValue_, name_, and type_.

Here is the call graph for this function:

◆ 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 Argument(), defaultValue(), and operator==().

◆ name_

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

Definition at line 239 of file attributes.cpp.

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

◆ type_

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

Definition at line 240 of file attributes.cpp.

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


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