Rcpp Version 0.9.10
Rcpp::Symbol Class Reference

#include <Symbol.h>

Inheritance diagram for Rcpp::Symbol:
Collaboration diagram for Rcpp::Symbol:

List of all members.

Public Member Functions

 Symbol (SEXP x)
 Symbol (const std::string &symbol)
 Symbol (const Symbol &other)
Symboloperator= (const Symbol &other)
 ~Symbol ()
const char * c_str ()

Detailed Description

Definition at line 30 of file Symbol.h.


Constructor & Destructor Documentation

Rcpp::Symbol::Symbol ( SEXP  x)

wraps the SEXP into a Symbol object.

Parameters:
m_sexpAccepted SEXP types are SYMSXP, CHARSXP and STRSXP in the last case, the first element of the character vector is silently used

Definition at line 26 of file Symbol.cpp.

References R_NilValue, and Rcpp::RObject::setSEXP().

Here is the call graph for this function:

Rcpp::Symbol::Symbol ( const std::string &  symbol)

Definition at line 50 of file Symbol.cpp.

References Rcpp::RObject::setSEXP().

Here is the call graph for this function:

Rcpp::Symbol::Symbol ( const Symbol other)

Definition at line 55 of file Symbol.cpp.

References Rcpp::RObject::asSexp(), and Rcpp::RObject::setSEXP().

Here is the call graph for this function:

Rcpp::Symbol::~Symbol ( )

Nothing specific

Definition at line 64 of file Symbol.cpp.


Member Function Documentation

const char* Rcpp::Symbol::c_str ( ) [inline]

Definition at line 55 of file Symbol.h.

References Rcpp::RObject::m_sexp.

Symbol & Rcpp::Symbol::operator= ( const Symbol other)

Definition at line 59 of file Symbol.cpp.

References Rcpp::RObject::asSexp(), and Rcpp::RObject::setSEXP().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines