add a couple of dox comments
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 24 Apr 2008 14:58:17 -0700
changeset 3036 8e29fb88ad26
parent 3035 644bfc099992
child 3037 b0f12f3a75b3
add a couple of dox comments
src/common/packet.h
--- a/src/common/packet.h	Thu Apr 24 14:52:59 2008 -0700
+++ b/src/common/packet.h	Thu Apr 24 14:58:17 2008 -0700
@@ -37,6 +37,8 @@
 
 /**
  * \brief Iterator over the set of tags in a packet
+ *
+ * This is a java-style iterator.
  */
 class TagIterator
 {
@@ -81,7 +83,13 @@
     uint32_t m_end;
     MtagBuffer m_buffer;
   };
+  /**
+   * \returns true if calling Next is safe, false otherwise.
+   */
   bool HasNext (void) const;
+  /**
+   * \returns the next item found and prepare for the next one.
+   */
   Item Next (void);
 private:
   friend class Packet;