![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
TSLInteropExportSet is a container class for a set of pre-processed TSLStandardDataLayers as returned by the TSLInteropManager.
Each item in the container consists of a TSLStandardDataLayer and a string description of the filename that should be used when saving the data in the TSLStandardDataLayer . The file naming conventions are based on the configuration options that were used to produce the TSLStandardDataLayer. This filename is not compulsory but should be used when the formal naming criteria based on configuration settings is required.
The TSLStandardDataLayers in this container are created by the data processing functions. These layers are owned by the TSLInteropExportSet and are deleted with the TSLInteropExportSet.
TSLInteropExportSet objects may only be created indirectly via other API calls. They should be destroyed by calling the destroy method rather than deleting them since the calls are redirected internally to MapLink.
Public Member Functions | |
void | destroy () |
bool | item (int index, TSLStandardDataLayer **layer, TSLSimpleString &filename) |
int | size () const |
void TSLInteropExportSet::destroy | ( | ) |
Destroy method. This should be called rather than deleting the object, since the calls are redirected internally to MapLink.
bool TSLInteropExportSet::item | ( | int | index, |
TSLStandardDataLayer ** | layer, | ||
TSLSimpleString & | filename ) |
Returns the requested item in the container.
index | Index of item within the container. |
layer | The TSLStandardDataLayer component of the item. |
filename | The filename component of the item. |
Note that the TSLStandardDataLayers returned by this method are owned by the TSLInteropExportSet and are deleted with the TSLInteropExportSet.
int TSLInteropExportSet::size | ( | ) | const |
Returns the number of items in the container.