RcppList Class Reference

#include <RcppList.h>

List of all members.

Public Member Functions

 RcppList (void)
 ~RcppList ()
void setSize (int size)
void append (std::string name, double value)
void append (std::string name, int value)
void append (std::string name, std::string value)
void append (std::string name, SEXP sexp)
void clearProtectionStack ()
SEXP getList (void) const

Private Attributes

SEXP listArg
int listSize
int currListPosn
int numProtected
std::vector< std::string > names

Friends

class RcppResultSet

Detailed Description

Definition at line 40 of file RcppList.h.


Constructor & Destructor Documentation

RcppList::RcppList ( void   )  [inline]

Definition at line 42 of file RcppList.h.

RcppList::~RcppList (  )  [inline]

Definition at line 44 of file RcppList.h.

References numProtected.


Member Function Documentation

void RcppList::append ( std::string  name,
SEXP  sexp 
)

Definition at line 59 of file RcppList.cpp.

References currListPosn, listArg, listSize, and names.

void RcppList::append ( std::string  name,
std::string  value 
)

Definition at line 49 of file RcppList.cpp.

References currListPosn, listArg, listSize, names, and numProtected.

void RcppList::append ( std::string  name,
int  value 
)

Definition at line 39 of file RcppList.cpp.

References currListPosn, listArg, listSize, names, and numProtected.

void RcppList::append ( std::string  name,
double  value 
)

Definition at line 29 of file RcppList.cpp.

References currListPosn, listArg, listSize, names, and numProtected.

void RcppList::clearProtectionStack (  ) 

Definition at line 66 of file RcppList.cpp.

References numProtected.

SEXP RcppList::getList ( void   )  const

Definition at line 71 of file RcppList.cpp.

References listArg, listSize, and names.

Referenced by RcppResultSet::add().

void RcppList::setSize ( int  size  ) 

Definition at line 23 of file RcppList.cpp.

References listArg, listSize, and numProtected.


Friends And Related Function Documentation

friend class RcppResultSet [friend]

Definition at line 58 of file RcppList.h.


Member Data Documentation

int RcppList::currListPosn [private]

Definition at line 62 of file RcppList.h.

Referenced by append().

SEXP RcppList::listArg [private]

Definition at line 61 of file RcppList.h.

Referenced by append(), getList(), and setSize().

int RcppList::listSize [private]

Definition at line 62 of file RcppList.h.

Referenced by append(), getList(), and setSize().

std::vector<std::string> RcppList::names [private]

Definition at line 63 of file RcppList.h.

Referenced by append(), and getList().

int RcppList::numProtected [private]

Definition at line 62 of file RcppList.h.

Referenced by append(), clearProtectionStack(), setSize(), and ~RcppList().


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

Generated on Fri Nov 6 13:03:18 2009 for Rcpp by  doxygen 1.6.1