Class TRALStorageCSV

Unit

Declaration

type TRALStorageCSV = class(TRALStorage)

Description

TRALStorageCSV

Hierarchy

Overview

Methods

Public constructor Create;
Public destructor Destroy; override;
Protected function CSVFormatBoolean(AValue: Boolean): StringRAL;
Protected function CSVFormatDateTime(AValue: TDateTime): StringRAL;
Protected function CSVFormatFloat(AValue: Double): StringRAL;
Protected function CSVFormatStream(AValue: TStream): StringRAL;
Protected function CSVFormatString(AValue: StringRAL): StringRAL;
Protected function ReadLine(AStream: TStream): TStringList;
Public procedure LoadFromStream(ADataset: TDataSet; AStream: TStream); override;
Public procedure SaveToStream(ADataset: TDataSet; AStream: TStream); override;
Protected procedure ReadFields(ADataset: TDataSet; AStream: TStream);
Protected procedure ReadRecords(ADataset: TDataSet; AStream: TStream);
Protected procedure WriteFields(ADataset: TDataSet; AStream: TStream);
Protected procedure WriteRecords(ADataset: TDataSet; AStream: TStream);
Protected procedure WriteStringToStream(AStream: TStream; AValue: StringRAL);

Properties

Published property FormatOptions: TRALCSVFormatOptions read FFormatOptions write FFormatOptions;
Published property UseUTF8BOM: boolean read FUseUTF8BOM write FUseUTF8BOM;

Description

Methods

Public constructor Create;
 
Public destructor Destroy; override;
 
Protected function CSVFormatBoolean(AValue: Boolean): StringRAL;
 
Protected function CSVFormatDateTime(AValue: TDateTime): StringRAL;
 
Protected function CSVFormatFloat(AValue: Double): StringRAL;
 
Protected function CSVFormatStream(AValue: TStream): StringRAL;
 
Protected function CSVFormatString(AValue: StringRAL): StringRAL;
 
Protected function ReadLine(AStream: TStream): TStringList;
 
Public procedure LoadFromStream(ADataset: TDataSet; AStream: TStream); override;
 
Public procedure SaveToStream(ADataset: TDataSet; AStream: TStream); override;
 
Protected procedure ReadFields(ADataset: TDataSet; AStream: TStream);
 
Protected procedure ReadRecords(ADataset: TDataSet; AStream: TStream);
 
Protected procedure WriteFields(ADataset: TDataSet; AStream: TStream);
 
Protected procedure WriteRecords(ADataset: TDataSet; AStream: TStream);
 
Protected procedure WriteStringToStream(AStream: TStream; AValue: StringRAL);
 

Properties

Published property FormatOptions: TRALCSVFormatOptions read FFormatOptions write FFormatOptions;
 
Published property UseUTF8BOM: boolean read FUseUTF8BOM write FUseUTF8BOM;
 


GitHub Repository
Generated by PasDoc 0.16.0.