enum.h: add DECLARE_ENUM_STR to provide granularity. improve documentation.