[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [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 section 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.)
8.4.1 Enumerations | ||
8.4.2 Strings to Enums and Back | ||
8.4.3 Bit Maps and Masks |
This document was generated by Bruce Korb on August 21, 2015 using texi2html 1.82.