DBTransferInfo class

The DBTransferInfo object is used to transfer layers in a database to another database.

An object of this class can be created using the LOCAL, or GLOBAL statement, or the EAlloc() function. The effect of this, is to initialize the GDBTransferInfo structure. This structure is then accessible to the other methods of the DBTransferInfo object to be used to set or get information.

Methods

DBTransferInfo::AddLayer()
AddLayer() is used to add the next source layer to transfer to the DBTransferInfo object.
DBTransferInfo::GetNewLayerNumber()
GetNewLayerNumber() is used to return the new layer number of a segment created on the output file.
DBTransferInfo::SetDestFile()
SetDestFile() is used to set the destination file pointer for the transfer.
DBTransferInfo::SetProgressCounter()
SetProgressCounter() is used to set the progress counter function and argument to be used, during the transfer.
DBTransferInfo::Transfer()
Transfer() is used to perform the transfer of the layers from the source file to the destination file.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.