Table Of Contents

Previous topic

SDatasourceClass Structure

Next topic

SDataWriter Structure

Structured Data Interface

The structured data interface is for data that is in a specific format, at a higher abstract level, for example reading data of a serialized object.

Definitions

speect object SDataWriter

Inheritance diagram of SObject.SDataWriter

The abstract data writer structure.

Definition of the structured (formatted) data source writer .

Provides an abstract interface to a structured data format writer. All classes that want to write an SObject type to file must inherit from this object’s class.

SDataWriter Structure

speect class SDataWriterClass

Inheritance diagram of SObjectClass.SDataWriterClass

The data writer class structure.

The abstract SDataWriterClass defines no methods, child classes can define methods as required.

SDataWriterClass Structure

speect object SDataReader

Inheritance diagram of SObject.SDataReader

The abstract data reader structure.

Definition of the structured (formatted) data source reader .

Provides an abstract interface to a structured data format reader. All classes that want to read an SObject type to file must inherit from this object’s class.

SDataReader Structure

speect class SDataReaderClass

Inheritance diagram of SObjectClass.SDataReaderClass

The data reader class structure.

The abstract SDataReaderClass defines no methods, child classes can define methods as required.

SDataReaderClass Structure

Macros

macro S_DATAWRITER(SELF)

Return the given SDataWriter child class object as a SDataWriter object.

Parameters:
  • SELF

    The given object.

Return:

Given object as SDataWriter* type.

Note:

This casting is not safety checked.

macro S_DATAREADER(SELF)

Return the given SDataReader child class object as a SDataReader object.

Parameters:
  • SELF

    The given object.

Return:

Given object as SDataReader* type.

Note:

This casting is not safety checked.