Aargh

The Function Element

The Function element must carry a name element with a non-empty value. For example:
<Function name="get_sample_opts"/>
The value of the name attribute will be used as the name of the function that parses the command line and loads the Opts. Aargh does not try to verify that this value is a valid function name.

For C, if the Function element is not present, the function name defaults to "get_Opts", or "get_X" where "X" is the struct name specified by the Structure element. For C++, where this function is a member function, the name defaults simply to "get".


Home