TCOM_Object_Librarian
What: class
Ancestor: TCommon_COM_Interface
File: _Lib
Layer: 1
Platforms: C++, Pascal (Delphi)
Defines information about a module. It has the following methods, all of which use
stdcall calling convention:
Create_New
void Create_New( char* 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.
Creation_Day
int32 Creation_Day()
function Creation_Day : int32
Returns the day of month of library creation.
Creation_Hour
int Creation_Hour()
function Creation_Hour : integer
Returns the hour of day of library creation.
Creation_Minute
int32 Creation_Minute()br>
function Creation_Minute : longint
Returns the minute of hour of library creation.
Creation_Month
int32 Creation_Month()
function Creation_Month : int32
Returns the month of the year of library creation.
Creation_Year
int32 Creation_Year()
function Creation_Year : int32
Returns the year of library creation.
Delete
PUnified_Exception Delete( char* Command )
procedure Delete( Command : string )
Deletes the specified module from the library.
Deleted_Space
int32 Deleted_Space
function Deleted_Space : int32
Returns the amount of allocated but unused (deleted) space in library file.
Extract
void Extract( char* Module, char* Filename )
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
PUnified_Exception Get_Last_Error()
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_By_Index
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.
Get_Module_Info_By_Name
bool Get_Module_Info_By_Name( char* Command, TModule_Info& Info )
function Get_Module_Info_By_Name( Command : PChar ; var Info : TModule_Info ) : boolean
Retrieves information on the specified module. Returns false if module not found.
Insert
PUnified_Exception Insert( char* Command, char* Filename )
procedure Insert( Command, Filename : string )
Inserts the specified file into the 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.
Open
PUnified_Exception Open( char* X
procedure Open( X : string )
Opens the specified library file.
Size
int32 Size()
function Size() : longint
Returns the size of the library, in bytes.
Version
char* Version()
Version : PChar
The library version.