ParaView
Public Member Functions | Protected Attributes
vtkSpyPlotIStream Class Reference

#include <vtkSpyPlotIStream.h>

List of all members.

Public Member Functions

 vtkSpyPlotIStream ()
virtual ~vtkSpyPlotIStream ()
void SetStream (istream *)
istream * GetStream ()
int ReadString (char *str, size_t len)
int ReadString (unsigned char *str, size_t len)
int ReadInt32s (int *val, int num)
int ReadInt64s (vtkTypeInt64 *val, int num)
int ReadDoubles (double *val, int num)
void Seek (vtkTypeInt64 offset, bool rel=false)
vtkTypeInt64 Tell ()

Protected Attributes

const int FileBufferSize
char * Buffer
istream * IStream

Detailed Description

vtkSpyPlotIStream represents input functionality required by the vtkSpyPlotReader and vtkSpyPlotUniReader classes. The class was factored out of vtkSpyPlotReader.cxx. The class wraps an already opened istream

Definition at line 29 of file vtkSpyPlotIStream.h.


Constructor & Destructor Documentation

vtkSpyPlotIStream::vtkSpyPlotIStream ( )
virtual vtkSpyPlotIStream::~vtkSpyPlotIStream ( ) [virtual]

Member Function Documentation

void vtkSpyPlotIStream::SetStream ( istream *  )
istream * vtkSpyPlotIStream::GetStream ( ) [inline]

Definition at line 48 of file vtkSpyPlotIStream.h.

int vtkSpyPlotIStream::ReadString ( char *  str,
size_t  len 
)
int vtkSpyPlotIStream::ReadString ( unsigned char *  str,
size_t  len 
)
int vtkSpyPlotIStream::ReadInt32s ( int val,
int  num 
)
int vtkSpyPlotIStream::ReadInt64s ( vtkTypeInt64 *  val,
int  num 
)
int vtkSpyPlotIStream::ReadDoubles ( double val,
int  num 
)
void vtkSpyPlotIStream::Seek ( vtkTypeInt64  offset,
bool  rel = false 
)
vtkTypeInt64 vtkSpyPlotIStream::Tell ( )

Member Data Documentation

Definition at line 43 of file vtkSpyPlotIStream.h.

char* vtkSpyPlotIStream::Buffer [protected]

Definition at line 44 of file vtkSpyPlotIStream.h.

istream* vtkSpyPlotIStream::IStream [protected]

Definition at line 45 of file vtkSpyPlotIStream.h.


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