MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLPickResult Class Reference
Inheritance diagram for TSLPickResult:

Detailed Description

This class represents a single result from a pick method call on a Drawing Surface.

It may not be created or destroyed by the user.

The results may be invalided by the next draw call to the Drawing Surface.

Public Member Functions

TSLPickResultEnum queryType () const
 
const char * getDataLayer () const
 

Member Function Documentation

◆ getDataLayer()

const char * TSLPickResult::getDataLayer ( ) const

Get the ID of the datalayer this result is obtained from.

The Data ID is set by the TSLDataLayer during a pick operation. This allows the data layer containing result to be identified from the result set.

The return value is a pointer to the ID of the data layer containing the result.

◆ queryType()

TSLPickResultEnum TSLPickResult::queryType ( ) const

Queries the type enumerator - TSLPickResultEnum. This allows the user to subsequently cast the TSLPickResult to a known type. Alternatively, use the static 'isType' methods on the derived versions.