set_parse_hooks


Description:

public void set_parse_hooks (OptionParseFunc? pre_parse_func, OptionParseFunc? post_parse_hook)

Associates two functions with this which will be called from parse before the first option is parsed and after the last option has been parsed, respectively.

Note that the user data to be passed to pre_parse_func and post_parse_func can be specified when constructing the group with OptionGroup.

Parameters:

this

a OptionGroup

pre_parse_func

a function to call before parsing, or null

post_parse_func

a function to call after parsing, or null