TSObject_Librarian
What: class
Ancestor: TObject
File: _Lib
Layer: 1
Platforms: C++, C#, Javascript, Pascal (Delphi), PHP, Python
Defines information about a module. It has the following fields and methods:
Fields:
Creation_Day
int32 Creation_Day
Creation_Day : int32
The day of month of library creation.
Creation_Hour
int Creation_Hour
Creation_Hour : integer
Hour of day of library creation.
Creation_Minute
int32 Creation_Minute
Creation_Minute : longint
Minute of hour of library creation.
Creation_Month
int32 Creation_Month
Creation_Month : int32
The month of the year of library creation.
Creation_Year
int32 Creation_Year
Creation_Year : int32
The year of library creation.
Deleted_Space
int32 Deleted_Space
Deleted_Space : int32
Amount of allocated but unused (deleted) space in library.
Modified_Day
int32 Modified_Day
Modified_Day : int32
The day of month of library creation.
Modified_Minute
int32 Modified_Minute
Modified_Minute : longint
Minute of hour of library creation.
Modified_Month
int32 Modified_Month
Modified_Month : int32
The month of the year of library creation.
Modified_Year
int32 Modified_Year
Modified_Year : int32
The year of library creation.
Version
string Version
Version : string
The library version.
Methods:
Create_New
int32 Flags
procedure Create_New( Command : String ; Language_Id, Typ : Integer)
Creates a new module with the given specification entry, ID, and type in the library.
Delete
int32 Flags
procedure Delete( Command : string )
Deletes the specified module from the library.
Extract
int32 Flags
procedure Extract( Module, Filename : string )
Deletes the specified module from the library.
Extract_Index
int32 Flags
procedure Extract_Index( Module : integer ; Filename : string ; Start_Block : longint )
Deletes the specified module from the library.
Get_Last_Error
int32 Flags
function Get_Last_Error : TSUnified_Exception
Deletes the specified module from the library.
Get_Module
int32 Flags
procedure Get_Module( Start_Block, X : integer ; var Buffer )
Returns the contents of the module at the specified index and start block.
Get_Module_Info
int32 Flags
function Get_Module_Info( X : integer ; var Info : TModule_Info ) : boolean
Retrieves information on the module at the given index. Returns false if module
not found.
Insert
int32 Flags
procedure Insert( Command, Filename : string )
Inserts the specified file into the library.
Open
int32 Flags
procedure Open( X : string )
Opens the specified library file.
Size
int32 Flags
function Size() : longint
Returns the size of the library, in bytes.