Xpace
exception_c.h File Reference
#include "base/c/types_c.h"

Go to the source code of this file.

Typedefs

typedef void * Xpace_Error
 

Functions

 XPACE_C_EXPORT (Xpace_Error) Xpace_Error_why(Xpace_Error)
 Get to the error that cause this one (if any) More...
 
 XPACE_C_EXPORT (void) Xpace_Error_destroy(Xpace_Error)
 
 XPACE_C_EXPORT (const Xpace_Char16 *) Xpace_Error_getMessage(Xpace_Error
 Construct an error message. More...
 
 XPACE_C_EXPORT (char *) Xpace_Error_what(const Xpace_Error)
 

Variables

Xpace_Error Xpace_Error_None
 
const Xpace_Char16templ
 

Typedef Documentation

typedef void* Xpace_Error

Definition at line 74 of file exception_c.h.

Function Documentation

XPACE_C_EXPORT ( Xpace_Error  ) const

Get to the error that cause this one (if any)

Get Table data through a callback, starting from and updating the current position.

get the (raw) contents of a cell from the current row NB only guarenteed to be valid while the row is current

get the (integer) contents of a cell from the current row

get the (String) contents of a cell from the current row

create a read-only cursor into a Table

Get a column's configuration.

Returns
the error we there is such an error
Return values
trueif the table is empty
thetable's name
Parameters
colthe column number
Return values
thecolumn's Configuration
thenumber of rows in the table
thenumber of columns in the table
Parameters
rowstart at this row
Return values
theSource
Parameters
rowmove cursor to this row
Return values
trueif successful, false (and don't move) if not
Parameters
columnfrom this column
Return values
the(String) contents of the cell
Parameters
columnfrom this column
okfillin true if successful
Return values
the(integer) contents of the cell
Parameters
columnfrom this column
Return values
the(raw) contents of the cell
Parameters
columns~0-terminated list of columns to get; if 0, get all columns
maxRowsthe maximum number of rows to get
sinkcalled for each cell #param result fillin true iff each call to sink->set() returned true

Get to the error that cause this one (if any)

Get Table data through a callback, starting from and updating the current position.

get the (raw) contents of a cell from the current row NB only guarenteed to be valid while the row is current

get the (integer) contents of a cell from the current row

get the (String) contents of a cell from the current row

create a read-only cursor into a Table

Parameters
configthe Table's Configuration
accesshow the Table will be opened
Return values
trueif the table is empty
thetable's name
Parameters
colthe column number
Return values
thecolumn's Configuration
thenumber of rows in the table
thenumber of columns in the table
Parameters
rowstart at this row
Return values
theSource
Parameters
rowmove cursor to this row
Return values
trueif successful, false (and don't move) if not
Parameters
columnfrom this column
Return values
the(String) contents of the cell
Parameters
columnfrom this column
okfillin true if successful
Return values
the(integer) contents of the cell
Parameters
columnfrom this column
Return values
the(raw) contents of the cell
Parameters
columns~0-terminated list of columns to get; if 0, get all columns
maxRowsthe maximum number of rows to get
sinkcalled for each cell #param result fillin true iff each call to sink->set() returned true
XPACE_C_EXPORT ( void  )
XPACE_C_EXPORT ( const Xpace_Char16 )

Construct an error message.

Returns
English template into which params will be inserted
Parameters
templthe template into which params will be inserted (I.e., a translation of getTemplate() for this exception) if = Xpace_String(), use English template
Returns
the translated template with params insterted
XPACE_C_EXPORT ( char *  ) const
Returns
an English error message with params inserted

Variable Documentation

Xpace_Error Xpace_Error_None
const Xpace_Char16* templ

Definition at line 101 of file exception_c.h.


current as of Wed Jun 10 2026 12:00:05