27#ifndef vtkXMLDataWriterHelper_h
28#define vtkXMLDataWriterHelper_h
30#include "vtkIOParallelXMLModule.h"
86 this->DataSetVersion[0] = major;
87 this->DataSetVersion[1] = minor;
107 int DataSetVersion[2];
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Represents an XML element and those nested inside.
helper for vtkXMLWriter2 and subclasses
int GetDataSetMinorVersion() override
void SetWriter(vtkXMLWriter2 *)
Get/Set the writer using this helper.
bool OpenFile()
The writing process is split into 4 parts:
bool EndWriting()
The writing process is split into 4 parts:
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
~vtkXMLDataWriterHelper() override
static vtkXMLDataWriterHelper * New()
void SetDataSetVersion(int major, int minor)
These methods should be used by the caller to provide necessary information to the helper to generate...
int GetDataSetMajorVersion() override
void SetDataSetName(const std::string &name)
These methods should be used by the caller to provide necessary information to the helper to generate...
bool AddGlobalFieldData(vtkCompositeDataSet *dataset)
Adds global field data for composite dataset.
bool AddXML(vtkXMLDataElement *xmlElement)
Serialize and add an XML dom described by the xmlElement to the file.
bool BeginWriting()
The writing process is split into 4 parts:
const char * GetDataSetName() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
base class for new-style XML Writers
Superclass for VTK's XML file writers.