#include <IOBufferChannel.h>
Inheritance diagram for Impala::Util::IOBufferChannel:
Public Member Functions | |
IOBufferChannel (CString fileName, bool readMode, Channel *channel=0) | |
virtual | ~IOBufferChannel () |
virtual bool | Valid () |
virtual Int64 | Read (void *buf, Int64 bytesToRead) |
returns number of bytes read | |
virtual String | ReadLine () |
only for ascii (not binary) entities | |
virtual Int64 | Gets (char *buf, Int64 bytesToRead) |
virtual void | NativeTypeRead (Int8 *ptr) |
virtual void | NativeTypeRead (UInt8 *ptr) |
virtual void | NativeTypeRead (Int16 *ptr) |
virtual void | NativeTypeRead (UInt16 *ptr) |
virtual void | NativeTypeRead (Int32 *ptr) |
virtual void | NativeTypeRead (UInt32 *ptr) |
virtual void | NativeTypeRead (Real32 *ptr) |
virtual void | NativeTypeRead (Real64 *ptr) |
virtual void | Write (const void *buf, Int64 bytesToWrite) |
virtual Int64 | Puts (const char *buf) |
virtual void | NativeTypeWrite (Int8 val) |
virtual void | NativeTypeWrite (UInt8 val) |
virtual void | NativeTypeWrite (Int16 val) |
virtual void | NativeTypeWrite (UInt16 val) |
virtual void | NativeTypeWrite (Int32 val) |
virtual void | NativeTypeWrite (UInt32 val) |
virtual void | NativeTypeWrite (Real32 val) |
virtual void | NativeTypeWrite (Real64 val) |
virtual void | SetPosition (PositionType position) |
Private Member Functions | |
template<class NativeType> | |
void | DoNativeTypeRead (NativeType *ptr) |
template<class NativeType> | |
void | DoNativeTypeWrite (NativeType val) |
Private Attributes | |
bool | mReadMode |
int | mId |
Channel * | mMyChannel |
ILOG_VAR_DEC |
NOTE that this is a different approach than the use of mDataChannel in IOBuffer since there communication is on open and close only!
Definition at line 20 of file IOBufferChannel.h.