Rcpp Version 0.12.14
Rcpp::Rstreambuf< OUTPUT > Class Template Reference

#include <Rstreambuf.h>

Inheritance diagram for Rcpp::Rstreambuf< OUTPUT >:
Collaboration diagram for Rcpp::Rstreambuf< OUTPUT >:

Public Member Functions

 Rstreambuf ()
 

Protected Member Functions

virtual std::streamsize xsputn (const char *s, std::streamsize n)
 
virtual int overflow (int c=traits_type::eof())
 
virtual int sync ()
 
template<>
std::streamsize xsputn (const char *s, std::streamsize num)
 
template<>
std::streamsize xsputn (const char *s, std::streamsize num)
 
template<>
int overflow (int c)
 
template<>
int overflow (int c)
 
template<>
int sync ()
 
template<>
int sync ()
 

Detailed Description

template<bool OUTPUT>
class Rcpp::Rstreambuf< OUTPUT >

Definition at line 31 of file Rstreambuf.h.

Constructor & Destructor Documentation

◆ Rstreambuf()

template<bool OUTPUT>
Rcpp::Rstreambuf< OUTPUT >::Rstreambuf ( )
inline

Definition at line 33 of file Rstreambuf.h.

References Rcpp::Rstreambuf< OUTPUT >::overflow(), Rcpp::Rstreambuf< OUTPUT >::sync(), and Rcpp::Rstreambuf< OUTPUT >::xsputn().

Here is the call graph for this function:

Member Function Documentation

◆ overflow() [1/3]

template<bool OUTPUT>
virtual int Rcpp::Rstreambuf< OUTPUT >::overflow ( int  c = traits_type::eof())
protectedvirtual

◆ overflow() [2/3]

template<>
int Rcpp::Rstreambuf< true >::overflow ( int  c)
inlineprotected

Definition at line 60 of file Rstreambuf.h.

References Rcpp::Rstreambuf< OUTPUT >::xsputn().

Here is the call graph for this function:

◆ overflow() [3/3]

template<>
int Rcpp::Rstreambuf< false >::overflow ( int  c)
inlineprotected

Definition at line 67 of file Rstreambuf.h.

References Rcpp::Rstreambuf< OUTPUT >::xsputn().

Here is the call graph for this function:

◆ sync() [1/3]

template<bool OUTPUT>
virtual int Rcpp::Rstreambuf< OUTPUT >::sync ( )
protectedvirtual

◆ sync() [2/3]

template<>
int Rcpp::Rstreambuf< true >::sync ( )
inlineprotected

Definition at line 75 of file Rstreambuf.h.

◆ sync() [3/3]

template<>
int Rcpp::Rstreambuf< false >::sync ( )
inlineprotected

Definition at line 79 of file Rstreambuf.h.

◆ xsputn() [1/3]

template<bool OUTPUT>
virtual std::streamsize Rcpp::Rstreambuf< OUTPUT >::xsputn ( const char *  s,
std::streamsize  n 
)
protectedvirtual

◆ xsputn() [2/3]

template<>
std::streamsize Rcpp::Rstreambuf< true >::xsputn ( const char *  s,
std::streamsize  num 
)
inlineprotected

Definition at line 51 of file Rstreambuf.h.

◆ xsputn() [3/3]

template<>
std::streamsize Rcpp::Rstreambuf< false >::xsputn ( const char *  s,
std::streamsize  num 
)
inlineprotected

Definition at line 55 of file Rstreambuf.h.


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