RcppSexp Class Reference

#include <RcppSexp.h>

List of all members.

Public Member Functions

 RcppSexp (SEXP sexp, int numprot=0)
 RcppSexp ()
 RcppSexp (const double &v)
 RcppSexp (const int &v)
 RcppSexp (const std::string &v)
 RcppSexp (const std::vector< int > &v)
 RcppSexp (const std::vector< double > &v)
 RcppSexp (const std::vector< std::string > &v)
 ~RcppSexp ()
double asDouble () const
int asInt () const
std::string asStdString () const
std::vector< int > asStdVectorInt () const
std::vector< double > asStdVectorDouble () const
std::vector< std::string > asStdVectorString () const
SEXP asSexp () const

Private Attributes

SEXP m_sexp

Detailed Description

Definition at line 27 of file RcppSexp.h.


Constructor & Destructor Documentation

RcppSexp::RcppSexp ( SEXP  sexp,
int  numprot = 0 
) [inline]

Definition at line 29 of file RcppSexp.h.

RcppSexp::RcppSexp (  )  [inline]

Definition at line 30 of file RcppSexp.h.

RcppSexp::RcppSexp ( const double &  v  ) 

Definition at line 24 of file RcppSexp.cpp.

References logTxt, and m_sexp.

RcppSexp::RcppSexp ( const int &  v  ) 

Definition at line 31 of file RcppSexp.cpp.

References logTxt, and m_sexp.

RcppSexp::RcppSexp ( const std::string &  v  ) 

Definition at line 38 of file RcppSexp.cpp.

References logTxt, and m_sexp.

RcppSexp::RcppSexp ( const std::vector< int > &  v  ) 

Definition at line 45 of file RcppSexp.cpp.

References logTxt, and m_sexp.

RcppSexp::RcppSexp ( const std::vector< double > &  v  ) 

Definition at line 55 of file RcppSexp.cpp.

References logTxt, and m_sexp.

RcppSexp::RcppSexp ( const std::vector< std::string > &  v  ) 

Definition at line 65 of file RcppSexp.cpp.

References logTxt, and m_sexp.

RcppSexp::~RcppSexp (  ) 

Definition at line 75 of file RcppSexp.cpp.

References logTxt, and m_sexp.


Member Function Documentation

double RcppSexp::asDouble (  )  const

Definition at line 80 of file RcppSexp.cpp.

References m_sexp.

int RcppSexp::asInt (  )  const

Definition at line 97 of file RcppSexp.cpp.

References m_sexp.

SEXP RcppSexp::asSexp (  )  const

Definition at line 124 of file RcppSexp.cpp.

References m_sexp.

std::string RcppSexp::asStdString (  )  const

Definition at line 114 of file RcppSexp.cpp.

References m_sexp.

std::vector< double > RcppSexp::asStdVectorDouble (  )  const

Definition at line 144 of file RcppSexp.cpp.

References m_sexp.

std::vector< int > RcppSexp::asStdVectorInt (  )  const

Definition at line 128 of file RcppSexp.cpp.

References m_sexp.

std::vector< std::string > RcppSexp::asStdVectorString (  )  const

Definition at line 160 of file RcppSexp.cpp.

References m_sexp.


Member Data Documentation

SEXP RcppSexp::m_sexp [private]

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

Generated on Sat Dec 19 14:01:43 2009 for Rcpp by  doxygen 1.6.1