IBStreamer Class Reference

Wrapper class for typed reading/writing from or to IBStream. More...

#include <fstreamer.h>

Inheritance diagram for IBStreamer:
Inheritance graph
[legend]

Public Member Functions

 IBStreamer (IBStream *stream, int16 byteOrder=BYTEORDER)
 Constructor for a given IBSTream and a byteOrder.
IBStream * getStream ()
 Returns the associated IBStream.
TSize readRaw (void *, TSize)
 Read one buffer of size.
TSize writeRaw (const void *, TSize)
 Write one buffer of size.
int64 seek (int64, FSeekMode)
 Set file position for stream.
int64 tell ()
 Return current file position.

Protected Attributes

IBStream * stream

Detailed Description

Wrapper class for typed reading/writing from or to IBStream.

Can be used framework-independent in Plug-ins.


Constructor & Destructor Documentation

IBStreamer ( IBStream *  stream,
int16  byteOrder = BYTEORDER 
)

Constructor for a given IBSTream and a byteOrder.


Member Function Documentation

IBStream* getStream (  )  [inline]

Returns the associated IBStream.

TSize readRaw ( void *  buffer,
TSize  size 
) [virtual]

Read one buffer of size.

Implements FStreamer.

TSize writeRaw ( const void *  buffer,
TSize  size 
) [virtual]

Write one buffer of size.

Implements FStreamer.

int64 seek ( int64  pos,
FSeekMode  mode 
) [virtual]

Set file position for stream.

Implements FStreamer.

int64 tell (  )  [virtual]

Return current file position.

Implements FStreamer.


Field Documentation

IBStream* stream [protected]
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.