NDEVR
API Documentation
AsciiTableIOData.h
1#pragma once
2#include <NDEVR/String.h>
3#include <NDEVR/Vector.h>
4#include <NDEVR/File.h>
5#include <NDEVR/TypeInfo.h>
6#include <NDEVR/StringAllocatingView.h>
7namespace NDEVR
8{
30
43}
std::function< TypeInfo(StringAllocatingView &data, const Vector< 2, uint04 > &index)> get_data
Callback to retrieve the typed value at a given 2D cell index.
Bounds< 2, uint04 > page_area
The 2D bounding area (row/column extents) of this data block within the page.
AsciiIODataBlock(const Bounds< 2, uint04 > &page_area, const std::function< TypeInfo(StringAllocatingView &data, const Vector< 2, uint04 > &index)> &get_data)
Constructs an AsciiIODataBlock with the given page area and data retrieval callback.
String page
The name or identifier of the page this block belongs to.
Holds the data and file paths needed for ASCII table-based import/export operations,...
Buffer< AsciiIODataBlock > block_data
Collection of data blocks to be written or read.
File output_location
The file path where the ASCII table output will be written.
File template_location
The file path to a template used for formatting the ASCII table output.
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:54
The equivelent of std::vector but with a bit more control.
Definition Buffer.hpp:58
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
Definition File.h:53
This class is like a string view, but may optionally store the data internally Useful if the return t...
Definition String.h:1278
The core String class for the NDEVR API.
Definition String.h:95
Stores information about a type, relevant for certain templated functions.
Definition TypeInfo.h:43
A fixed-size array with N dimensions used as the basis for geometric and mathematical types.
Definition Vector.hpp:62
The primary namespace for the NDEVR SDK.