Rcpp Version 0.12.14
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 284 of file attributes.cpp.

Constructor & Destructor Documentation

◆ Param() [1/2]

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

Definition at line 286 of file attributes.cpp.

◆ Param() [2/2]

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

Definition at line 1015 of file attributes.cpp.

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

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 300 of file attributes.cpp.

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

◆ operator!=()

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

Definition at line 295 of file attributes.cpp.

◆ operator==()

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

Definition at line 290 of file attributes.cpp.

References name_, and value_.

◆ value()

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

Member Data Documentation

◆ name_

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

Definition at line 304 of file attributes.cpp.

Referenced by operator==().

◆ value_

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

Definition at line 305 of file attributes.cpp.

Referenced by operator==().


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