Rcpp Version 1.0.7
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 212 of file attributes.cpp.

Constructor & Destructor Documentation

◆ Argument() [1/2]

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

Definition at line 214 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 215 of file attributes.cpp.

Member Function Documentation

◆ defaultValue()

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

◆ empty()

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

Definition at line 222 of file attributes.cpp.

◆ name()

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

◆ operator!=()

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

Definition at line 230 of file attributes.cpp.

References name_.

◆ operator==()

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

Definition at line 224 of file attributes.cpp.

◆ type()

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

Member Data Documentation

◆ defaultValue_

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

Definition at line 242 of file attributes.cpp.

◆ name_

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

Definition at line 240 of file attributes.cpp.

Referenced by operator!=().

◆ type_

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

Definition at line 241 of file attributes.cpp.


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