RcppFrame Class Reference

#include <Rcpp.h>

List of all members.

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


Detailed Description

Definition at line 286 of file Rcpp.h.


Constructor & Destructor Documentation

RcppFrame::RcppFrame ( SEXP  df  ) 

Definition at line 59 of file Rcpp.cpp.

References colNames, and table.

RcppFrame::RcppFrame ( std::vector< std::string >  colNames  )  [inline]

Definition at line 291 of file Rcpp.h.


Member Function Documentation

void RcppFrame::addRow ( std::vector< ColDatum rowData  )  [inline]

Definition at line 297 of file Rcpp.h.

References colNames, and table.

Referenced by Rcpp_Example().

int RcppFrame::cols (  )  [inline]

Definition at line 316 of file Rcpp.h.

References table.

std::vector<std::string>& RcppFrame::getColNames (  )  [inline]

Definition at line 295 of file Rcpp.h.

References colNames.

Referenced by RcppResultSet::add().

std::vector<std::vector<ColDatum> >& RcppFrame::getTableData (  )  [inline]

Definition at line 296 of file Rcpp.h.

References table.

Referenced by RcppResultSet::add().

int RcppFrame::rows (  )  [inline]

Definition at line 315 of file Rcpp.h.

References table.


Member Data Documentation

std::vector<std::string> RcppFrame::colNames [private]

Definition at line 287 of file Rcpp.h.

Referenced by addRow(), getColNames(), and RcppFrame().

std::vector<std::vector<ColDatum> > RcppFrame::table [private]

Definition at line 288 of file Rcpp.h.

Referenced by addRow(), cols(), getTableData(), RcppFrame(), and rows().


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

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