|
cgv
|
simple action implementation that adds nodes implementing X to a results vector More...
#include <find_action.h>
Public Member Functions | |
| void | select (base_ptr p) |
| make the passed object current | |
| bool | begin () |
| perform the enter part of the action on the current object | |
| bool | implements_action () const |
| check if the current object implements the interface needed for this action | |
| void | set_default_results (bool _default_result) |
| sets the value that is returned, whenever no result is obtained from the traversed methods | |
| void | set_default_result_begin (bool _default_result_begin) |
| sets the value that is returned for on_begin events | |
| void | set_default_result_end (bool _default_result_end) |
| sets the value that is returned for on_end events | |
| virtual traverse_policy * | get_policy () const |
| return the traverse_policy of the current object if available or 0 otherwise | |
| virtual bool | end () |
| perform the leave part of the action on the current object | |
| virtual bool | has_begin_only () const |
| check whether the action has registered a single begin method or both begin and end methods | |
simple action implementation that adds nodes implementing X to a results vector