#include <RcppFrame.h>
Public Member Functions | |
RcppFrame (SEXP df) | |
RcppFrame (std::vector< std::string > colNames) | |
std::vector< std::string > & | getColNames () |
std::vector< std::vector < ColDatum > > & | getTableData () |
void | addRow (std::vector< ColDatum > rowData) |
int | rows () |
int | cols () |
Private Attributes | |
std::vector< std::string > | colNames |
std::vector< std::vector < ColDatum > > | table |
Definition at line 37 of file RcppFrame.h.
RcppFrame::RcppFrame | ( | SEXP | df | ) |
Definition at line 167 of file RcppFrame.cpp.
RcppFrame::RcppFrame | ( | std::vector< std::string > | colNames | ) |
Definition at line 162 of file RcppFrame.cpp.
void RcppFrame::addRow | ( | std::vector< ColDatum > | rowData | ) |
Definition at line 248 of file RcppFrame.cpp.
References colNames, and table.
Referenced by Rcpp_Example().
int RcppFrame::cols | ( | ) |
Definition at line 271 of file RcppFrame.cpp.
References table.
std::vector< std::string > & RcppFrame::getColNames | ( | ) |
Definition at line 240 of file RcppFrame.cpp.
References colNames.
Referenced by RcppResultSet::add().
std::vector< std::vector< ColDatum > > & RcppFrame::getTableData | ( | ) |
int RcppFrame::rows | ( | ) |
Definition at line 267 of file RcppFrame.cpp.
References table.
std::vector<std::string> RcppFrame::colNames [private] |
Definition at line 38 of file RcppFrame.h.
Referenced by addRow(), getColNames(), and RcppFrame().
std::vector<std::vector<ColDatum> > RcppFrame::table [private] |
Definition at line 39 of file RcppFrame.h.
Referenced by addRow(), cols(), getTableData(), RcppFrame(), and rows().