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

Constructor & Destructor Documentation

◆ Param() [1/2]

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

Definition at line 292 of file attributes.cpp.

References name_.

◆ Param() [2/2]

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

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

Referenced by Rcpp::attributes::operator<<().

◆ operator!=()

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

Definition at line 301 of file attributes.cpp.

References name_.

◆ operator==()

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

Definition at line 296 of file attributes.cpp.

◆ value()

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

Member Data Documentation

◆ name_

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

Definition at line 310 of file attributes.cpp.

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

◆ value_

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

Definition at line 311 of file attributes.cpp.

Referenced by Param().


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