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

#include <foo.h>

Public Member Functions

 Foo (const std::string &name, int32_t a, int32_t b)
 
 ~Foo ()
 
void serialize (BinaryStream &stream) const
 
 Foo (int a, int b)
 
 ~Foo ()
 

Static Public Member Functions

static Foo deserialize (BinaryStream &stream)
 

Public Attributes

std::string name
 
int32_t a
 
int32_t b
 
int a
 
int b
 

Static Public Attributes

static const int32_t TYPEID = 1
 

Detailed Description

Definition at line 17 of file foo.h.

Constructor & Destructor Documentation

Foo::Foo ( const std::string &  name,
int32_t  a,
int32_t  b 
)

Definition at line 4 of file foo.cpp.

Referenced by deserialize().

Foo::~Foo ( )

Definition at line 8 of file foo.cpp.

Foo::Foo ( int  a,
int  b 
)
inline

Definition at line 15 of file rinside_sample16.cpp.

Foo::~Foo ( )
inline

Definition at line 17 of file rinside_sample16.cpp.

Member Function Documentation

Foo Foo::deserialize ( BinaryStream stream)
static

Definition at line 19 of file foo.cpp.

References a, b, Foo(), name, and BinaryStream::read().

Here is the call graph for this function:

void Foo::serialize ( BinaryStream stream) const

Definition at line 12 of file foo.cpp.

References a, b, name, and BinaryStream::write().

Here is the call graph for this function:

Member Data Documentation

int Foo::a

Definition at line 22 of file rinside_sample16.cpp.

int32_t Foo::a

Definition at line 23 of file foo.h.

Referenced by deserialize(), main(), serialize(), swapFoo(), test_setting_getting(), and Rcpp::wrap().

int Foo::b

Definition at line 22 of file rinside_sample16.cpp.

int32_t Foo::b

Definition at line 23 of file foo.h.

Referenced by deserialize(), main(), serialize(), swapFoo(), test_setting_getting(), and Rcpp::wrap().

std::string Foo::name

Definition at line 22 of file foo.h.

Referenced by deserialize(), serialize(), test_setting_getting(), and Rcpp::wrap().

const int32_t Foo::TYPEID = 1
static

Definition at line 26 of file foo.h.


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