Class TPropsStorage (unit RXProps)

Inherits from

TObject

Constructors



Functions

procedure LoadAnyProperty(PropInfo: PPropInfo);


procedure LoadObjectsProps(AComponent: TComponent; StoredList: TStrings);


procedure LoadProperties(PropList: TStrings);


procedure StoreAnyProperty(PropInfo: PPropInfo);

ignore any exception

procedure StoreObjectsProps(AComponent: TComponent; StoredList: TStrings);


procedure StoreProperties(PropList: TStrings);


function CreateStorage: TPropsStorage;


procedure EraseSection(const ASection: string);


function GetItemName(const APropName: string): string;

TPropsStorage

function ReadString(const ASection, Item, Default: string): string;


procedure WriteString(const ASection, Item, Value: string);


function CreateInfoList(AComponent: TComponent; StoredList: TStrings): TStrings;


procedure FreeInfoLists(Info: TStrings);


procedure LoadCharProperty(const S: string; PropInfo: PPropInfo);


procedure LoadClassProperty(const S: string; PropInfo: PPropInfo);


procedure LoadComponentProperty(const S: string; PropInfo: PPropInfo);


procedure LoadEnumProperty(const S: string; PropInfo: PPropInfo);


procedure LoadFloatProperty(const S: string; PropInfo: PPropInfo);


procedure LoadIntegerProperty(const S: string; PropInfo: PPropInfo);


procedure LoadLStringProperty(const S: string; PropInfo: PPropInfo);


procedure LoadSetProperty(const S: string; PropInfo: PPropInfo);


procedure LoadStringProperty(const S: string; PropInfo: PPropInfo);


procedure LoadStringsProperty(const S: string; PropInfo: PPropInfo);


procedure LoadVariantProperty(const S: string; PropInfo: PPropInfo);


procedure LoadWCharProperty(const S: string; PropInfo: PPropInfo);


function StoreCharProperty(PropInfo: PPropInfo): string;


function StoreClassProperty(PropInfo: PPropInfo): string;


function StoreComponentProperty(PropInfo: PPropInfo): string;


function StoreEnumProperty(PropInfo: PPropInfo): string;


function StoreFloatProperty(PropInfo: PPropInfo): string;


function StoreIntegerProperty(PropInfo: PPropInfo): string;

- Delphi 2.

function StoreLStringProperty(PropInfo: PPropInfo): string;


function StoreSetProperty(PropInfo: PPropInfo): string;


function StoreStringProperty(PropInfo: PPropInfo): string;


function StoreStringsProperty(PropInfo: PPropInfo): string;


function StoreVariantProperty(PropInfo: PPropInfo): string;


function StoreWCharProperty(PropInfo: PPropInfo): string;


Properties

property AObject : TObject


property Prefix : string


property Section : string


Events

event OnEraseSection : TEraseSectEvent


event OnReadString : TReadStrEvent


event OnWriteString : TWriteStrEvent


Variables

FObject : TObject;


FOnEraseSection : TEraseSectEvent;


FOnReadString : TReadStrEvent;


FOnWriteString : TWriteStrEvent;


FOwner : TComponent;


FPrefix : string;


FSection : string;



Constructors


Functions


procedure LoadAnyProperty(PropInfo: PPropInfo);


procedure LoadObjectsProps(AComponent: TComponent; StoredList: TStrings);


procedure LoadProperties(PropList: TStrings);


procedure StoreAnyProperty(PropInfo: PPropInfo);

ignore any exception


procedure StoreObjectsProps(AComponent: TComponent; StoredList: TStrings);


procedure StoreProperties(PropList: TStrings);


function CreateStorage: TPropsStorage;


procedure EraseSection(const ASection: string);


function GetItemName(const APropName: string): string;

TPropsStorage


function ReadString(const ASection, Item, Default: string): string;


procedure WriteString(const ASection, Item, Value: string);


function CreateInfoList(AComponent: TComponent; StoredList: TStrings): TStrings;


procedure FreeInfoLists(Info: TStrings);


procedure LoadCharProperty(const S: string; PropInfo: PPropInfo);


procedure LoadClassProperty(const S: string; PropInfo: PPropInfo);


procedure LoadComponentProperty(const S: string; PropInfo: PPropInfo);


procedure LoadEnumProperty(const S: string; PropInfo: PPropInfo);


procedure LoadFloatProperty(const S: string; PropInfo: PPropInfo);


procedure LoadIntegerProperty(const S: string; PropInfo: PPropInfo);


procedure LoadLStringProperty(const S: string; PropInfo: PPropInfo);


procedure LoadSetProperty(const S: string; PropInfo: PPropInfo);


procedure LoadStringProperty(const S: string; PropInfo: PPropInfo);


procedure LoadStringsProperty(const S: string; PropInfo: PPropInfo);


procedure LoadVariantProperty(const S: string; PropInfo: PPropInfo);


procedure LoadWCharProperty(const S: string; PropInfo: PPropInfo);


function StoreCharProperty(PropInfo: PPropInfo): string;


function StoreClassProperty(PropInfo: PPropInfo): string;


function StoreComponentProperty(PropInfo: PPropInfo): string;


function StoreEnumProperty(PropInfo: PPropInfo): string;


function StoreFloatProperty(PropInfo: PPropInfo): string;


function StoreIntegerProperty(PropInfo: PPropInfo): string;

- Delphi 2.0, C++Builder 1.0


function StoreLStringProperty(PropInfo: PPropInfo): string;


function StoreSetProperty(PropInfo: PPropInfo): string;


function StoreStringProperty(PropInfo: PPropInfo): string;


function StoreStringsProperty(PropInfo: PPropInfo): string;


function StoreVariantProperty(PropInfo: PPropInfo): string;


function StoreWCharProperty(PropInfo: PPropInfo): string;


Properties


property AObject : TObject


property Prefix : string


property Section : string


Events


event OnEraseSection : TEraseSectEvent


event OnReadString : TReadStrEvent


event OnWriteString : TWriteStrEvent


Variables


FObject : TObject;


FOnEraseSection : TEraseSectEvent;


FOnReadString : TReadStrEvent;


FOnWriteString : TWriteStrEvent;


FOwner : TComponent;


FPrefix : string;


FSection : string;