GridFormat 0.2.1
I/O-Library for grid-like data structures
Loading...
Searching...
No Matches
xml.hpp File Reference

Helper classes and functions for VTK XML-type file format writers & readers. More...

#include <bit>
#include <string>
#include <ranges>
#include <utility>
#include <type_traits>
#include <functional>
#include <optional>
#include <iterator>
#include <string_view>
#include <concepts>
#include <gridformat/common/detail/crtp.hpp>
#include <gridformat/common/callable_overload_set.hpp>
#include <gridformat/common/optional_reference.hpp>
#include <gridformat/common/exceptions.hpp>
#include <gridformat/common/type_traits.hpp>
#include <gridformat/common/variant.hpp>
#include <gridformat/common/precision.hpp>
#include <gridformat/common/logging.hpp>
#include <gridformat/common/field.hpp>
#include <gridformat/common/lazy_field.hpp>
#include <gridformat/common/path.hpp>
#include <gridformat/encoding/base64.hpp>
#include <gridformat/encoding/ascii.hpp>
#include <gridformat/encoding/raw.hpp>
#include <gridformat/compression/lz4.hpp>
#include <gridformat/compression/lzma.hpp>
#include <gridformat/compression/zlib.hpp>
#include <gridformat/grid/concepts.hpp>
#include <gridformat/grid/writer.hpp>
#include <gridformat/grid/grid.hpp>
#include <gridformat/xml/element.hpp>
#include <gridformat/xml/parser.hpp>
#include <gridformat/vtk/common.hpp>
#include <gridformat/vtk/attributes.hpp>
#include <gridformat/vtk/data_array.hpp>
#include <gridformat/vtk/appendix.hpp>

Go to the source code of this file.

Classes

struct  GridFormat::VTK::XMLOptions
 Options for VTK-XML files for setting the desired encoding, data format and compression. More...
 
class  GridFormat::VTK::XMLWriterBase< G, Impl >
 Base class for VTK-XML Writer implementations. More...
 
struct  GridFormat::VTK::XMLWriterBase< G, Impl >::WriteContext
 
class  GridFormat::VTK::XMLReaderHelper
 Helper class for VTK-XML readers to use. More...
 

Functions

std::ranges::range auto GridFormat::VTK::XML::data_arrays (const XMLElement &e)
 Return a range over all data array elements in the given xml section.
 
std::ranges::range auto GridFormat::VTK::XML::data_array_names (const XMLElement &e)
 Return a range over the names of all data array elements in the given xml section.
 
const XMLElement & GridFormat::VTK::XML::get_data_array (std::string_view name, const XMLElement &section)
 Return the data array element with the given name within the given xml section.