![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
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 TSLLinkReference * | get_link (long index) |
const TSLNodeReference * | get_node (long index) |
long | link_count () |
long | node_count () |
void TSLNetworkQuery::destroy | ( | ) |
Destructor for the object
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.
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;
long TSLNetworkQuery::link_count | ( | ) |
Returns the number of links in the query.
long TSLNetworkQuery::node_count | ( | ) |
Returns the number of nodes in the query.