NDEVR
API Documentation
AsciiIODataBlock

Represents a rectangular block of data within an ASCII table page, providing a callback to retrieve typed cell values by row/column index. More...

Collaboration diagram for AsciiIODataBlock:
[legend]

Public Member Functions

 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.

Public Attributes

std::function< TypeInfo(StringAllocatingView &data, const Vector< 2, uint04 > &index)> get_data
 Callback to retrieve the typed value at a given 2D cell index.
String page
 The name or identifier of the page this block belongs to.
Bounds< 2, uint04page_area
 The 2D bounding area (row/column extents) of this data block within the page.

Detailed Description

Represents a rectangular block of data within an ASCII table page, providing a callback to retrieve typed cell values by row/column index.


Definition at line 13 of file AsciiTableIOData.h.

Constructor & Destructor Documentation

◆ AsciiIODataBlock()

AsciiIODataBlock::AsciiIODataBlock ( const Bounds< 2, uint04 > & page_area,
const std::function< TypeInfo(StringAllocatingView &data, const Vector< 2, uint04 > &index)> & get_data )
inline

Constructs an AsciiIODataBlock with the given page area and data retrieval callback.


Parameters
[in]page_areaThe 2D bounding region (row/column extents) this block covers within the page.
[in]get_dataA callback that populates a StringAllocatingView with the cell value at the given 2D index and returns the TypeInfo describing the data type of that cell.

Definition at line 22 of file AsciiTableIOData.h.

References get_data, and page_area.


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