Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::attributes::Param Class Reference

Public Member Functions

 Param ()
 Param (const std::string &paramText)
bool empty () const
bool operator== (const Param &other) const
bool operator!= (const Param &other) const
const std::string & name () const
const std::string & value () const

Private Attributes

std::string name_
std::string value_

Detailed Description

Definition at line 289 of file attributes.cpp.

Constructor & Destructor Documentation

◆ Param() [1/2]

Rcpp::attributes::Param::Param ( )
inline

Definition at line 291 of file attributes.cpp.

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

◆ Param() [2/2]

Rcpp::attributes::Param::Param ( const std::string & paramText)
explicit

Definition at line 1053 of file attributes.cpp.

References name_, Rcpp::attributes::stripQuotes(), Rcpp::attributes::trimWhitespace(), and value_.

Here is the call graph for this function:

Member Function Documentation

◆ empty()

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

◆ name()

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

Definition at line 305 of file attributes.cpp.

References name_.

Referenced by empty(), and Rcpp::attributes::operator<<().

◆ operator!=()

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

Definition at line 300 of file attributes.cpp.

References Param().

Here is the call graph for this function:

◆ operator==()

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

Definition at line 295 of file attributes.cpp.

References name_, Param(), and value_.

Here is the call graph for this function:

◆ value()

Member Data Documentation

◆ name_

std::string Rcpp::attributes::Param::name_
private

Definition at line 309 of file attributes.cpp.

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

◆ value_

std::string Rcpp::attributes::Param::value_
private

Definition at line 310 of file attributes.cpp.

Referenced by operator==(), Param(), and value().


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