Public Member Functions | Protected Attributes | List of all members
vtkSpyPlotIStream Class Reference

vtkSpyPlotIStream represents input functionality required by the vtkSpyPlotReader and vtkSpyPlotUniReader classes. More...

#include <vtkSpyPlotIStream.h>

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 ReadInt32sNoSwap (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 31 of file vtkSpyPlotIStream.h.

Constructor & Destructor Documentation

◆ vtkSpyPlotIStream()

vtkSpyPlotIStream::vtkSpyPlotIStream ( )

◆ ~vtkSpyPlotIStream()

virtual vtkSpyPlotIStream::~vtkSpyPlotIStream ( )
virtual

Member Function Documentation

◆ SetStream()

void vtkSpyPlotIStream::SetStream ( istream *  )

◆ GetStream()

istream * vtkSpyPlotIStream::GetStream ( )
inline

Definition at line 57 of file vtkSpyPlotIStream.h.

◆ ReadString() [1/2]

int vtkSpyPlotIStream::ReadString ( char *  str,
size_t  len 
)

◆ ReadString() [2/2]

int vtkSpyPlotIStream::ReadString ( unsigned char *  str,
size_t  len 
)

◆ ReadInt32s()

int vtkSpyPlotIStream::ReadInt32s ( int val,
int  num 
)

◆ ReadInt32sNoSwap()

int vtkSpyPlotIStream::ReadInt32sNoSwap ( int val,
int  num 
)

◆ ReadInt64s()

int vtkSpyPlotIStream::ReadInt64s ( vtkTypeInt64 *  val,
int  num 
)

◆ ReadDoubles()

int vtkSpyPlotIStream::ReadDoubles ( double val,
int  num 
)

◆ Seek()

void vtkSpyPlotIStream::Seek ( vtkTypeInt64  offset,
bool  rel = false 
)

◆ Tell()

vtkTypeInt64 vtkSpyPlotIStream::Tell ( )

Member Data Documentation

◆ FileBufferSize

const int vtkSpyPlotIStream::FileBufferSize
protected

Definition at line 48 of file vtkSpyPlotIStream.h.

◆ Buffer

char* vtkSpyPlotIStream::Buffer
protected

Definition at line 49 of file vtkSpyPlotIStream.h.

◆ IStream

istream* vtkSpyPlotIStream::IStream
protected

Definition at line 50 of file vtkSpyPlotIStream.h.


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