Rcpp Version 0.12.12
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 167 of file attributes.cpp.

Constructor & Destructor Documentation

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

Definition at line 169 of file attributes.cpp.

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

Definition at line 170 of file attributes.cpp.

Member Function Documentation

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

Definition at line 187 of file attributes.cpp.

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

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

Definition at line 196 of file attributes.cpp.

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

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

Definition at line 197 of file attributes.cpp.

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

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

Definition at line 195 of file attributes.cpp.

const std::string& Rcpp::attributes::Type::name ( ) const
inline
bool Rcpp::attributes::Type::operator!= ( const Type other) const
inline

Definition at line 182 of file attributes.cpp.

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

Definition at line 176 of file attributes.cpp.

References isConst_, isReference_, and name_.

Member Data Documentation

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

Definition at line 201 of file attributes.cpp.

Referenced by operator==().

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

Definition at line 202 of file attributes.cpp.

Referenced by operator==().

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

Definition at line 200 of file attributes.cpp.

Referenced by operator==().


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