# HG changeset patch # User Mathieu Lacage # Date 1159203323 -7200 # Node ID 6aabc116c7c707a0f0ade15fbc2c5a8f846fa978 # Parent 6318b8cbf21292c5a5fe7d95ee40a89d233e2b31 add Constants section to doxygen documentation diff -r 6318b8cbf212 -r 6aabc116c7c7 doc/main.txt --- a/doc/main.txt Fri Sep 15 13:05:03 2006 +0200 +++ b/doc/main.txt Mon Sep 25 18:55:23 2006 +0200 @@ -33,3 +33,7 @@ * \brief Every class exported by the ns3 library is enclosed in the * ns3 namespace. */ +/** + * \defgroup constants + * \brief Constants you can change + */ \ No newline at end of file diff -r 6318b8cbf212 -r 6aabc116c7c7 src/common/tags.h --- a/src/common/tags.h Fri Sep 15 13:05:03 2006 +0200 +++ b/src/common/tags.h Mon Sep 25 18:55:23 2006 +0200 @@ -30,6 +30,14 @@ template class TagPrettyPrinter; +/** + * \ingroup constants + * \brief Tag maximum size + * The maximum size (in bytes) of a Tag is stored + * in this constant. + */ +#define TAGS_MAX_SIZE 16 + class Tags { public: inline Tags (); @@ -51,7 +59,7 @@ inline void removeAll (void); enum { - SIZE = 16 + SIZE = TAGS_MAX_SIZE }; private: struct TagData {