Difference between revisions of "TFile"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "==Inheritance== *TFile ==Description== A class holding all functions related to file managment and interaction. user constructable: '''NO''' user destructable: '''NO'...")
 
m (Description)
Line 3: Line 3:
  
 
==Description==
 
==Description==
A class holding all functions related to file managment and interaction.
+
A class holding all functions related to file managment and interaction. One object of this class is exported under global variable called '''File'''.
  
 
  user constructable: '''NO'''
 
  user constructable: '''NO'''

Revision as of 15:58, 26 July 2013

Inheritance

Description

A class holding all functions related to file managment and interaction. One object of this class is exported under global variable called File.

user constructable: NO
user destructable:  NO

Members

Member declaration
function CheckAccess(const FilePath: string): Boolean
function CreateFileStream(): TFileStream
function CreateFileStreamFromFile(const Path: string): TFileStream
function CreateStringList(): TStringList
function CreateStringListFromFile(const Path: string): TStringList
function CreateINI(const Path: string): TIniFile
function Exists(const Source: string): Boolean
function Copy(const Source, Destination: string): Boolean
function Move(const Source, Destination: string): Boolean
function Delete(const Source: string): Boolean