Orb/Doxygen/examples/define.h
changeset 0 42188c7ea2d9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Orb/Doxygen/examples/define.h	Thu Jan 21 17:29:01 2010 +0000
@@ -0,0 +1,18 @@
+/*! \file define.h
+    \brief testing defines
+    
+    This is to test the documentation of defines.
+*/
+
+/*!
+  \def MAX(x,y)
+  Computes the maximum of \a x and \a y.
+*/
+
+/*! 
+   Computes the absolute value of its argument \a x.
+*/
+#define ABS(x) (((x)>0)?(x):-(x))
+#define MAX(x,y) ((x)>(y)?(x):(y))
+#define MIN(x,y) ((x)>(y)?(y):(x)) 
+        /*!< Computes the minimum of \a x and \a y. */