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 29 of file RcppList.h.


Constructor & Destructor Documentation

RcppList::RcppList ( void   ) 

Definition at line 24 of file RcppList.cpp.

RcppList::~RcppList ( void   ) 

Definition at line 30 of file RcppList.cpp.

References numProtected.


Member Function Documentation

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

Definition at line 70 of file RcppList.cpp.

References currListPosn, listArg, listSize, and names.

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

Definition at line 60 of file RcppList.cpp.

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

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

Definition at line 50 of file RcppList.cpp.

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

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

Definition at line 40 of file RcppList.cpp.

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

void RcppList::clearProtectionStack (  ) 

Definition at line 77 of file RcppList.cpp.

References numProtected.

SEXP RcppList::getList ( void   )  const

Definition at line 82 of file RcppList.cpp.

References listArg, listSize, and names.

Referenced by RcppResultSet::add().

void RcppList::setSize ( int  size  ) 

Definition at line 34 of file RcppList.cpp.

References listArg, listSize, and numProtected.


Friends And Related Function Documentation

friend class RcppResultSet [friend]

Definition at line 44 of file RcppList.h.


Member Data Documentation

int RcppList::currListPosn [private]

Definition at line 48 of file RcppList.h.

Referenced by append().

SEXP RcppList::listArg [private]

Definition at line 47 of file RcppList.h.

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

int RcppList::listSize [private]

Definition at line 48 of file RcppList.h.

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

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

Definition at line 49 of file RcppList.h.

Referenced by append(), and getList().

int RcppList::numProtected [private]

Definition at line 48 of file RcppList.h.

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


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

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