Rcpp Version 1.0.9
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 172 of file attributes.cpp.

Constructor & Destructor Documentation

◆ Type() [1/2]

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

Definition at line 174 of file attributes.cpp.

◆ Type() [2/2]

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

Definition at line 175 of file attributes.cpp.

Member Function Documentation

◆ empty()

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

Definition at line 179 of file attributes.cpp.

References name().

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

Here is the call graph for this function:

◆ full_name()

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

Definition at line 192 of file attributes.cpp.

References isConst(), isReference(), and name().

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

Here is the call graph for this function:

◆ isConst()

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

Definition at line 201 of file attributes.cpp.

References isConst_.

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

◆ isReference()

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

Definition at line 202 of file attributes.cpp.

References isReference_.

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

◆ isVoid()

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

Definition at line 200 of file attributes.cpp.

References name().

Here is the call graph for this function:

◆ name()

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

◆ operator!=()

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

Definition at line 187 of file attributes.cpp.

◆ operator==()

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

Definition at line 181 of file attributes.cpp.

References isConst_, isReference_, and name_.

Member Data Documentation

◆ isConst_

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

Definition at line 206 of file attributes.cpp.

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

◆ isReference_

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

Definition at line 207 of file attributes.cpp.

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

◆ name_

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

Definition at line 205 of file attributes.cpp.

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


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