RcppResultSet Class Reference

#include <Rcpp.h>

List of all members.

Public Member Functions

 RcppResultSet ()
void add (std::string, double)
void add (std::string, int)
void add (std::string, std::string)
void add (std::string, double *, int)
void add (std::string, int *, int)
void add (std::string, double **, int, int)
void add (std::string, int **, int, int)
void add (std::string, RcppDate &)
void add (std::string, RcppDateVector &)
void add (std::string, RcppDatetime &)
void add (std::string, RcppDatetimeVector &)
void add (std::string, RcppStringVector &)
void add (std::string, std::vector< double > &)
void add (std::string, std::vector< int > &)
void add (std::string, std::vector< std::vector< double > > &)
void add (std::string, std::vector< std::vector< int > > &)
void add (std::string, std::vector< std::string > &)
void add (std::string, RcppVector< int > &)
void add (std::string, RcppVector< double > &)
void add (std::string, RcppMatrix< int > &)
void add (std::string, RcppMatrix< double > &)
void add (std::string, RcppFrame &)
void add (std::string, SEXP, bool isProtected)
SEXP getReturnList ()

Protected Attributes

int numProtected
std::list< std::pair
< std::string, SEXP > > 
values


Detailed Description

Definition at line 558 of file Rcpp.h.


Constructor & Destructor Documentation

RcppResultSet::RcppResultSet (  )  [inline]

Definition at line 560 of file Rcpp.h.

References numProtected.


Member Function Documentation

void RcppResultSet::add ( std::string  name,
SEXP  sexp,
bool  isProtected 
)

Definition at line 778 of file Rcpp.cpp.

References numProtected, and values.

void RcppResultSet::add ( std::string  name,
RcppFrame frame 
)

void RcppResultSet::add ( std::string  name,
RcppMatrix< double > &  mat 
)

Definition at line 684 of file Rcpp.cpp.

References RcppMatrix< T >::cMatrix(), RcppMatrix< T >::getDim1(), RcppMatrix< T >::getDim2(), numProtected, and values.

Here is the call graph for this function:

void RcppResultSet::add ( std::string  name,
RcppMatrix< int > &  mat 
)

Definition at line 672 of file Rcpp.cpp.

References RcppMatrix< T >::cMatrix(), RcppMatrix< T >::getDim1(), RcppMatrix< T >::getDim2(), numProtected, and values.

Here is the call graph for this function:

void RcppResultSet::add ( std::string  name,
RcppVector< double > &  vec 
)

Definition at line 662 of file Rcpp.cpp.

References RcppVector< T >::cVector(), numProtected, RcppVector< T >::size(), and values.

Here is the call graph for this function:

void RcppResultSet::add ( std::string  name,
RcppVector< int > &  vec 
)

Definition at line 652 of file Rcpp.cpp.

References RcppVector< T >::cVector(), numProtected, RcppVector< T >::size(), and values.

Here is the call graph for this function:

void RcppResultSet::add ( std::string  name,
std::vector< std::string > &  vec 
)

Definition at line 589 of file Rcpp.cpp.

References numProtected, and values.

void RcppResultSet::add ( std::string  name,
std::vector< std::vector< int > > &  mat 
)

Definition at line 622 of file Rcpp.cpp.

References numProtected, and values.

void RcppResultSet::add ( std::string  name,
std::vector< std::vector< double > > &  mat 
)

Definition at line 637 of file Rcpp.cpp.

References numProtected, and values.

void RcppResultSet::add ( std::string  name,
std::vector< int > &  vec 
)

Definition at line 600 of file Rcpp.cpp.

References numProtected, and values.

void RcppResultSet::add ( std::string  name,
std::vector< double > &  vec 
)

Definition at line 611 of file Rcpp.cpp.

References numProtected, and values.

void RcppResultSet::add ( std::string  name,
RcppStringVector stringvec 
)

Definition at line 548 of file Rcpp.cpp.

References numProtected, RcppStringVector::size(), and values.

Here is the call graph for this function:

void RcppResultSet::add ( std::string  name,
RcppDatetimeVector dtvec 
)

Definition at line 534 of file Rcpp.cpp.

References numProtected, RcppDatetimeVector::size(), and values.

Here is the call graph for this function:

void RcppResultSet::add ( std::string  name,
RcppDatetime datetime 
)

Definition at line 478 of file Rcpp.cpp.

References RcppDatetime::getFractionalTimestamp(), numProtected, and values.

Here is the call graph for this function:

void RcppResultSet::add ( std::string  name,
RcppDateVector datevec 
)

Definition at line 521 of file Rcpp.cpp.

References RcppDate::Jan1970Offset, numProtected, RcppDateVector::size(), and values.

Here is the call graph for this function:

void RcppResultSet::add ( std::string  name,
RcppDate date 
)

Definition at line 467 of file Rcpp.cpp.

References RcppDate::getJDN(), RcppDate::Jan1970Offset, numProtected, and values.

Here is the call graph for this function:

void RcppResultSet::add ( std::string  name,
int **  mat,
int  nx,
int  ny 
)

Definition at line 578 of file Rcpp.cpp.

References numProtected, and values.

void RcppResultSet::add ( std::string  name,
double **  mat,
int  nx,
int  ny 
)

Definition at line 567 of file Rcpp.cpp.

References numProtected, and values.

void RcppResultSet::add ( std::string  name,
int *  vec,
int  len 
)

Definition at line 557 of file Rcpp.cpp.

References numProtected, and values.

void RcppResultSet::add ( std::string  name,
double *  vec,
int  len 
)

Definition at line 511 of file Rcpp.cpp.

References numProtected, and values.

void RcppResultSet::add ( std::string  name,
std::string  strvalue 
)

Definition at line 504 of file Rcpp.cpp.

References numProtected, and values.

void RcppResultSet::add ( std::string  name,
int  i 
)

Definition at line 497 of file Rcpp.cpp.

References numProtected, and values.

void RcppResultSet::add ( std::string  name,
double  x 
)

Definition at line 490 of file Rcpp.cpp.

References numProtected, and values.

Referenced by Rcpp_Example(), RcppDateExample(), and RcppVectorExample().

SEXP RcppResultSet::getReturnList (  ) 

Definition at line 784 of file Rcpp.cpp.

References numProtected, and values.

Referenced by Rcpp_Example(), RcppDateExample(), and RcppVectorExample().


Member Data Documentation

int RcppResultSet::numProtected [protected]

Definition at line 586 of file Rcpp.h.

Referenced by add(), getReturnList(), and RcppResultSet().

std::list<std::pair<std::string,SEXP> > RcppResultSet::values [protected]

Definition at line 587 of file Rcpp.h.

Referenced by add(), and getReturnList().


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

Generated on Mon Aug 3 14:41:37 2009 for Rcpp by  doxygen 1.5.9