Next: Invoking columns, Previous: Automated Event Management, Up: Add-on packages for AutoGen [Contents][Index]
AutoGen provides two templates for managing enumerations and bit maps
(flag words). They produce an enumeration of the enum or #define
s
for the bit maps, plus conversion functions for converting a string into
one of these values or converting one of these values into a human readable
string. Finally, for enumerations, you may specify one or more sets of
dispatching functions that will be selected by identifying a keyword
prefix of a string (see the dispatch attribute in
Strings to Enums and Back).
There is a separate project that produces a GDB add-on that will add these capabilities into GDB for bit masks. (GDB does just fine with enumerations.)