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

fast input buffer adapter More...

#include <InputOutput.h>

Inheritance diagram for CLRX::FastInputBuffer:
CLRX::NonCopyableAndNonMovable

Public Member Functions

 FastInputBuffer (cxuint _bufSize, std::istream &input)
 constructor More...
 
const std::istream & getIStream () const
 get input stream
 
std::istream & getIStream ()
 get input stream
 
int get ()
 get character or returns eof()
 
size_t read (char *buf, cxuint n)
 read data from buffer and returns number of read bytes
 
- Public Member Functions inherited from CLRX::NonCopyableAndNonMovable
 NonCopyableAndNonMovable ()
 constructor
 
 NonCopyableAndNonMovable (const NonCopyableAndNonMovable &)=delete
 copy-constructor
 
 NonCopyableAndNonMovable (NonCopyableAndNonMovable &&)=delete
 move-constructor
 
NonCopyableAndNonMovableoperator= (const NonCopyableAndNonMovable &)=delete
 copy-assignment
 
NonCopyableAndNonMovableoperator= (NonCopyableAndNonMovable &&)=delete
 move-asignment
 

Detailed Description

fast input buffer adapter

Constructor & Destructor Documentation

CLRX::FastInputBuffer::FastInputBuffer ( cxuint  _bufSize,
std::istream &  input 
)
inline

constructor

Parameters
_bufSizebuffer size
inputinput stream

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