Aargh

The Structure Element

The Structure element, if present, must carry a name attribute with a non-empty value. For example:
<Structure name="Sample"/>
The generated code will use the value of the name attribute as a name for the C struct or C++ class that represents the command line options.

Aargh does not try to verify that the name is a valid struct or class name according to the syntax of C or C++. For example, if the value is a reserved word, aargh will not complain, but the generated code will not compile.

If the Structure element is not present, the struct or class name defaults to "Opts".


Home