doxygenenumvalue Directive Example#

Working Example#

This should work:

.. doxygenenumvalue:: TIXML_NO_ERROR
   :project: tinyxml

It produces this output:

enumerator TIXML_NO_ERROR#

Example with Namespace#

This should work:

.. doxygenenumvalue:: foo::ns::A
   :project: namespace

It produces this output:

enumerator A#

A documented enumeration constant.

Failing Example#

This intentionally fails:

.. doxygenenumvalue:: made_up_enumvalue
   :project: restypedef

It produces the following warning message:

Warning

doxygenenumvalue: Cannot find enumvalue “made_up_enumvalue” in doxygen xml output