Rcpp Version 0.12.12
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 206 of file attributes.cpp.

Constructor & Destructor Documentation

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

Definition at line 208 of file attributes.cpp.

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

Definition at line 209 of file attributes.cpp.

Member Function Documentation

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

Definition at line 216 of file attributes.cpp.

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

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

Definition at line 224 of file attributes.cpp.

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

Definition at line 218 of file attributes.cpp.

References defaultValue_, name_, and type_.

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

Member Data Documentation

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

Definition at line 236 of file attributes.cpp.

Referenced by operator==().

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

Definition at line 234 of file attributes.cpp.

Referenced by operator==().

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

Definition at line 235 of file attributes.cpp.

Referenced by operator==().


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