MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLInteropExportSet Class Reference

Detailed Description

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
 

Member Function Documentation

◆ destroy()

void TSLInteropExportSet::destroy ( )

Destroy method. This should be called rather than deleting the object, since the calls are redirected internally to MapLink.

◆ item()

bool TSLInteropExportSet::item ( int index,
TSLStandardDataLayer ** layer,
TSLSimpleString & filename )

Returns the requested item in the container.

Parameters
indexIndex of item within the container.
layerThe TSLStandardDataLayer component of the item.
filenameThe filename component of the item.
Returns
true on success; false otherwise.

Note that the TSLStandardDataLayers returned by this method are owned by the TSLInteropExportSet and are deleted with the TSLInteropExportSet.

◆ size()

int TSLInteropExportSet::size ( ) const

Returns the number of items in the container.