GridFormat 0.4.0
I/O-Library for grid-like data structures
Loading...
Searching...
No Matches
GridFormat::VTK::XMLOptions Struct Reference

Options for VTK-XML files for setting the desired encoding, data format and compression. More...

#include <xml.hpp>

Detailed Description

The data format can be

For encoding one can choose between

Note, however, that ascii encoding only works with inlined data, and raw binary encoding only works with appended data. Finally, one can choose between three different compressors or GridFormat::none:

Note that these compressors are only available if the respective libraries were found. All options can also be set to GridFormat::automatic, in which case a suitable option is chosen.

Public Types

using EncoderOption = ExtendedVariant< XML::Encoder, Automatic >
 
using CompressorOption = ExtendedVariant< XML::Compressor, Automatic >
 
using DataFormatOption = ExtendedVariant< XML::DataFormat, Automatic >
 
using CoordinatePrecisionOption = ExtendedVariant< XML::CoordinatePrecision, Automatic >
 

Public Attributes

EncoderOption encoder = automatic
 
CompressorOption compressor = automatic
 
DataFormatOption data_format = automatic
 
CoordinatePrecisionOption coordinate_precision = automatic
 
XML::HeaderPrecision header_precision = _from_size_t()
 

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