Callback/CallbackSearchReturn.h File Reference

Copyright (c) 2012 Mark Mitchell. More...

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...

Detailed Description

Copyright (c) 2012 Mark Mitchell.

All rights reserved. Distribution requires prior written permission.

Definition in file CallbackSearchReturn.h.


Enumeration Type Documentation

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 24 of file CallbackSearchReturn.h.

 All Classes Files Functions Variables Enumerations Enumerator Friends

Generated on 31 May 2016 for Engauge Digitizer by  doxygen 1.6.1