TObject_Librarian
What: class
Ancestor: TBase_Delphi_Object
File: _Lib
Layer: 1
Platforms: C++, C#, Javascript, Pascal (Delphi), PHP, Python
Defines information about a module. It has the following fields and methods (in C++ and
Pascal, the fields are methods, on other platforms, they are fields):
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
void Create_New( string Command, int32 Language_Id, int32 Typ )
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
void Delete( string Command )
procedure Delete( Command : string )
Deletes the specified module from the library.
Extract
void Extract( string Module, string Filename )
procedure Extract( Module, Filename : string )
Deletes the specified module from the library.
Extract_Index
void Extract_Index( int32 Module, string Filename, int32 Start_Block )
procedure Extract_Index( Module : integer ; Filename : string ; Start_Block : longint )
Deletes the specified module from the library.
Get_Last_Error
PSUnified_Exception Get_Last_Error()
function Get_Last_Error : TSUnified_Exception
Deletes the specified module from the library.
Get_Module
void Get_Module( int32 Start_Block, int32 X, void* Buffer )
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
bool Get_Module_Info( int32 X, TModule_Info &Info )
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
void Insert( string Command, string Filename )
procedure Insert( Command, Filename : string )
Inserts the specified file into the library.
Open
void Open( string X )
procedure Open( X : string )
Opens the specified library file.
Size
int32 Size()
function Size() : longint
Returns the size of the library, in bytes.