RcppFrame Class Reference

#include <RcppFrame.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 37 of file RcppFrame.h.


Constructor & Destructor Documentation

RcppFrame::RcppFrame ( SEXP  df  ) 

Definition at line 167 of file RcppFrame.cpp.

References colNames, and table.

RcppFrame::RcppFrame ( std::vector< std::string >  colNames  ) 

Definition at line 162 of file RcppFrame.cpp.


Member Function Documentation

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 (  ) 

Definition at line 244 of file RcppFrame.cpp.

References table.

Referenced by RcppResultSet::add().

int RcppFrame::rows (  ) 

Definition at line 267 of file RcppFrame.cpp.

References table.


Member Data Documentation

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().


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

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