Aargh

The BoolOpt Element

BoolOpt element

The BoolOpt element defines a boolean option, i.e. an option that takes no argument. It does not enclose any other elements. For example:
<BoolOpt letter="c" name="sample_bool"/>
For C, the option name will be used as the name of the corresponding member, of type int, to be used as a boolean. For C++ the generated code will provide two members:

Home