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

Detailed Description

The TSLNetworkQuery object returned by the TSLNetwork::find methods will provide information about a query made on the tiled network. All objects contained within the TSLNetworkQuery are copies of the original network data and will remain valid until the TSLNetworkQuery object is destroyed.

Public Member Functions

void destroy ()
 
const TSLLinkReferenceget_link (long index)
 
const TSLNodeReferenceget_node (long index)
 
long link_count ()
 
long node_count ()
 

Member Function Documentation

◆ destroy()

void TSLNetworkQuery::destroy ( )

Destructor for the object

◆ get_link()

const TSLLinkReference * TSLNetworkQuery::get_link ( long index)

Returns a pointer to the TSLLinkReference for the link at the specified index.

Arguments index : index to the found links

Returns A pointer to the TSLLinkReference if the index is valid. If the index is invalid returns 0.

◆ get_node()

const TSLNodeReference * TSLNetworkQuery::get_node ( long index)

Returns apointer to a TSLNodeReference for the node at the specified index.

Arguments index : index to the found links

Returns A pointer to the TSLNodeReference if the index is valid. If the index is invalid 0;

◆ link_count()

long TSLNetworkQuery::link_count ( )

Returns the number of links in the query.

◆ node_count()

long TSLNetworkQuery::node_count ( )

Returns the number of nodes in the query.