RInside Version 0.2.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MemBuf Class Reference

#include <MemBuf.h>

Public Member Functions

 MemBuf (int sizebytes=1024)
 
 ~MemBuf ()
 
void resize ()
 
void rewind ()
 
void add (const std::string &)
 
const char * getBufPtr ()
 

Private Attributes

std::string buffer
 

Detailed Description

Definition at line 23 of file MemBuf.h.

Constructor & Destructor Documentation

MemBuf::MemBuf ( int  sizebytes = 1024)

Definition at line 34 of file MemBuf.cpp.

References buffer.

MemBuf::~MemBuf ( )

Definition at line 32 of file MemBuf.cpp.

Member Function Documentation

void MemBuf::add ( const std::string &  buf)

Definition at line 46 of file MemBuf.cpp.

References buffer, and resize().

Referenced by RInside::parseEval().

Here is the call graph for this function:

const char* MemBuf::getBufPtr ( )
inline

Definition at line 33 of file MemBuf.h.

Referenced by RInside::parseEval().

void MemBuf::resize ( )

Definition at line 38 of file MemBuf.cpp.

References buffer.

Referenced by add().

void MemBuf::rewind ( )

Definition at line 42 of file MemBuf.cpp.

References buffer.

Referenced by RInside::parseEval().

Member Data Documentation

std::string MemBuf::buffer
private

Definition at line 25 of file MemBuf.h.

Referenced by add(), MemBuf(), resize(), and rewind().


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