Class TINIStream (unit INIFile)
Inherits from
TObject
Constructors
constructor CreateStream(const ComputerName,StreamName:string);
Functions
class function BaseStream:TBaseStream;
procedure CopySection(const FromS,ToS:string);
procedure DeleteEntry(const Section,Entry:string);
procedure DeleteSection(const Section:string);
function EntrySize(const Section,Entry:string):Integer;
function EntryType(const Section,Entry:string):TEntryType;
function ReadBinary(const Section,Entry:string;var Buffer;MaxSize:Integer):Integer;
function ReadEntries(const Section:string;StringList:TStringList;var Selected:LongInt):LongInt;
function ReadInteger(const Section,Entry:string;Value:LongInt):LongInt;
procedure ReadSection(const Section:string;List:TStringList);
procedure ReadSections(const RootSection:string;List:TStringList);
function ReadString(const Section,Entry,Value:string):string;
function ReadText(const Section,Entry,Value:string):string;
procedure WriteBinary(const Section,Entry:string;var Buffer;Size:Integer);
function WriteEntries(const Section:string;StringList:TStringList;Selected:LongInt):LongInt;
procedure WriteInteger(const Section,Entry:string;Value:LongInt);
procedure WriteString(const Section,Entry,Value:string);
procedure WriteText(const Section,Entry,Value:string);
function GetDescription:string;
Properties
property Description : string
property FileName : string
Events
Variables
FComputerName : string;
FFileName : string;
FInitOK : Boolean;
Constructors
constructor CreateStream(const ComputerName,StreamName:string);
Functions
class function BaseStream:TBaseStream;
procedure CopySection(const FromS,ToS:string);
procedure DeleteEntry(const Section,Entry:string);
procedure DeleteSection(const Section:string);
function EntrySize(const Section,Entry:string):Integer;
function EntryType(const Section,Entry:string):TEntryType;
function ReadBinary(const Section,Entry:string;var Buffer;MaxSize:Integer):Integer;
function ReadEntries(const Section:string;StringList:TStringList;var Selected:LongInt):LongInt;
function ReadInteger(const Section,Entry:string;Value:LongInt):LongInt;
procedure ReadSection(const Section:string;List:TStringList);
procedure ReadSections(const RootSection:string;List:TStringList);
function ReadString(const Section,Entry,Value:string):string;
function ReadText(const Section,Entry,Value:string):string;
procedure WriteBinary(const Section,Entry:string;var Buffer;Size:Integer);
function WriteEntries(const Section:string;StringList:TStringList;Selected:LongInt):LongInt;
procedure WriteInteger(const Section,Entry:string;Value:LongInt);
procedure WriteString(const Section,Entry,Value:string);
procedure WriteText(const Section,Entry,Value:string);
function GetDescription:string;
Properties
property Description : string
property FileName : string
Events
Variables
FComputerName : string;
FFileName : string;
FInitOK : Boolean;