27#ifndef vtkOutputStream_h
28#define vtkOutputStream_h
30#include "vtkIOCoreModule.h"
44 vtkSetMacro(Stream, ostream*);
45 vtkGetMacro(Stream, ostream*);
a simple class to control print indentation
abstract base class for most VTK objects
Wraps a binary output stream with a VTK interface.
static vtkOutputStream * New()
virtual int StartWriting()
Called after the stream position has been set by the caller, but before any Write calls.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int WriteStream(const char *data, size_t length)
virtual int Write(void const *data, size_t length)
Write output data of the given length.
virtual int EndWriting()
Called after all desired calls to Write have been made.
~vtkOutputStream() override