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

Detailed Description

This query object is returned by the find(...) methods. It provides read-only information about a query made on the network.

The client is responsible for deleting this object (through its destroy() method).

Public Member Functions

void destroy ()
 
const_node_iterator node (int N) const
 
const_link_iterator link (int N) const
 
int sizeNodes () const
 
int sizeLinks () const
 

Member Function Documentation

◆ destroy()

void TSLOptimizedNetwork::Query::destroy ( )

Destroy the object.

◆ link()

const_link_iterator TSLOptimizedNetwork::Query::link ( int N) const

Returns the Nth TSLOptLink object, wrapped in a const_link_iterator.

Argument description:

N: The index of the link object required.

◆ node()

const_node_iterator TSLOptimizedNetwork::Query::node ( int N) const

Returns the Nth TSLOptNode object, wrapped in a const_node_iterator.

Argument description:

N: The index of the node object required.

◆ sizeLinks()

int TSLOptimizedNetwork::Query::sizeLinks ( ) const

Returns the number of TSLOptLink objects that satisfied the query.

◆ sizeNodes()

int TSLOptimizedNetwork::Query::sizeNodes ( ) const

Returns the number of TSLOptNode objects that satisfied the query.