Skip to content

Source files: 1 | Classes: 7 | Methods: 0 | Enums: 0


GTOS.Reports

ColumnDefinition

struct

Column definition for report schema.
Defines name, data type, and optional unit formatting.

Source: ReportsCoreAtomics.cs

Constants and Fields

DataType

Type

Name

string

SuffixedUnit

bool

If true, unit is suffixed (e.g., "50kg"). If false, unit is prefixed (e.g., "$50").

Unit

string

Unit symbol to display (e.g., "$", "£", "kg", "%"). Empty string = no unit.

CsvHelper

static class

Static CSV utilities. No reflection, no interfaces.
Structs provide their own ToString() (CSV row) and static ToCsvHeader().
The where T : struct constraint rejects reference types at compile time.

Source: ReportsCoreAtomics.cs

DateRangeResult

struct

Result of parsing a date range for queries.
Supports both absolute dates and relative periods.

Source: ReportsCoreAtomics.cs

Constants and Fields

EndDate

DateTime

ErrorMessage

string

StartDate

DateTime

Success

bool

ReportData

struct

Complete report data - schema + rows.
Dynamically expands array as rows are added.

Source: ReportsCoreAtomics.cs

Constants and Fields

CreatedAt

readonly DateTime

RowCount

int

Rows

RowData[]

Schema

ReportSchema

ReportSchema

struct

Report schema - defines the structure of a report.
Used to validate and format RowData for consistent reporting.

Source: ReportsCoreAtomics.cs

Constants and Fields

ColumnCount

int

Columns

ColumnDefinition[]

ReportName

string

RowData

struct

Row of data with arbitrary column count (index-based access).
Supports type-safe getters to avoid casting in calling code.

Source: ReportsCoreAtomics.cs

Constants and Fields

ColumnCount

int

Values

object[]

SortColumnResult

struct

Result of mapping user input to SQL column name for sorting.
Handles natural language column references (e.g., "revenue" → "total_revenue")

Source: ReportsCoreAtomics.cs

Constants and Fields

ErrorMessage

string

SqlColumn

string

Success

bool


Generated from GTOS Savants source -- 2026-03-22

SILVIA is a registered Trademark of Cognitive Code Corp.