Engauge Digitizer 2
Loading...
Searching...
No Matches
Enumerations
CallbackSearchReturn.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  CallbackSearchReturn { CALLBACK_SEARCH_RETURN_CONTINUE , CALLBACK_SEARCH_RETURN_INTERRUPT , CALLBACK_SEARCH_RETURN_NO_RECURSE }
 Return values for search callback methods. More...
 

Enumeration Type Documentation

◆ CallbackSearchReturn

Return values for search callback methods.

This lets each task-specific callback method control the generic search algorithm.

Interrupting a search is useful when searching for the first node that meets some criteria that the callback method applies.

Not recursing into a node's children is useful when trying to collect a list of subtrees, and the root node for each. This is useful for TransformRecognizerManualBaseExponentExponent.

Enumerator
CALLBACK_SEARCH_RETURN_CONTINUE 

Continue normal execution of the search.

CALLBACK_SEARCH_RETURN_INTERRUPT 

Immediately terminate the current search.

CALLBACK_SEARCH_RETURN_NO_RECURSE 

Do not recurse into the current node's children, but continue current search.

Definition at line 18 of file CallbackSearchReturn.h.

18 {
22};
@ CALLBACK_SEARCH_RETURN_CONTINUE
Continue normal execution of the search.
@ CALLBACK_SEARCH_RETURN_NO_RECURSE
Do not recurse into the current node's children, but continue current search.
@ CALLBACK_SEARCH_RETURN_INTERRUPT
Immediately terminate the current search.