CLRX  1
An unofficial OpenCL extensions designed for Radeon GPUs
Public Member Functions | Protected Member Functions | List of all members
CLRX::StringStreamBuf Class Reference

string stream buffer that holds external string for memory saving More...

#include <InputOutput.h>

Inheritance diagram for CLRX::StringStreamBuf:
CLRX::MemoryStreamBuf

Public Member Functions

 StringStreamBuf (std::string &string, std::ios_base::openmode openMode)
 constructor
 
 ~StringStreamBuf ()=default
 destructor
 
std::string & getString () const
 get a held string
 
std::string & getString ()
 get a held string
 
- Public Member Functions inherited from CLRX::MemoryStreamBuf
 ~MemoryStreamBuf ()=default
 destructor
 

Protected Member Functions

int_type overflow (int_type ch)
 overflow implementation
 
std::streambuf * setbuf (char_type *buffer, std::streamsize size)
 setbuf implementation
 
- Protected Member Functions inherited from CLRX::MemoryStreamBuf
 MemoryStreamBuf (std::ios_base::openmode openMode)
 constructor
 
pos_type seekoff (off_type off, std::ios_base::seekdir dir, std::ios_base::openmode which)
 seekoff implementation
 
pos_type seekpos (pos_type pos, std::ios_base::openmode which)
 seekpos implementation
 
std::streamsize showmanyc ()
 showmanyc implementation
 
int_type pbackfail (int_type ch)
 pbackfail implementation
 
void safePBump (ssize_t offset)
 safe pbump version
 

Additional Inherited Members

- Protected Attributes inherited from CLRX::MemoryStreamBuf
std::ios_base::openmode openMode
 open mode
 

Detailed Description

string stream buffer that holds external string for memory saving


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