Rcpp Version 1.0.0
Rcpp::attributes::Type Class Reference

Public Member Functions

 Type ()
 
 Type (const std::string &name, bool isConst, bool isReference)
 
bool empty () const
 
bool operator== (const Type &other) const
 
bool operator!= (const Type &other) const
 
const std::string & name () const
 
std::string full_name () const
 
bool isVoid () const
 
bool isConst () const
 
bool isReference () const
 

Private Attributes

std::string name_
 
bool isConst_
 
bool isReference_
 

Detailed Description

Definition at line 168 of file attributes.cpp.

Constructor & Destructor Documentation

◆ Type() [1/2]

Rcpp::attributes::Type::Type ( )
inline

Definition at line 170 of file attributes.cpp.

◆ Type() [2/2]

Rcpp::attributes::Type::Type ( const std::string &  name,
bool  isConst,
bool  isReference 
)
inline

Definition at line 171 of file attributes.cpp.

Member Function Documentation

◆ empty()

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

◆ full_name()

std::string Rcpp::attributes::Type::full_name ( ) const
inline

Definition at line 188 of file attributes.cpp.

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

◆ isConst()

bool Rcpp::attributes::Type::isConst ( ) const
inline

Definition at line 197 of file attributes.cpp.

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

◆ isReference()

bool Rcpp::attributes::Type::isReference ( ) const
inline

Definition at line 198 of file attributes.cpp.

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

◆ isVoid()

bool Rcpp::attributes::Type::isVoid ( ) const
inline

Definition at line 196 of file attributes.cpp.

◆ name()

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

◆ operator!=()

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

Definition at line 183 of file attributes.cpp.

◆ operator==()

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

Definition at line 177 of file attributes.cpp.

References isConst_, isReference_, and name_.

Member Data Documentation

◆ isConst_

bool Rcpp::attributes::Type::isConst_
private

Definition at line 202 of file attributes.cpp.

Referenced by operator==().

◆ isReference_

bool Rcpp::attributes::Type::isReference_
private

Definition at line 203 of file attributes.cpp.

Referenced by operator==().

◆ name_

std::string Rcpp::attributes::Type::name_
private

Definition at line 201 of file attributes.cpp.

Referenced by operator==().


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