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

Detailed Description

Helper class to facilitate the use of the WPS results storage capability. A user implemented plugin can utilise this class in order to store process results and ascertain the URLs required to access them as web resources.

Public Member Functions

bool createStoreItem (const char *mimeType, const char *encoding, const unsigned char *data, unsigned int dataLength, TSLSimpleString &url)
 

Member Function Documentation

◆ createStoreItem()

bool TSLWPSStoreHelper::createStoreItem ( const char * mimeType,
const char * encoding,
const unsigned char * data,
unsigned int dataLength,
TSLSimpleString & url )

Creates a store item (a process output) and, if successful, supplies the URL required to access it as a web resource.

Parameters
mimeTypeThe mimetype of the item to store.
encodingThe encoding of the item to store.
dataThe data content of the item to store.
dataLengthThe size, in unsigned chars, of the data buffer passed into the call.
urlReference to a simple string that will be populated with the access URL in the event that the item is stored successfully.
Returns
true if successful, false otherwise.